This runbook outlines the steps for deploying advanced Helm charts using Helmfile.
- Helm v3.x installed
- Helmfile installed
- Access to a Kubernetes cluster
-
Navigate to the project directory
cd advanced-helm-project
-
Update Helm repository
helm repo update
-
Navigate to the Helmfile directory
cd helmfile
-
Sync all defined releases
helmfile sync
-
Alternatively, apply only a single release
helmfile -f releases/frontend.yaml sync
-
For environments
helmfile -e dev apply
helmfile -e staging apply
helmfile -e prod apply
- Adding Grafana & Prometheus
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
If something goes wrong, you can rollback using Helmfile:
helmfile rollback
kubectl get pods