Question
How can I tell whether my app was installed with Helm v2 or Helm v3?
Pre-requisites
- kubectl access to the cluster the app is deployed in
Answer
The easiest way is to check what version of Helm was used to deploy resources is to look at the heritage
label.
For example, to check whether Rancher was installed via Helm v2 or v3, run:
kubectl get deployment -n cattle-system rancher -o yaml | grep heritage
The heritage version defines what version of helm was used to install this chart.
heritage: Tiller
- This is a Helm v2 resource
heritage: Helm
- This is a Helm v3 resource
Comments
Please sign in to leave a comment.