mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * applications/deployments/what-deployments-are.adoc
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="deploymentconfig-object-specific-features_{context}"]
|
|
= DeploymentConfig object-specific features
|
|
|
|
[id="deploymentconfig-object-specific-features-automatic-rollbacks_{context}"]
|
|
== Automatic rollbacks
|
|
|
|
Currently, deployments do not support automatically rolling back to the last successfully deployed replica set in case of a failure.
|
|
|
|
[id="deploymentconfig-object-specific-features-triggers_{context}"]
|
|
== Triggers
|
|
|
|
Deployments have an implicit config change trigger in that every change in the pod template of a deployment automatically triggers a new rollout.
|
|
If you do not want new rollouts on pod template changes, pause the deployment:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc rollout pause deployments/<name>
|
|
----
|
|
|
|
[id="deploymentconfig-object-specific-features-lifecycle-hooks_{context}"]
|
|
== Lifecycle hooks
|
|
|
|
Deployments do not yet support any lifecycle hooks.
|
|
|
|
[id="deploymentconfig-object-specific-features-custom-strategies_{context}"]
|
|
== Custom strategies
|
|
|
|
Deployments do not support user-specified custom deployment strategies.
|