Interview Prep/Helm/Best Practices & Rapid-Fire Commands

Rapid fire: commands for safe deploys and rollbacks.

IntermediateConceptBest Practices & Rapid-Fire Commands
Answer
helm diff upgrade shop ./shop -n shop -f values-prod.yaml
helm upgrade --install shop ./shop -n shop --create-namespace -f values-prod.yaml \
  --atomic --wait --timeout 10m --cleanup-on-fail --history-max 15 --description "sha $GIT_SHA"
helm test shop -n shop --logs
helm rollback shop 0 -n shop --wait        # 0 (or omitted) = previous revision
helm uninstall shop -n shop --keep-history
All Helm questions Roadmap: Helm

More on Best Practices & Rapid-Fire Commands