A simple app needs a Deployment, Service, ConfigMap, Secret, and Ingress — five YAML files. Now imagine managing 20 microservices across multiple environments. Helm solves this as a package manager for Kubernetes.
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install my-postgres bitnami/postgresql \
--set auth.postgresPassword=secretpass \
--set primary.persistence.size=20Gi
helm list
helm upgrade my-postgres bitnami/postgresql --set primary.persistence.size=50Gi
helm rollback my-postgres 1
helm create my-app
# Creates: Chart.yaml, values.yaml, templates/
Different environments get different values files — values-staging.yaml, values-production.yaml. In Part 11, we set up monitoring and observability.