How do you pause and resume a Deployment rollout in OpenShift?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

How do you pause and resume a Deployment rollout in OpenShift?

Explanation:
Pausing and resuming a Deployment rollout is controlled with the rollout commands on the oc CLI. To pause a rollout, use oc rollout pause deployment/<name>. To continue after pausing, use oc rollout resume deployment/<name>. Pausing stops the rollout at its current step so no further updates are applied, giving you a window to inspect or fix issues before continuing. Resuming picks up from where it left off and proceeds with the rollout. The other options aren’t correct because one uses non-existent rollout subcommands (stop/continue) and the other scales the deployment to zero, which changes the number of pods but doesn’t pause or resume the rollout process. You can also check progress with oc rollout status deployment/<name>.

Pausing and resuming a Deployment rollout is controlled with the rollout commands on the oc CLI. To pause a rollout, use oc rollout pause deployment/. To continue after pausing, use oc rollout resume deployment/. Pausing stops the rollout at its current step so no further updates are applied, giving you a window to inspect or fix issues before continuing. Resuming picks up from where it left off and proceeds with the rollout.

The other options aren’t correct because one uses non-existent rollout subcommands (stop/continue) and the other scales the deployment to zero, which changes the number of pods but doesn’t pause or resume the rollout process. You can also check progress with oc rollout status deployment/.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy