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

CKA study material · question 928 of 1000

Which two things can kubectl wait be told to wait for? Choose two.

  1. A condition appearing in a resource's status
  2. A container's log to contain a string
  3. Resources to be created or deleted
  4. A rollout to reach a given revision
Show the answer

Answer: A. A condition appearing in a resource's status
C. Resources to be created or deleted

kubectl wait blocks on a status condition, or on --for=create and --for=delete. Log content and rollout revisions are the province of kubectl logs and kubectl rollout status.

Source: kubectl wait (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards