Helm, the Enchanted Scepter: A novice's Guide to level 5 Kubernetes spells
Tags: helm, kubernetes, k8s, container
Published: 2023-04-04 03:30:36

---
title: Helm, the Enchanted Scepter: A novice's Guide to level 5 Kubernetes spells
published: true
description: Embark on a Helm adventure: learn to harness its power as you navigate the labyrinth of deploying and managing applications on Kubernetes.
tags: helm, kubernetes, k8s, container
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t8fosjedo1pakjqb5614.png
# Use a ratio of 100:42 for best results.
# published_at: 2023-04-04 03:13 +0000
---

In the mystical land of container orchestration, Kubernetes reigns supreme. But as powerful as Kubernetes may be, it can sometimes feel like navigating a labyrinth of YAML files and manifests. Fear not, brave adventurer, for there exists a magical tool to tame the complexity of Kubernetes: Helm, the package manager of Kubernetes. 

Just as a trusty map guides weary traveler's through treacherous dungeons, Helm charts guide developers through the intricate process of deploying and managing applications on Kubernetes. In this quest, we shall embark on a journey to master Helm and harness its power to bring order to the chaos.

### Step 1: Acquiring the Helm

First, we must acquire Helm and install it on our local machine. Follow the instructions for your platform from the [Official Helm Documentation](https://helm.sh/docs/intro/install/)

### Step 2: Initializing the Helm

Once Helm is installed, we can summon its powers by invoking the command:

```
helm version
```

This incantation will reveal the Helm version, proving that the summoning was successful.

### Step 3: Conjuring the Repository of Charts

With Helm at our disposal, we must now seek knowledge in the form of Helm charts. These arcane artifacts provide templates for deploying and managing applications on Kubernetes. We shall add the official repository of charts known as "Bitnami" to our Helm:

```
helm repo add bitnami https://charts.bitnami.com/bitnami
```
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zrqinx12gyj3jhhzf2gn.png)

To ensure the repository has been successfully added, recite the following command:

```
helm repo list
```

### Step 4: Unveiling the Charts

The Bitnami repository contains a vast trove of Helm charts. To uncover them, we shall issue the following command:

```
helm search repo bitnami
```

This will reveal the charts available in the Bitnami repository, ready for your perusal.

### Step 5: Summoning the Application

To demonstrate the power of Helm, we shall now summon an application. Let us choose the mighty "nginx" chart and install it on our Kubernetes cluster:

```
helm install my-nginx bitnami/nginx
```

This enchantment will create a new release called "my-nginx" using the "bitnami/nginx" chart. Once the spell is complete, Helm will provide instructions on how to access your newly summoned application.

### Step 6: Manipulating the Application

As your mastery over Helm grows, you may wish to manipulate the summoned application. To do so, first inspect the chart's values:

```
helm show values bitnami/nginx
```

This will reveal the editable parameters within the chart. To alter these values, create a new file called "values.yaml" and apply your desired changes. Then, update the release using the following incantation:

```
helm upgrade my-nginx bitnami/nginx -f values.yaml
```

### Step 7: Banishing the Application

Should you wish to banish your application from the cluster, simply utter the following command:

```
helm uninstall my-nginx
```

And just like that, your application will vanish into the void.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dzqpw3gph3o0au1c4gjc.png)

## Congratulations, adventurer! 

You have now traversed the basics of Helm and tamed its formidable powers. With Helm by your side, you shall fearlessly journey through the realm of Kubernetes, conquering complexity and vanquishing disorder. May your path be ever guided by the wisdom of Helm charts!