Intermediate Kubernetes
Q80 / 100

What is the purpose of "kubectl wait" in scripts and automation?

Correct! Well done.

Incorrect.

The correct answer is B) To block until a specific condition (such as "Ready" or "Available") is met on one or more resources, useful for scripting deployment pipelines that need to wait for a rollout to finish

B

Correct Answer

To block until a specific condition (such as "Ready" or "Available") is met on one or more resources, useful for scripting deployment pipelines that need to wait for a rollout to finish

Explanation

"kubectl wait --for=condition=<condition>" polls a resource until the specified condition is satisfied or a timeout is reached, commonly used in CI/CD scripts to wait for rollouts to complete.

Progress
80/100