How can I tell whether my app is installed with Helm v2 or Helm v3?
This document (000020080) is provided subject to the disclaimer at the end of this document.
Environment
Rancher 2.7.x and 2.8.x
Situation
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
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020080
- Creation Date: 06-May-2021
- Modified Date:22-Jul-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com