-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Add API group concept to kubectl #13929
Comments
/cc @kubernetes/rh-cluster-infra |
Do we support these?
When the group isn't provided, we assume it's empty or find the first match? |
I think if group is not provided, then we should see what groups the resource could possibly be inside; if there's only 1, great. If there's more than one, we should error out. Likewise it shouldn't be ambiguous whether I don't have opinions on whether '/', ' ', or both should be allowed as separators. |
So to do that, kubectl would need to get (or maintain) a map of resource -> (group, resource). We should get that from apiserver, not by looking at the resources compiled into kubelet. |
TODOs:
|
@janetkuo, just in case you don't know this already, as stated in the proposal: |
as we think about this, we should also consider whether subresources (which kubectl doesn't support today) should be addressable, and how |
@kubernetes/kubectl |
It seems some TODOs still not finished, will pick one. |
I think we'll still have problems specifying api-versions for names retrieved from files and for commands that don't take resource strings like |
I think |
Is this still an issue? |
Please file more specific issues for any remaining problems. |
E.g.:
Need to make reasonable assumption about the group when it's not provided?
The text was updated successfully, but these errors were encountered: