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

CKA study material · question 921 of 1000

Where does kubectl explain get the field documentation it prints?

  1. From a schema bundled with the kubectl binary
  2. From the CustomResourceDefinition objects in the cluster
  3. From the server's own OpenAPI
  4. From the kubernetes.io documentation site
Show the answer

Answer: C. From the server's own OpenAPI

kubectl explain retrieves field information from the server in OpenAPI format, so it describes the API the cluster actually serves rather than a version fixed in the client.

Source: kubectl explain (Kubernetes) — Synopsis

Challenge yourself on this topic → Study as cards