How to Install Helm

Install Helm for managing Kubernetes package deployments on Ubuntu

Helm is the package manager for Kubernetes that simplifies deploying and managing applications on a Kubernetes cluster. It streamlines the process with pre-configured packages (charts) and simplifies updates, rollbacks, and collaboration in a Kubernetes environment.

How to install Helm

  1. Install Helm

    Install Helm using apt.

  2. Check installation

    Check that Helm has been installed and can access the Kubernetes cluster.

  3. Configure Helm for K3s

    If using K3s, set the configuration for Helm

Install Helm

To install follow the official installation instructions or run the following apt commands for installation on Debian/Ubuntu.

curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
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

Check Helm installation

Check that the Helm has been installed and can search packages.

$ helm search hub nfs
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml
URL                                                     CHART VERSION   APP VERSION     DESCRIPTION                                       
https://artifacthub.io/packages/helm/awesome/na...      1.0.1           4.0.2           nfs-subdir-external-provisioner is an automatic...
https://artifacthub.io/packages/helm/obeone/nfs...      1.1.2           2.2.2           A lightweight, robust, flexible, and containeri...
https://artifacthub.io/packages/helm/rimusz/nfs...      0.1.6           v3.1.0-k8s1.11  nfs-client-provisioner is an automatic provisio...
...

Use Helm with K3s

Add --kubeconfig /etc/rancher/k3s/k3s.yaml to the Helm commands to specify the location of the Kubernetes configuration file.

Leave a Reply

Your email address will not be published. Required fields are marked *


Related Cloud Tutorials

Terraform OpenTofu AWS EKS
This how-to demonstrates how to use Terraform to create an AWS EKS cluster and deploy an application along with a Load Balancer on top.
Terraform Kubernetes
How to publish multiple replicas of an Application (from the Docker Registry) and create a NodePort in Kubernetes using Terraform (in 10 seconds)
Kubernetes NFS
How to use NFS Kubernetes Persistent Volumes for the storage of data. Postgres is used as an example.
K3s Kubernetes
K3s.io is a Lightweight Kubernetes cluster perfect for development or edge deployments. K3s is a CNCF Sandbox Project Originally developed by Rancher.
OpenTofu & Kubernetes
How to publish multiple replicas of an Application (from the Docker Registry) and create a NodePort or a LoadBalancer in Kubernetes using OpenTofu (in 10 seconds)
Javier Ruiz Cloud and SaaS Expert

Javier Ruiz

IT Wonder Lab tutorials are based on the diverse experience of Javier Ruiz, who founded and bootstrapped a SaaS company in the energy sector. His company, later acquired by a NASDAQ traded company, managed over €2 billion per year of electricity for prominent energy producers across Europe and America. Javier has over 25 years of experience in building and managing IT companies, developing cloud infrastructure, leading cross-functional teams, and transitioning his own company from on-premises, consulting, and custom software development to a successful SaaS model that scaled globally.

Are you looking for cloud automation best practices tailored to your company?

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram