Updating Cluster Configuration
The base infrastructure and cluster configuration is managed by the docker-compose tooling provided by CloudOps for Kubernetes. You can modify many aspects of the configuration by updating your docker-commpose.override.yml file then re-running the docker-compose up command.
Procedure
note
Perform the following steps on the operations workstation, ideally using the workstation that you used for the initial setup. For more information, see the Operations Workstation documentation.
The procedure to update the base infrastructure and cluster configuration is:
Obtain the
docker-compose.override.ymlfile that you saved when you initially setup the cluster.Set the Docker Compose parameter
TF_VAR_bootstrap_modein thedocker-compose.override.ymlfile tosetup.Read through the
docker-compose.override.ymlfile and update your configuration as you require.Run the Docker Compose command
buildto build the Docker image and update the CloudOps for Kubernetes cluster:
Save Important Files
Save the docker-compose.override.yml file and any dependencies, such as TLS keys, in a safe place.
important
You will need the docker-compose.override.yml file and any dependencies again to perform the following:
- Update the cluster
- Show the current state of the cluster
- Create local Terraform configuration
- Clean up the cluster
warning
Do not commit these files into Git. The docker-compose.override.yml file contains secrets and should be stored somewhere securely.