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

CKA study material · question 476 of 1000

A namespaced query returns nothing for a kind. Which command confirms it is cluster-scoped?

  1. kubectl explain <kind>.metadata
  2. kubectl get <kind> --all-namespaces
  3. kubectl describe apiservice
  4. kubectl api-resources --namespaced=false
Show the answer

Answer: D. kubectl api-resources --namespaced=false

kubectl api-resources --namespaced=false lists the cluster-scoped kinds.

Source: kubectl Quick Reference (Kubernetes) — Resource types

Challenge yourself on this topic → Study as cards