Oc rollback

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Internal

Overview

Rolls back a deployment.

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.