--dry-run flag?helm upgrade myapp ./mychart --dry-run
--dry-run flag does in Helm commands.The --dry-run flag simulates the upgrade process and outputs the Kubernetes manifests that would be applied, without making any changes to the cluster.
helm rollback myapp 2, what happens?The helm rollback command reverts the release to the specified revision, restoring the previous state of the application.
helm upgrade myapp ./mychart but the upgrade failed and the release is in a failed state. What is the best next step to recover the application?Rolling back the release restores the last known good state, which is the safest way to recover from a failed upgrade.
First upgrade the release, then check pods to see if they are running, then check release status, and finally describe pods for detailed info if needed.
Combining rollback with readiness probes and monitoring ensures the application is healthy before considering rollback complete, minimizing downtime and risk.
