Study. uk . com
  1. Home
  2. All questions
  3. Question 923

CKA study material · question 923 of 1000

A pipeline runs kubectl rollout status to gate on one particular deployment. A colleague triggers another rollout meanwhile. What happens without extra flags?

  1. The command fails with a conflict error
  2. The command returns success for the original revision
  3. The command follows the newer rollout instead
  4. The command blocks until both rollouts finish
Show the answer

Answer: C. The command follows the newer rollout instead

rollout status watches the latest rollout and switches to a newer one that starts meanwhile; --revision=N pins it and aborts if that revision is rolled over.

Source: kubectl rollout status (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards