Update CloudOps for Kubernetes from version 2.2.x
For CloudOps for Kubernetes version 2.2 and earlier, you must update to version 2.3 before you can update to version 2.4.
The update to version 2.3 must be done in three parts. You run docker-compose up three times once for each part.
For general instructions on updating the cluster with the file docker-compose.override.yml follow the steps in Upgrading CloudOps for Kubernetes.
Add and set a new Docker Compose parameter
TF_VAR_api_gateway_update_stagein the filedocker-compose.override.ymltopart_1.Add and set a new Docker Compose parameter
TF_VAR_hubcentral_allowed_cidrin the filedocker-compose.override.yml.note
The parameter
TF_VAR_hubcentral_allowed_cidrreplaces theTF_VAR_nexus_allowed_cidrandTF_VAR_jenkins_allowed_cidrparameters as one unified value.Build and run the Docker image to update the CloudOps for Kubernetes cluster.
With
part_1of the update process, CloudOps for Kubernetes will set up an Application Load Balancer to the Ambassador service with the subdomaincentral<clusterName>. This step also issues TLS certificates for the DNS names used in CloudOps for Kubernetes.Set the Docker Compose parameter
TF_VAR_api_gateway_update_stagetopart_2and run the Docker image.With
part_2of the update process, CloudOps for Kubernetes switches domain names in order to use Ambassador instead of HaProxy. Cilium and Hubble are installed if the Cloud providor is AWS.tip
Before continuing to
part_3, we recommend that you wait a few days to ensure that the services are being routed correctly through Ambassador.Set the Docker Compose parameter
TF_VAR_api_gateway_update_stagetopart_3and run the Docker image.With
part_3of the update process, CloudOps for Kubernetes removes HaProxy from the cluster and cleans up the unused DNS entryhubgw.
Updating the Account Management Stack
To update the Account Management stack after you update the cluster:
Rebuild the
create-or-delete-activemq-containerJenkins job that the Account Management stack was deployed with. There are not any parameter changes to make when rebuilding the job.Rebuild the
create-or-delete-account-management-stackJenkins job. There are not any parameter changes to make when rebuilding the job.
Updating the Self Managed Commerce Stack
To update the Self Managed Commerce stack after you update the cluster:
Rebuild the info-page if the Self Managed Commerce stack was deployed with the job parameter
includeDeploymentInfoPageset to true.Rebuild the
create-or-delete-activemq-containerJenkins job that the Self Managed Commerce stack was deployed with. There are no parameter changes to make when rebuilding the job.Rebuild the
deploy-or-delete-commerce-stackJenkins job. Set theallowedCIDRsjob parameter.note
The new job parameter
allowedCIDRsreplaces thecmAllowedCIDR,integrationAllowedCIDR,cortexAllowedCIDR,studioAllowedCIDR, andinfoPageAllowedCIDRparameters as one unified value.
The new job parameters
infoPageSubDomain,cortexSubDomain,cmSubDomain, andintegrationSubDomainreplace thednsSubDomainparameter as separate values.If the Self Managed Commerce stack was originally deployed by the
deploy-or-delete-ep-stackJenkins job, it is not possible to update the stack. Instead, delete the existing stack and deploy a new one with thedeploy-or-delete-commerce-stackjob with the desired parameters.