1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/deployments-retrying-deployment.adoc
2020-08-10 16:14:35 +00:00

29 lines
753 B
Plaintext

// Module included in the following assemblies:
//
// * applications/deployments/managing-deployment-processes.adoc
[id="deployments-retrying-deployment_{context}"]
= Retrying a deployment
If the current revision of your DeploymentConfig failed to deploy, you can
restart the deployment process.
.Procedure
. To restart a failed deployment process:
+
[source,terminal]
----
$ oc rollout retry dc/<name>
----
+
If the latest revision of it was deployed successfully, the command displays a
message and the deployment process is not be retried.
+
[NOTE]
====
Retrying a deployment restarts the deployment process and does not create a new
deployment revision. The restarted ReplicationController has the same
configuration it had when it failed.
====