Use this procedure if you currently run Hyperscale Compliance on Docker Compose and want to deploy on Kubernetes. It covers data migration, configuring property migration, and, if applicable, certificate migration.
Prerequisites
-
A running Kubernetes cluster with access to create resources.
-
Network connectivity between source and destination.
-
Administrative access to both environments.
-
Migrate data
To migrate data from source Hyperscale (Docker Compose) to destination Hyperscale (Kubernetes):
-
Start destination Hyperscale by following the applicable instructions in Kubernetes
-
Keep the source Hyperscale running (Docker Compose deployment) throughout the migration.
-
Download the migration script from Delphix download.
-
Follow the steps in the script’s README to migrate data from the source to the destination.
-
-
SSL certificate migration (if applicable)
Perform this step only if your source Hyperscale (Docker Compose) deployment uses custom SSL certificates for the proxy.
-
Create a local backup folder and copy the proxy SSL directory.
-
mkdir container_data
cd container_data/
mkdir proxy
#from container_data directory run following
docker cp <proxy-container-name>:/etc/config/nginx/ssl ./container_data/proxy
chmod 770 -R .-
Open the
container_data/proxy/ssl folder and convertnginx.crt, nginx.key, anddhparam.pemfiles into Base64.
cat nginx.crt | base64 | awk '{print}' ORS='' | awk '{print}'
-
Open
values.yamland replace the certificate, private key, and DH parameter fields with the Base64 string you generated fornginx.crt, nginx.key, anddhparam.pem.
-
Configure property migration
Manually move any custom settings indocker-compose.yamltovalues.yaml or values-<connectorType>.yaml. Refer to Modify existing configuration for any service if you do not find a property invalues.yamlorvalues-<connectorType>.yamlbut have custom values defined in docker-compose.