In the case of a failed upgrade, the system can be downgraded manually using the commands below.
Note | ||
---|---|---|
| ||
Downgrade will only work in the case of Persistent Storage is defined and is in use, prior to the downgrade. For information about Persistent Storage, see Persistent Storage (3.0). |
Info | ||
---|---|---|
| ||
Collect log and error data prior to the downgrade, to be able to analyze the problems.
|
...
Downgrade the system with the following commands:
Code Block Identify the correct revision for the rollback: $ helm list --namespace <namespace> $ helm rollback <RELEASE> [REVISION] --namespace <namespace>
Verify that the downgrade was successful with the following command:
Code Block Verify that the pods are up and running: $ kubectl get pods --namespace <namespace>
Note | ||
---|---|---|
| ||
Action Required for Rollback from 3.x to 2.xIf you need to perform a helm rollback from a 3.x version to a 2.x version, the existing EC Deployment need to patched after having run the helm rollback command. This can be done with the following shell command:
The reason for this is that the custom readiness gate introduced in version 3.0.0 will otherwise block the existing EC Deployments from being fully rolled back. |
...