Certified Kubernetes Application Developer - CKAD
Helm Fundamentals
Install Helm
Before installing Helm, ensure you have a working Kubernetes cluster and a correctly configured kubectl utility on your local machine. A valid kubeconfig file containing the proper credentials for your target cluster is essential.
Prerequisites
Verify that your Kubernetes setup is operational and that kubectl is set up before proceeding with the Helm installation.
Helm supports Linux, Windows, and macOS environments. This guide focuses on the installation process for Linux systems.
Installing Helm on Linux
Using Snap
If your Linux distribution supports Snap, you can install Helm using the Snap package manager. Snap's classic confinement allows Helm unrestricted access to locate your kubeconfig file (typically in your home directory). Execute the following command:
sudo snap install helm --classic
Installing Helm on APT-Based Distributions
For Debian, Ubuntu, or similar APT-based distributions, follow these steps:
# Install Helm via Snap with classic confinement (if using Snap)
sudo snap install helm --classic
# Add the Helm GPG key to verify package authenticity
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add -
# Install apt-transport-https to handle HTTPS repositories
sudo apt-get install apt-transport-https --yes
# Add the official Helm stable repository to your APT sources list
echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
# Update APT and install Helm
sudo apt-get update
sudo apt-get install helm
# Alternatively, on some package-based systems, you might use:
pkg install helm
Additional Resources
For the most up-to-date installation instructions and additional configuration details, refer to the official Helm documentation.
/images/Python_Basics-Comments/frame_100.jpg
Watch Video
Watch video content
Practice Lab
Practice lab