Your org wants an audit trail of who deployed what with Helm. What do you set up?
IntermediateScenarioReleases, Upgrades & Rollbacks
Answer
Situation read → Helm history shows revisions, not people.
What I'd do →
- Deploy only from CI with
--description "sha=$GIT_SHA actor=$ACTOR run=$RUN_URL". - Keep Kubernetes API audit logs (who modified Secrets/Deployments).
- With GitOps, Git history plus Argo CD sync history is the audit trail.
- Restrict human prod access to read-only.
Why → Combining Git, CI and API audit logs gives who, what and when.
Interview tip → --description is a nice small detail to mention.
More on Releases, Upgrades & Rollbacks
A production upgrade starts failing health checks five minutes after the deploy. What do you do?BeginnerWhy would you insist on `--atomic --wait` in CI, and what is the trade-off?IntermediateYou need zero-downtime upgrades of the API with Helm. What must be true in the chart?IntermediateA pipeline was cancelled mid-upgrade and now every deploy fails with "another operation is in progress". What do you do?AdvancedA rollback is requested, but the failed release ran a migration that dropped a column. What do you do?AdvancedThe team scaled a Deployment manually to 10 replicas during a traffic spike. The next deploy scaled it back to 3. Explain and fix.Intermediate