Sobes.tech
Junior — Middle

How can a Helm release be canceled or rolled back?

sobes.tech AI

Answer from AI

To undo or rollback a Helm release, the command helm rollback is used.

It allows you to revert to a previous release version if the current version caused issues.

Example usage:

helm rollback <release-name> [revision]
  • <release-name> — the name of the release to rollback.
  • [revision] — the release version number to revert to. If not specified, it will rollback to the previous version.

For example, to rollback the myapp release to the previous version:

helm rollback myapp

To see a list of release versions and their numbers, you can use:

helm history myapp

This will help you select the correct revision number for rollback.