Which command creates a deployment config using a shared image stream named shared/myis?

Prepare for the Red Hat OpenShift Developer II DO288 Exam with our quizzes. Study with flashcards and multiple choice questions, each with hints and explanations. Get ready for your certification!

Multiple Choice

Which command creates a deployment config using a shared image stream named shared/myis?

Explanation:
OpenShift uses the new-app flow to generate resources from an image source, and the flag that forces the result to be a DeploymentConfig ensures that the created object runs as a DeploymentConfig rather than a Deployment. By pointing to a shared image stream with the image spec shared/myis and explicitly requesting a DeploymentConfig, the command builds a DeploymentConfig whose pod template uses the image from that shared image stream. This combination is the direct, unambiguous way to create a DeploymentConfig from a shared image stream in one step.

OpenShift uses the new-app flow to generate resources from an image source, and the flag that forces the result to be a DeploymentConfig ensures that the created object runs as a DeploymentConfig rather than a Deployment. By pointing to a shared image stream with the image spec shared/myis and explicitly requesting a DeploymentConfig, the command builds a DeploymentConfig whose pod template uses the image from that shared image stream. This combination is the direct, unambiguous way to create a DeploymentConfig from a shared image stream in one step.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy