Which command sets a readiness probe on a deploymentconfig with a specified URL and timings?

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 sets a readiness probe on a deploymentconfig with a specified URL and timings?

Explanation:
Configuring readiness probes checks when a pod is ready to serve traffic, using a specific HTTP endpoint and timing parameters. The best command uses the readiness probe on the deployment config, points to the URL with --get-url, and includes both timing controls: the initial delay before the first probe and the timeout for each probe attempt. This combination ensures you’re checking a defined endpoint and enforcing how quickly the probe should respond after startup. The other approaches would either switch to a liveness probe, omit the URL endpoint, or omit required timing settings, which means they wouldn’t configure a readiness probe with a specified URL and the desired timings.

Configuring readiness probes checks when a pod is ready to serve traffic, using a specific HTTP endpoint and timing parameters. The best command uses the readiness probe on the deployment config, points to the URL with --get-url, and includes both timing controls: the initial delay before the first probe and the timeout for each probe attempt. This combination ensures you’re checking a defined endpoint and enforcing how quickly the probe should respond after startup.

The other approaches would either switch to a liveness probe, omit the URL endpoint, or omit required timing settings, which means they wouldn’t configure a readiness probe with a specified URL and the desired timings.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy