Helm is the package manager for Kubernetes. If Kubernetes is the operating system for your servers, Helm is the app store: it lets you install, upgrade, and remove applications with a single command, instead of applying dozens of YAML files by hand and hoping you got them all.
How does it work? A Helm chart is a package of Kubernetes templates — deployments, services, config maps — with values you can change. You install a chart, Helm renders the templates with your values, and applies the result to your cluster. Upgrading is just installing a new version of the same chart.
# Install Helm and add the official chart repository helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update
# Install nginx, with a custom value helm install my-web bitnami/nginx --set service.type=LoadBalancer
# See what is installed, and upgrade it helm list helm upgrade my-web bitnami/nginx --set replicaCount = 3
# Remove it cleanly when you are done helm uninstall my-web
Enter fullscreen mode
Exit fullscreen…