Skip to main content
Skip table of contents

Deployment upgrade for OpenShift

This article covers the upgrade process for DCT deployments on Kubernetes.

Create a new folder called dct-[version], where [version] is the latest version to which the platform is being upgraded (i.e. if on 5.0.2, it would be 6.0.0).

NONE
$mkdir dct-[version]

Download the new version of chart using the following command in tandem with the newly created folder.

NONE
$cd dct-[version]
$curl -XGET https://dlpx-helm-dct.s3.amazonaws.com/delphix-dct-[version].tgz -o delphix-dct-[version].tgz

This command will download a file named delphix-dct-[version].tgz in the folder dct-[version].

The downloaded file is then extracted using the following command:

NONE
$tar -xvf delphix-dct-[version].tgz

Which will extract into the following directory structure:

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

Copy the values.yaml file from the previous version parallel to the dct-[version] folder.

This values.yaml file contains modified values from the existing previous version of deployment.

Since the Docker Registry (AWS ECR) expires after 12 hours, the Docker Registry should be modified in the values.yaml (from the previous existing version) with the latest password. It can be obtained from https://download.delphix.com. Here are some notes in regards to this step in the process:

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

  • 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 password. 

  • Steps to pull Docker images from the Docker Registry:

Docker login command (password from https://download.delphix.com):

NONE
$docker login --username AWS --password [PASSWORD] 762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct

Pull Docker images of DCT Services:

NONE
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:nginx-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:app-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:data-bookmarks-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:delphix-data-library-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:graphql-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:ui-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:jobs-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:postgres-[VERSION]
$ docker pull 
762392488304.dkr.ecr.us-west-2.amazonaws.com/delphix-dct:virtualization-[VERSION]

The last step is to 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.