Update Helm

Tomislav Kopić 2024-05-10 18:10:23 +00:00
parent 3382f85a48
commit 9e1ebab188

14
Helm.md

@ -2,8 +2,6 @@
Helm is a package manager for Kubernetes that helps you manage Kubernetes applications. It allows you to define, install, and upgrade complex Kubernetes applications easily. This guide covers some basic usage of Helm, including adding a repository from Artifact Hub, exporting values to a file, editing values, and deploying a chart to Kubernetes. Helm is a package manager for Kubernetes that helps you manage Kubernetes applications. It allows you to define, install, and upgrade complex Kubernetes applications easily. This guide covers some basic usage of Helm, including adding a repository from Artifact Hub, exporting values to a file, editing values, and deploying a chart to Kubernetes.
---
## Adding a Repository from Artifact Hub ## Adding a Repository from Artifact Hub
1. **Search for a Chart**: Visit [Artifact Hub](https://artifacthub.io/) and search for the chart you want to add to your Helm repository. 1. **Search for a Chart**: Visit [Artifact Hub](https://artifacthub.io/) and search for the chart you want to add to your Helm repository.
@ -12,7 +10,7 @@ Helm is a package manager for Kubernetes that helps you manage Kubernetes applic
3. **Add Repository to Helm**: Use the following command to add the repository to Helm: 3. **Add Repository to Helm**: Use the following command to add the repository to Helm:
```bash ```
helm repo add <repo-name> <repo-url> helm repo add <repo-name> <repo-url>
``` ```
@ -20,7 +18,7 @@ Helm is a package manager for Kubernetes that helps you manage Kubernetes applic
4. **Update Repositories**: After adding the repository, it's a good practice to update your local repository cache with the following command: 4. **Update Repositories**: After adding the repository, it's a good practice to update your local repository cache with the following command:
```bash ```
helm repo update helm repo update
``` ```
@ -32,7 +30,7 @@ When deploying a Helm chart, you may want to customize values. You can export th
1. **Inspect Chart Values**: Use the following command to inspect the default values of a chart: 1. **Inspect Chart Values**: Use the following command to inspect the default values of a chart:
```bash ```
helm show values <chart-name> helm show values <chart-name>
``` ```
@ -40,7 +38,7 @@ When deploying a Helm chart, you may want to customize values. You can export th
2. **Export Values**: Once you identify the values you want to customize, export them to a file using the following command: 2. **Export Values**: Once you identify the values you want to customize, export them to a file using the following command:
```bash ```
helm show values <chart-name> > values.yaml helm show values <chart-name> > values.yaml
``` ```
@ -66,7 +64,7 @@ Once you've added a repository, exported and edited values, you're ready to depl
1. **Install Chart**: Use the following command to install the chart to your Kubernetes cluster: 1. **Install Chart**: Use the following command to install the chart to your Kubernetes cluster:
```bash ```
helm install <release-name> <chart-name> -f values.yaml helm install <release-name> <chart-name> -f values.yaml
``` ```
@ -74,7 +72,7 @@ Once you've added a repository, exported and edited values, you're ready to depl
2. **Verify Deployment**: After installation, verify that the chart has been deployed successfully by running: 2. **Verify Deployment**: After installation, verify that the chart has been deployed successfully by running:
```bash ```
helm list helm list
``` ```