Installing Helm¶
In my homelab setup, I've already got K3s and Ansible installed on my master node, which makes it easier to manage my Kubernetes cluster and deploy applications. The next tool I want to set up is Helm, a package manager for Kubernetes that simplifies deploying and managing applications. Here's how I install Helm:
Prerequisites¶
Before we start, make sure you have:
- A working Kubernetes cluster with K3s.
- SSH access to your master node.
- Ansible installed on your master node (which you should have if you followed my previous documentation).
Download and Install Helm¶
Helm is a command-line tool, so I'll need to download and install it on my master node. I can do this by running the following commands:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
This script downloads the Helm installation script, makes it executable, and then runs it. Helm 3 is the latest version at the time of writing.
Verify the Installation¶
To ensure that Helm is installed and working properly, I'll run a quick check:
This command should display both the client and server versions, indicating that Helm is correctly installed and configured to communicate with my Kubernetes cluster.
That's it! Helm is now installed in my homelab, and I'm ready to use it for deploying applications and managing Kubernetes charts.