Rollback to an Earlier Version
To rollback to an earlier version of the product, perform the following:
-
Update the repository URL to point an earlier version of the product chart release to rollback the product.
configure cluster cluster_name ops-centers app_name instance repository url exit exit
Example:
SMI Cluster Manager# config SMI Cluster Manager(config)# clusters test2 SMI Cluster Manager(config)# ops-centers cee data SMI Cluster Manager(config-clusters-test2)# ops-centers cee data SMI Cluster Manager(config-ops-centers-cee/data)# repository http://charts.<ipv4address>.<domain_name>/cee-2019-07-22/ SMI Cluster Manager(config-ops-centers-cee/data)# exit SMI Cluster Manager(config-clusters-test2)# exit
-
Configure the secrets, if your local registry contains secrets.
configure cluster cluster_name secrets docker-registry secret_name docker-server server_name docker-username username docker-password password docker-email email namespace k8s namespace commit exit exit
Example:
SMI Cluster Manager# config SMI Cluster Manager(config)# clusters test2 SMI Cluster Manager(config-clusters-test2)# secrets docker-registry sec1 SMI Cluster Manager(config-docker-registry-sec1)# docker-server serv1 SMI Cluster Manager(config-docker-registry-sec1)# docker-username user1 SMI Cluster Manager(config-docker-registry-sec1)# docker-password Cisco@123 SMI Cluster Manager(config-docker-registry-sec1)# docker-email reg@cisco.com SMI Cluster Manager(config-docker-registry-sec1)# namespace ns1 SMI Cluster Manager(config-docker-registry-sec1)# exit SMI Cluster Manager(config-clusters-test2)# exit SMI Cluster Manager(config)#
-
Run the cluster synchronization.
clusters cluster_name actions sync run
Example:
SMI Cluster Manager# clusters test2 actions sync run