Update Cyberwatch application on Kubernetes
This page describe how to update the Cyberwatch application on a Kubernetes Node.
Technical prerequisites
Have an environment with Helm (version > 3.8.0) and Kubectl installed, configured to access the Kubernetes cluster
The Helm configuration file
values.yml
used during the installation of Cyberwatch on the Kubernetes node
Update the Cyberwatch application
Be careful! The following command remove all deployments on the cyberwatch
namespace. Please ensure that you do not have any personal deployments. The list of deployments on the node is available with the command kubectl -n cyberwatch get deployments.apps
. The list of different expected cyberwatch services is available at: Description of each service
Run the command to remove all deployments:
for deployment in $(kubectl -n cyberwatch get deployments.apps -o jsonpath='{.items[*].metadata.name}'); do kubectl -n cyberwatch delete deployments.apps $deployment; done
Ensure that all pods are stopped:
kubectl -n cyberwatch get pods
Update the Helm chart, which will download the new Cyberwatch application images:
helm -n cyberwatch upgrade oci://harbor.cyberwatch.fr/cbw-on-premise/cyberwatch-chart -f values.yml