-
Notifications
You must be signed in to change notification settings - Fork 40.4k
Add kubectl overview page #14177
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 kubectl overview page #14177
Conversation
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
56e2a44
to
c568a3d
Compare
Thanks! cc @kubernetes/kubectl |
@RichieEscarez Please suggest where links to this should be added, or existing links to the generated docs should be changed to point here. |
Labelling this PR as size/L |
|
||
## Common Operations | ||
|
||
For explanation, here I gave some mostly often used `kubectl` command examples. Please replace sample names with actually values if you would like to try these commands. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/actually/actual
This is a good intro page. My only concern is that it will not stay up to date unless it's autogenerated. A good solution would be to modify gen_kubectl_docs.go to generate this doc, if you're interested in doing that. In particular the examples, operations, and resource types should be retrieved from the built kubectl. I'm also fine with submitting this as is (once appropriate links to/from existing kubectl docs are updated) and putting a note in #14177 to autogenerate this file. |
Agree on auto-generate this doc. If we're submitting this as is please add |
@jlowdermilk thank you for reviewing this and giving these good suggestions. Yes this page is manually written and will be out of date if there is a change of Next step I will look into how to auto-generate it to stay up with But please be noted that the examples in this page is expected to be oftenly used, small and stable, more user-friendly, rather than complete and exactly the same with |
@janetkuo thank you for the comment. I have added |
f455135
to
2ac0e15
Compare
Sorry for the delay. Starting my review now. |
After a discussion with @jlowdermilk, im going to LGTM this to make it live and then open a separate PR for my edits. |
@k8s-bot ok to test
|
Unit, integration and GCE e2e test build/test passed for commit 2ac0e15. |
Add kubectl overview page
This is an effort try to fix: #11814
@bgrant0607 @hurf