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
Install Helm using apt.
Check that Helm has been installed and can access the Kubernetes cluster.
If using K3s, set the configuration for 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 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... ...
Add --kubeconfig /etc/rancher/k3s/k3s.yaml
to the Helm commands to specify the location of the Kubernetes configuration file.
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?