Intro
Helm is the de facto package manager for Kubernetes, but treating it as just a templating tool invites production incidents. A checklist-driven approach turns Helm operations from reactive fixes into repeatable, verifiable procedures. This article provides a practical checklist for operating Helm in production: from version inventory and safe configuration changes to diagnostics, failure recovery, and day-2 maintenance. It is written for developers, DevOps consultants, and technical startup teams who already use Helm but want tighter operational control.
The core principle is operational safety: observe before changing, limit the blast radius, use placeholders instead of secrets, verify the result, and document how to recover if the expected state is not reached. Every section includes concrete commands, expected output, failure signals, and recovery decisions that match the selected technology. By the end, you will be able to use Helm as a predictable deployment tool, not a source of surprises.
Version and Environment Inventory
Before touching a release, know exactly what you are running and against which cluster. A version mismatch between Helm client, Helm server (Tiller in Helm v2, or the Helm v3 binary on the controller), and Kubernetes API can cause silent failures or unreadable state. Start with a read-only inventory.
1. Check Helm client version
Run:
helm version --short
Expected output for Helm v3.12.0:
v3.12.0+g1872f4a
If you see Client: &version.Version{SemVer:"v2.16.1", ...} then you are using Helm v2, which is end-of-life. Upgrade to Helm v3 before applying any modern chart practices.
2. Check current Kubernetes context
Helm uses your current kubeconfig context. Verify that you are targeting the right cluster:
kubectl config current-context
Example output:
arn:aws:eks:us-east-1:123456789012:cluster/prod-eks-cluster
If the context name does not contain the expected environment identifier, stop. Do not run Helm commands until you set the correct context with kubectl config use-context <production-cluster>.
3. List all releases in the namespace
Use a namespace-scoped view to avoid overwhelming output and to isolate your blast radius:
helm list --namespace production
Example output:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
frontend production 12 2023-05-15 10:22:31.123456 -0400 EDT deployed frontend-3.2.1 1.4.2
backend-api production 8 2023-05-14 18:11:05.987654 -0400 EDT deployed backend-2.0.0 2.0.0
Look at STATUS and UPDATED. A release that shows failed or pending-install needs immediate attention before further changes.
4. Check Helm storage driver
Helm v3 stores release metadata in Kubernetes secrets or configmaps. Verify which storage driver is configured:
helm env | grep HELM_DRIVER
Expected output (default):
HELM_DRIVER=secret
If it returns configmap, then releases are stored in configmaps. This is fine, but make sure your backup and RBAC policies cover the right resource. Mismatches here can cause "release not found" errors.
Checklist for Version and Environment Inventory:
- [ ] Helm client version is v3.x.x (v2 is unsupported)
- [ ]
kubectl config current-contextpoints to the intended cluster - [ ]
helm listshows releases in the expected namespace with statusdeployed - [ ] Helm storage driver is known (
secretorconfigmap) - [ ] Kubernetes API server version is compatible with Helm (see
kubectl version)
Pitfall and Recovery: A common mistake is assuming the current context is correct. Developers often switch contexts for testing and forget to switch back. To avoid this, use a dedicated shell prompt that displays the current context, or a tool like kubectx to switch explicitly. If you already ran a Helm command against the wrong cluster, the fastest recovery is often to roll back the release on that cluster using helm rollback <release> <previous-revision>.
Safe Configuration Path
Helm renders manifests from values, and changing values is the most frequent operation. A safe configuration change requires a path from current state to desired state with minimal risk.
1. Inspect current values
Never guess what values a release is using. Get the deployed values:
helm get values frontend --namespace production
Or, to see all values including defaults, use:
helm get values frontend --all --namespace production
Example output (truncated):
replicaCount: 3
image:
repository: nginx
tag: "1.21.6"
service:
type: ClusterIP
Capture this to a file before making changes:
helm get values frontend --namespace production > frontend-values-before.yaml
2. Diff before apply
Use helm diff (from the helm-diff plugin, install with helm plugin install https://github.com/databus23/helm-diff) to see what will change. This is a read-only preview:
helm diff upgrade frontend my-repo/frontend --version 3.2.2 --namespace production --values new-values.yaml
Example output snippet:
frontend, deployment, spec.replicas has changed:
- 3
+ 5
Review the diff carefully. If the change is only what you intended, proceed. If it modifies secrets or service accounts unexpectedly, stop and investigate the chart's templates.
3. Perform the upgrade with minimal scope
Apply the change with explicit version and namespace, and use --wait to ensure the rollout completes before returning:
helm upgrade frontend my-repo/frontend --version 3.2.2 --namespace production --values new-values.yaml --wait --timeout 5m
Expected output:
Release "frontend" has been upgraded. Happy Helming!
But do not trust the success message alone; verify with kubectl:
kubectl rollout status deployment frontend --namespace production
Expected output:
deployment "frontend" successfully rolled out
4. Keep secrets out of values files
Never place real credentials in a values file or in any version control. Use Kubernetes Secrets and reference them in your chart via existingSecret or a templated environment variable. For example, in values.yaml:
# Never do this
# password: "S3cr3t!"
# Instead, reference an existing secret
database:
existingSecret: my-db-secret
usernameKey: username
passwordKey: password
Then create the secret separately:
kubectl create secret generic my-db-secret \
--from-literal=username=myuser \
--from-literal=password='S3cr3t!' \
--namespace production
The blast radius of a secret in a values file is the entire Git history; never do it.
Pitfall and Recovery: A common mistake is using the latest chart version without checking its values changes. Chart maintainers often rename or deprecate values. Use helm show values to see the default values of the target chart version and compare with your existing custom values. If an upgrade fails due to values.yaml schema mismatch, roll back the release immediately (helm rollback frontend --namespace production) and fix the values file based on the chart's README.
Verification and Diagnostics
After any change, verify the actual state. Helm's own success message is not enough; you need Kubernetes-level confirmation.
1. Verify release status
Run:
helm status frontend --namespace production
Example output (healthy):
NAME: frontend
LAST DEPLOYED: Mon May 15 10:25:00 2023
NAMESPACE: production
STATUS: deployed
REVISION: 13
TEST SUITE: None
NOTES:
...
If status is failed, inspect the events:
helm status frontend --namespace production --show-resources
Look for pods in CrashLoopBackOff or Pending.
2. Check pod health
Identify pods belonging to the release:
kubectl get pods --namespace production --selector app.kubernetes.io/instance=frontend
Example:
NAME READY STATUS RESTARTS AGE
frontend-7b9f8c6d5-4g7j2 1/1 Running 0 2m
frontend-7b9f8c6d5-9fh3k 1/1 Running 0 2m
frontend-7b9f8c6d5-kj9dl 1/1 Running 0 2m
If any pod is not Running or READY is 0/1, describe it:
kubectl describe pod frontend-7b9f8c6d5-4g7j2 --namespace production
Look for image pull errors, resource limits, or readiness probe failures.
3. Check logs for errors
kubectl logs deployment/frontend --namespace production --tail=50
Example of a healthy startup:
2023/05/15 10:25:02 [notice] 1#1: start worker processes
2023/05/15 10:25:02 [notice] 1#1: start worker process 29
Example of a failing readiness probe:
readiness probe failed: HTTP probe failed with statuscode: 503
4. Run Helm tests
If the chart includes tests, run them:
helm test frontend --namespace production
Expected output (pass):
Pod frontend-test-connection pending
Pod frontend-test-connection succeeded
If tests fail, the release may need a rollback.
Pitfall and Recovery: Diagnostics often fail because operators check the wrong namespace or selector. Always confirm that --namespace matches the release and that the selector you use is from the chart's labels. If you can't find pods, use helm get manifest frontend --namespace production | grep -A5 "kind: Deployment" to see the exact labels generated by the chart.
Failure Modes and Recovery
Production failures fall into predictable categories. Prepare for them in advance; do not improvise during an outage.
1. Failed upgrade
If helm upgrade fails, Helm automatically rolls back to the previous revision, but sometimes the rollback itself fails. Check the release history:
helm history frontend --namespace production
Example:
REVISION UPDATED STATUS CHART DESCRIPTION
13 Mon May 15 10:25:00 2023 failed frontend-3.2.2 Upgrade "frontend" failed: timed out waiting for the condition
12 Mon May 15 10:22:31 2023 deployed frontend-3.2.1 Upgrade complete
Manual rollback:
helm rollback frontend 12 --namespace production
Expected output:
Rollback was a success! Happy Helming!
Then verify with kubectl rollout status deployment/frontend.
2. Release stuck in pending-install
This happens when Helm is interrupted mid-install. The release can be stuck forever. Check status:
helm list --namespace production | grep pending
To recover, uninstall the release and reinstall:
helm uninstall frontend --namespace production
helm install frontend my-repo/frontend --namespace production --values production-values.yaml
Alternatively, use helm upgrade --install with --force if the resources can be safely replaced.
3. Secret leakage in values
If you accidentally committed a secret to a values file, rotate it immediately, not just remove it from Git. Steps:
- Revoke the credential (e.g., database password)
- Generate a new secret
- Update the Kubernetes Secret
- Redeploy the affected release
- Purge the secret from Git history (if possible) or, at minimum, remove it from the current files
Do not rely on .gitignore for secrets already tracked.
4. Kubernetes API incompatibility
If Helm detects that the cluster API version is too old or too new for a chart's resources, the upgrade will fail with a no matches for kind error. Check the failing resource:
helm upgrade frontend my-repo/frontend --namespace production --debug
Look for lines like:
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"
Recovery: pin the chart version that supports your cluster API version, or upgrade the cluster API version (if that is safe). Do not manually edit the rendered manifests; that bypasses Helm's state tracking.
Pitfall and Recovery: One of the most dangerous mistakes is to run helm uninstall to fix a failed release without realizing it deletes PersistentVolumeClaims and other data. If you need to remove a release but preserve data, use helm uninstall --keep-history? No, the correct flag is --keep-history to keep history, but PVCs are retained only if the reclaim policy is Retain. Before uninstalling, check kubectl get pvc --namespace production and understand the reclaim policy. If in doubt, snapshot data first.
Operations Checklist
This is a consolidated day-2 operations checklist. Run it on a regular basis (e.g., weekly in production) and after any incident.
- [ ] All Helm releases are in
deployedstate (helm list --all-namespaces) - [ ] No release has an age significantly older than expected (stale releases may indicate overlooked issues)
- [ ] Helm repositories are updated (
helm repo update) and chart versions pinned in CI/CD - [ ] Values for each release are stored in version control and match the deployed state (use
helm get valuesfor comparison) - [ ] Secrets are not present in any plaintext file; secret references use
existingSecretor a secrets manager - [ ] Each release has a recent successful
helm testrun (or at least a readiness probe passing) - [ ] Rollback plans are documented for each release, including the revision to roll back to
- [ ] Storage driver backups (secrets or configmaps) are working and restorable
- [ ] RBAC policies for Helm and Tiller (if v2) are minimal and audited
Single accountable owner: In a team, assign one person as the "Helm release owner" for each release. For example, Priya Shah, Engineering Lead, owns the frontend release and reviews its configuration and health every Monday. For a startup, the CTO may own all releases until the team grows. The owner is responsible for ensuring the checklist is run and for approving changes to that release.
Common Pitfalls and How to Avoid Them
Beyond the specific recovery steps above, several recurring mistakes cause Helm production issues.
1. Not pinning chart versions
Using helm install stable/mychart without a version pulls the latest chart, which may introduce breaking changes. In production, always pin:
helm install frontend my-repo/frontend --version 3.2.1 --namespace production
Store this command in your CI pipeline or a deployment script, not in someone's memory.
2. Editing templates without understanding Helm's state
Some operators edit deployed manifests with kubectl edit and then wonder why Helm sees a different state. Any change outside Helm creates drift. The next helm upgrade will overwrite it or fail. Fix: modify the chart or values, never the live manifest.
3. Ignoring helm-diff
The helm diff plugin is the most valuable safety tool in Helm operations. Skipping it means you are applying changes blind. Always diff before upgrading in production. Install it once:
helm plugin install https://github.com/databus23/helm-diff
4. Overlooking namespace isolation
Kubernetes namespaces are a security boundary. Use separate namespaces per environment and restrict RBAC so that Helm operations in one namespace cannot affect others. Example RBAC for a CI user:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: production
name: helm-deployer
rules:
- apiGroups: [""]
resources: ["secrets", "configmaps"]
verbs: ["get", "list", "create", "update", "delete"]
- apiGroups: [""]
resources: ["pods", "services", "deployments"]
verbs: ["get", "list", "create", "update", "delete", "watch"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: helm-deployer-binding
namespace: production
subjects:
- kind: User
name: ci-bot
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: helm-deployer
apiGroup: rbac.authorization.k8s.io
This limits the CI bot to a single namespace.
5. Forgetting to backup release metadata
Helm stores release history in secrets/configmaps. If these are deleted, Helm cannot manage the release. Include them in your cluster backup. For example, with Velero, ensure the secrets and configmaps resources are included in backup schedules.
Conclusion
A Helm production operations checklist is useful only when each recommendation is version-scoped, observable, and reversible where the technology permits. Copying a command without checking prerequisites and expected output is not an operations procedure. The practices in this article reduce the chance of deployment failure and make recovery predictable.
As a next step, choose one low-risk verification from the checklist, such as running helm diff on your next upgrade or reviewing the current values for a release. Record the current state, run the documented check, and compare the result with the expected signal. Then assign a single owner to each release and schedule a weekly review of the operations checklist.
A reliable technical workflow makes failure visible, protects sensitive values, limits changes to the intended resource, and defines recovery verification before an incident forces the decision. With Helm in production, this discipline transforms a templating tool into a dependable deployment system.