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

CKA study material · question 473 of 1000

Which mechanism filters a listing server-side on an object field?

  1. --field-selector
  2. --selector
  3. --sort-by
  4. -o jsonpath
Show the answer

Answer: A. --field-selector

--field-selector filters on object fields server-side, so status.phase=Running lists only running Pods.

Source: kubectl Quick Reference (Kubernetes) — Viewing and finding resources

Challenge yourself on this topic → Study as cards