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_stage
in the filedocker-compose.override.yml
topart_1
.Add and set a new Docker Compose parameter
TF_VAR_hubcentral_allowed_cidr
in the filedocker-compose.override.yml
.note
The parameter
TF_VAR_hubcentral_allowed_cidr
replaces theTF_VAR_nexus_allowed_cidr
andTF_VAR_jenkins_allowed_cidr
parameters as one unified value.Build and run the Docker image to update the CloudOps for Kubernetes cluster.
With
part_1
of 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_stage
topart_2
and run the Docker image.With
part_2
of 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_stage
topart_3
and run the Docker image.With
part_3
of 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-container
Jenkins 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-stack
Jenkins 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
includeDeploymentInfoPage
set to true.Rebuild the
create-or-delete-activemq-container
Jenkins 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-stack
Jenkins job. Set theallowedCIDRs
job parameter.note
The new job parameter
allowedCIDRs
replaces thecmAllowedCIDR
,integrationAllowedCIDR
,cortexAllowedCIDR
,studioAllowedCIDR
, andinfoPageAllowedCIDR
parameters as one unified value.
The new job parameters
infoPageSubDomain
,cortexSubDomain
,cmSubDomain
, andintegrationSubDomain
replace thednsSubDomain
parameter as separate values.If the Self Managed Commerce stack was originally deployed by the
deploy-or-delete-ep-stack
Jenkins job, it is not possible to update the stack. Instead, delete the existing stack and deploy a new one with thedeploy-or-delete-commerce-stack
job with the desired parameters.