Marketing Catalog Microservice - Helm Rollback
MCMS Helm Rollback command reverses the revision of a release. The release name and the revision (version) number are the first and second arguments of the rollback commands respectively. The command reverts to the previous release if revision (version) number argument is left out.
The Helm Upgrade and Rollback mechanism is only for changing environment variables in running Pods.
The following command is used to Rollback the revision of a release: helm rollback marketingcatalog -n marketingcatalog
For example: In marketingcatalog, if the log is set as logger_root_level=INFO then the info logs are generated. If log level is ERROR in the previous version, to generate the error logs, it must be roll backed to logger_root_level=ERROR.
This command helm rollback marketingcatalog -n marketingcatalog helps to rollback INFO to old version ERROR without disruption in less time.
This command helm rollback marketingcatalog2 -n marketingcatalog helps to rollback version2 in less time.
Follow the below steps to rollback.
- Helm rollback batch and shell scripts are available under the rollback folder (ms-marketingcatalog-helm-sql-pack-<version>\rollback)
- Run the helm-rollback script ( if required update the version to which rollback should happen). The deployment is rolled back to the previous version or the mentioned version.
In this topic