1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/deploymentconfig-object-specific-features.adoc
2025-08-01 14:46:43 +00:00

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.