Interview Prep/CI/CD/Release Engineering and Progressive Delivery

How do you manage Helm releases in CD (atomic upgrades, history, hooks)?

IntermediateProductionRelease Engineering and Progressive Delivery
Answer

Use helm upgrade --install --atomic --wait --timeout 5m so a failed release is rolled back automatically, set --history-max 10 to cap stored release secrets, lint and template-render in CI (helm lint, helm template | kubeconform), use pre-upgrade hooks for migrations carefully (a failing hook blocks the release), and use helm diff upgrade (plugin) in PRs to show what will change.

helm upgrade --install shop-api ./chart -n shop -f values-prod.yaml \
  --set image.tag=$GIT_SHA --atomic --wait --timeout 5m --history-max 10
All CI/CD questions Roadmap: CI/CD fundamentals

More on Release Engineering and Progressive Delivery