Update from version 2.5.0
important
For general instructions on updating the cluster with the file docker-compose.override.yml, follow the steps in the Upgrading CloudOps for Kubernetes documentation.
Updating the CloudOps for Kubernetes cluster on AWS
To update the CloudOps for Kubernetes cluster from release 2.5.x on AWS, use the following steps. The update to version 2.6.x must be done by modifying the docker-compose.override.yml file.
In the
docker-compose.override.ymlfile, add a new Docker Compose parameter calledTF_VAR_updating_from_pre26.Set the parameter to
true.Build and run the Docker image to update the CloudOps for Kubernetes cluster.
During the process of updating the cluster from release
2.5.x, CloudOps for Kubernetes removes the previous Container Network Interface (CNI) chaining configuration of Cilium. It installs Cilium with Elastic Network Interfaces (ENI) allocation configuration enabled on AWS. After the update of the Cilium deployment is complete, the AWS node groups rebuild. The AWS nodeDaemonSetis marked to be permanently unavailable to force the pods to use Cilium after the rebuild. After the node groups rebuild, the rest of the cluster updates.tip
To create a brand new cluster, open the
docker-compose.override.ymlfile and set theTF_VAR_updating_from_pre26parameter tofalse. The setting ignores the unique update process and installs Cilium with Elastic Network Interfaces (ENI) allocation enabled on AWS. After the creation of the cluster is complete, the AWS node groups rebuild. The AWS nodeDaemonSetis unavailable.
Updating the Account Management Stack
After you update the cluster, use the following steps to update the Account Management stack.
Build the
create-or-delete-account-management-activemq-containerJenkins job with theTF_VAR_kubernetes_nicknameparameter set to the namespace of the previously-deployed Account Management stack.Build the
create-or-delete-account-management-mysql-containerJenkins job with theTF_VAR_kubernetes_nicknameparameter set to the namespace of the previously-deployed Account Management stack.Rebuild the
create-or-delete-account-management-stackJenkins job with theTF_VAR_kubernetes_nicknameparameter set to the namespace of the previously-deployed Account Management stack.
Updating the Self Managed Commerce Stack
Use the following steps to update the Self Managed Commerce stack after you add the Ambassador ingress controller to your cluster.
Build the
deploy-or-delete-commerce-stackJenkins job with the same parameters that you used when you previously ran thedeploy-or-delete-commerce-stackJenkins job.Optionally, set the following parameters:
restartApps- If you want to force a restart of the Commerce deployments during the update, setrestartAppstotrue.TF_VAR_enable_firewall_rules- If you previously ran thedeploy-or-delete-commerce-stackJenkins job with theenable_firewall_rulesparameter set totrue, setTF_VAR_enable_firewall_rulestotrue.