Deployment upgrade for OpenShift
This page covers the upgrade process for DCT deployments on Kubernetes.
Create a new folder called dct-x.0.0 where x.0.0
should be changed to the version of DCT being installed (e.g. if on 5.0.2, it would be 6.0.0).
$ mkdir dct-x.0.0
Update the added repos with the following, which will update the local HELM charts metadata (index.yaml):
$ helm repo update
Pull the HELM charts:
This command will download a file named delphix-dct-x.0.0.tgz in the folder dct-x.0.0.
$ cd dct-x.0.0
$ helm pull dct-services/delphix-dct --version x.0.0
The downloaded file is then extracted using the following command (where x.0.0
should be changed to the version of DCT being installed):
$ tar -xvf delphix-dct-x.0.0.tgz
Which will extract into the following directory structure:
delphix-dct
|- values.yaml
|- README.md
|- Chart.yaml
|- templates
|-<all templates files>
Copy the values.yaml file from the previous version inside to the dct-x.0.0 folder (e.g. parallel to the delphix-dct folder).
The values.yaml file contains modified values from the existing previous version of deployment.
Update the username and password in values.yaml. It can be obtained from https://download.delphix.com. Here are some notes in regards to this step in the process:
This username and password update in values.yaml is only required if the user using Delphix provided a Docker Registry directly in the deployment (i.e. values.yaml).
Username and password update in values.yaml is required only if username AWS and temporary password(12 hours expiry) is used.
In case a user is using their internal Docker Registry, they should first pull the next version of the Docker images from the Delphix provided registry, using a new username and password. Re-tag the docker images as per the internal registry name and push it into the internal registry. Use these steps to pull and re-tag Docker images:
Docker login command (
USERNAME
andPASSWORD
from https://download.delphix.com):
$docker login --username [USERNAME] --password [PASSWORD] dct.download.delphix.com/delphix-dct
Pull Docker images of DCT Services:
$ docker pull dct.download.delphix.com/delphix-dct:nginx-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:app-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:data-bookmarks-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:delphix-data-library-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:graphql-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:ui-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:jobs-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:postgres-x.0.0
$ docker pull dct.download.delphix.com/delphix-dct:virtualization-x.0.0
Re-tag all above Docker images. Sample re-tag example for one image:
$ docker tag dct.download.delphix.com/delphix-dct:nginx-x.0.0 <local registry url>:nginx-x.0.0
Push the re-tagged images into internal registry. Sample re-tag example for one image:
$ docker push <local registry url>:nginx-x.0.0
Run the HELM upgrade command:
helm upgrade -f values.yaml dct-services delphix-dct