Uninstalling Connectware agents with the connectware-agent Helm chart
Prerequisites
Helm V3 installed (Helm | Installing Helm).
kubectl
installed (Install Tools).kubectl
configured with the current context pointing to your target cluster (Configure Access to Multiple Clusters).
Uninstalling All Agents from One Installation
If you want to remove all agents that were installed using the connectware-agent
Helm chart, you can use helm uninstall
command with the name of your installation (called a „release“). You chose this name yourself when installing with the connectware-agent Helm chart. If you follow our docs it is named connectware-agent
, but you can look it up by using the helm list
command targeting the namespace in which you installed your agents.
Example
Once you determined the name of your installation, you can uninstall it.
Example
This terminates running pods and removes their Kubernetes objects, however PersistentVolumeClaims
, and with them the Persistent Volumes are retained. If you wish to clean them up, you can do so by using the label app.kubernetes.io/instance
in combination with kubectl delete
. The value for this label is again the release name you already used to uninstall.
Example
Uninstalling Single Agents from a Larger Installation
If you want to remove one or more agents from a larger group of agents installed using the connectware-agent
Helm chart, you can simply remove their whole configuration from your values.yaml file and running a Helm upgrade as described in Configuring agents with the connectware-agent Helm chart.
Example
Last updated
Was this helpful?