-
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
Umbrella issue for kubectl config command overhaul #20605
Comments
Also, version, componentstatus, cluster-info, current-context, api-versions. |
Video from skippbox: |
FWIW, the relationship with My "best guess" But Took me a while (and grubbing through the sdk) to realize that it was get-credentials making the change, not the set.
|
Ref #23492 |
It's also unfortunate that it takes 3 commands to set up kubectl for a new cluster. For example:
|
There's some discussion in #25383, also |
#25601 for deleting cluster from |
I'd like to suggest that we look at : http://kubernetes.io/docs/user-guide/docker-cli-to-kubectl/ Each extra parameter, each extra step needed, each extra bit of extra output (noise) should be scrutinized and questioned. Yes, I'm holding up Docker as our minimum bar because I think they've done a great job so far. If kubectl can surpass them then that's great, but let's at least give our users an on-par experience. |
oh oops, this is about just |
@duglin tag me in where you end up dropping this? I'd like some more detail on which commands you want to emulate. Some commands like |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-lifecycle stale |
Adding a native way to get the current namespace that's simpler than As another source of ideas, kubectx & kubens have been great tools for our team — managing a small set of contexts rather than hundreds of cluster/namespace combinations. Maybe they could even be folded into kubectl? |
kubectl config
strongly departs from the command and output conventions of other commands. It shouldn't.Current commands:
https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/kubectl/kubectl_config.md
Conventions:
https://github.com/kubernetes/kubernetes/blob/master/docs/devel/kubectl-conventions.md
Related: #5592, #7804, #8593, #8817, #9298, #10516, #10626, #10693, #10735, #11233, #16085, #16935, #20374
@deads2k proposed English descriptions:
#8593 (comment)
#20468 (comment)
@thockin proposed a family of commands:
#8593 (comment)
#10516 (comment)
TODO: Create proposal
cc @jlowdermilk @deads2k @thockin @quinton-hoole @kubernetes/kubectl
The text was updated successfully, but these errors were encountered: