Saturday 9 December 2023

Setting Up Helm in WSL

 Kubernetes applications can be deployed easily with helm. Meny useful tools such as KEDA (Kubernetes Event Driven Autoscaler) deployments can be done with helm, using few simple steps. In this post let's look at how to setup helm in WSL so that we can use it to setup applications using helm charts.

As the first step of setting up helm in WSL we have to run the below command.

curl | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null

Next run command below.

sudo apt-get install apt-transport-https --yes

Run below command as the nxt step.

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list

Next update packages with below.

sudo apt-get update

We can now setup helm using below command.

sudo apt-get install helm

We can verify helm setup correctly by running helm version or helm help.

Now that we have helm ready with WSL we can go ahead and setup tools such as KEDA easily which we wll discuss in a next post.

No comments:

Popular Posts