Oc rollback: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 10: | Line 10: | ||
oc rollback <deployment> | oc rollback <deployment> | ||
</pre> | </pre> | ||
The configuration template is reverted to deployment specified in rollback command. A new deployment is started. The image change triggers in deployment configuration are disabled as part of rollback to prevent unwanted deployments soon after rollback completes. They can be re-enabled with [[oc deploy#--enable-triggers|oc deploy --enable-triggers]]. |
Latest revision as of 00:43, 12 May 2017
Internal
Overview
oc rollback <deployment>
The configuration template is reverted to deployment specified in rollback command. A new deployment is started. The image change triggers in deployment configuration are disabled as part of rollback to prevent unwanted deployments soon after rollback completes. They can be re-enabled with oc deploy --enable-triggers.