-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubectl get/describe defaults to returning the GA API version for a K8s object. #31142
Comments
@JoshuaFox: This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The place that should explain this is https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning However, some of the details are instead in https://kubernetes.io/docs/reference/using-api/#api-versioning and https://kubernetes.io/docs/reference/using-api/deprecation-policy/ (sic) My proposed fix:
/language en |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
kubectl get/describe
defaults to returning the GA API version for a K8s object.It seems to be strange -- we expect the
kubectl
command to give a true answer. In many case, the false answer actually has implications about what is and is not supported in the API.As an example, you set up a
HorizontalPodAutoscaler
inv2beta2
. You chose this rather thanv1
specifically for the new API it gives you, custom metrics. Yetkubectl get/describe
tells you that it isv1
!But regardless, is this fact documented? If so, where? If not, please document it.
The text was updated successfully, but these errors were encountered: