Skip to main content
Skip table of contents

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).

NONE
$ mkdir dct-x.0.0

Update the added repos with the following, which will update the local HELM charts metadata (index.yaml):

CODE
$ 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.

CODE
$ 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):

NONE
$ tar -xvf delphix-dct-x.0.0.tgz

Which will extract into the following directory structure:

NONE
delphix-dct
	|- values.yaml
	|- README.md
	|- Chart.yaml
	|- templates
		|-<all templates files>

Create a new values.yaml inside to the dct-x.0.0 folder (e.g. parallel to delphix-dct folder), use sample values.yaml given below. Copy the configured properties from previous version to this newly created values.yaml.

values.yaml

The values.yaml file contains only modified values from the 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:

NONE
$docker login --username [USERNAME] --password [PASSWORD] dct.download.delphix.com/delphix-dct
  • Pull Docker images of DCT Services:

NONE
$ 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:

NONE
$ 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:

NONE
$ docker push <local registry url>:nginx-x.0.0
  • Run the HELM upgrade command:

NONE
helm upgrade -f values.yaml dct-services delphix-dct

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.