What are your top best practices for releasing with Helm in production?
IntermediateConceptBest Practices & Rapid-Fire Commands
Answer
- One CI command:
helm upgrade --install --atomic --wait --timeoutwith all values files explicit; no--reuse-values. - Pin chart versions (or digests) and Helm itself; charts come from an OCI registry, not a laptop directory.
- Gate with
helm lint --strict,helm template | kubeconform,helm diffon the PR,--dry-run=serverbefore apply. - Serialize deploys per environment; keep
--history-maxaround 10–20. - Run
helm testafter every upgrade; alert on failed releases. - Backward-compatible migrations; documented rollback runbook.
- Secrets encrypted (SOPS) or external (ESO), never plaintext in Git.
More on Best Practices & Rapid-Fire Commands
What are your top best practices for chart authoring?IntermediateHow do you set resource requests and limits in a chart without forcing them on users?IntermediateHow do you keep an HPA and Helm from fighting over `replicas`?AdvancedHow would you migrate a release whose stored manifest uses an API removed in the new Kubernetes version?AdvancedRapid fire: commands to inspect a release.BeginnerRapid fire: commands to work with charts locally.Beginner