Oc deploy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


=Overview=
=Overview=
{{Internal|OpenShift_Application_Operations#Deploy|Application Operations - Deploy}}


Used for [[OpenShift_Concepts#Deployment|deployments]].
Used for [[OpenShift_Concepts#Deployment|deployments]].

Revision as of 19:49, 22 November 2017

Internal

Overview

Application Operations - Deploy

Used for deployments.

oc deploy <deployment_config> --latest

Options

--cancel

The cancellation is a bet-effort operation and may take some time to complete.

--retry

Re-runs the previously deployed deployment. Retrying the deployment just restarts the deployment, it does not create a new deployment version.

--enable-triggers

Re-enables triggers disabled by a rollback.