From 9e1ebab188ed9a63070d2026f708c27bffa7ee8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Fri, 10 May 2024 18:10:23 +0000 Subject: [PATCH] Update Helm --- Helm.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Helm.md b/Helm.md index 4a41114..ab42f4e 100644 --- a/Helm.md +++ b/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. ---- - ## 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. @@ -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: - ```bash + ``` helm repo add ``` @@ -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: - ```bash + ``` 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: - ```bash + ``` helm show values ``` @@ -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: - ```bash + ``` helm show values > 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: - ```bash + ``` helm install -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: - ```bash + ``` helm list ```