How to Install Helm


Helm is a package manager for Kubernetes. It simplifies the deployment and management of applications on Kubernetes by allowing users to define, install, and upgrade complex Kubernetes applications.

Helm will be an important tool for us Mulesoft Architects, as it will be the command line tool to install Runtime Fabric in the multiple Kubernetes distributions supported by RTF.

So, before installing RTF, we need to have Helm installed as well. Follow the below instructions (for Ubuntu/Debian).
  • First, add the gpg key of Helm to our repositories
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
  • Add the necessary dependencies:
sudo apt-get update
sudo apt-get install apt-transport-https
  • Update the repositories and install Helm
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
    sudo apt-get update
    sudo apt-get install helm

  • Verify installation
  • helm version
  • Connect to your K8s cluster. Helm will use the info in our kubeconfig to connect to our cluster(s), so make sure it is accessible. If necessary, as it happens with K3s installations, set up the KUBECONFIG variable so that Helm can connect to the cluster. For example, for K3s:
  • export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
  • Happy Helming!

Previous Post Next Post