Steps to install a helm chart on my k8s cluster

Helm charts
Written by DEL support01
Updated 8 months ago

Install Helm: First, ensure that Helm is installed on your local machine. You can download Helm from the official website.

Add a Helm Repository (Optional): If the chart you want to install is hosted in a Helm repository, add the repository to Helm:

helm repo add <repo_name> <repo_url>

For example, to add the Bitnami repository:

helm repo add bitnami https://charts.bitnami.com/bitnami

Update Helm Repositories: Update the Helm repository to ensure you have the latest version of the charts:

helm repo update

Search for the Helm Chart (Optional): If you're not sure about the name of the chart or its version, you can search for it:

helm search repo <chart_name>

Install the Helm Chart: Use the "helm install" command to install the chart on your Kubernetes cluster. You need to provide a release name and the chart name:

helm install <release_name> <chart_name>

For example, to install the Bitnami MySQL chart:

helm install my-mysql bitnami/mysql

Optionally, you can specify a specific version of the chart:

helm install <release_name> <chart_name> --version <chart_version>

Verify the Installation: After installation, you can check the status of your release:

helm list

To check the resources created by the Helm chart, you can use kubectl commands. For example:

kubectl get all

Customize the Installation (Optional): You can customize the installation by providing a custom values file or setting values directly via the command line:

 Using a custom values file:helm install <release_name> <chart_name> -f custom-values.yaml

Setting values directly:

helm install <release_name> <chart_name> --set key=value

That's it! You've successfully installed a Helm chart on your Kubernetes cluster.

Did this answer your question?