Oc rollback: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * oc =Overview= Rolls back a deployment.") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
[[OpenShift Concepts#Rollback|Rolls back]] a [[OpenShift Concepts#Deployment|deployment]]. | [[OpenShift Concepts#Rollback|Rolls back]] a [[OpenShift Concepts#Deployment|deployment]]. | ||
<pre> | |||
oc rollback <deployment> | |||
</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.