View the rollout history for a deployment config php.

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

View the rollout history for a deployment config php.

Explanation:
To view how a DeploymentConfig has rolled out over time, use the rollout history command on the DeploymentConfig resource. For a DeploymentConfig named php, the correct syntax is oc rollout history dc/php. This shows each rollout revision with details like the image and change cause, letting you see what changed and decide if you need to revert. The other commands don’t fit: oc rollout status dc/php shows the current rollout progress rather than the full history; oc rollout history deployment/php would target a Kubernetes Deployment resource, not an OpenShift DeploymentConfig; and oc logs dc/php would display logs, not rollout history.

To view how a DeploymentConfig has rolled out over time, use the rollout history command on the DeploymentConfig resource. For a DeploymentConfig named php, the correct syntax is oc rollout history dc/php. This shows each rollout revision with details like the image and change cause, letting you see what changed and decide if you need to revert.

The other commands don’t fit: oc rollout status dc/php shows the current rollout progress rather than the full history; oc rollout history deployment/php would target a Kubernetes Deployment resource, not an OpenShift DeploymentConfig; and oc logs dc/php would display logs, not rollout history.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy