A developer writing new workload YAML needs to know which apiVersion the cluster prefers for a resource kind. Which approach helps choose the preferred version?
Select an answer to reveal the explanation.
Short Explanation
API discovery is the cluster’s menu board: it shows which dishes (versions) are served today and which is preferred. Check that board before you order an alpha special that disappeared last season.
Full Explanation
kubectl api-resources, kubectl explain, and related discovery endpoints reveal group/versions the apiserver serves and which are preferred for new objects. Preferring ancient alphas, copying mismatched blog versions, or omitting apiVersion produces invalid or fragile manifests.