-
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
Update kubectl help for 1.2 resources #23305
Update kubectl help for 1.2 resources #23305
Conversation
Labelling this PR as size/M |
replicasets (rs), replicationcontrollers (rc), nodes (no), events (ev), limitranges (limits), | ||
persistentvolumes (pv), persistentvolumeclaims (pvc), resourcequotas (quota), namespaces (ns), | ||
serviceaccounts, ingresses (ing), horizontalpodautoscalers (hpa), daemonsets (ds), configmaps, | ||
componentstatuses (cs), endpoints (ep) or secrets.` |
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/or/and/
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.
Fixed
GCE e2e build/test passed for commit c0eea559b662332478037de5a95284f0158a9822. |
@@ -24,7 +24,7 @@ import ( | |||
) | |||
|
|||
const ( | |||
rollout_long = `rollout manages a deployment using subcommands like "kubectl rollout undo deployment/abc"` | |||
rollout_long = `kubectl rollout manages a deployment using subcommands like "kubectl rollout undo deployment/abc"` |
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.
"kubectl rollout" isn't necessary, you can just start with "Manages a deployment ..."? It looks like that's what we are doing with other 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.
Done
Comments addressed. |
GCE e2e build/test passed for commit 4c93c8c3aaa1683ef89563047c255aac1d5cac99. |
@@ -31,7 +31,7 @@ import ( | |||
const ( | |||
autoscaleLong = `Creates an autoscaler that automatically chooses and sets the number of pods that run in a kubernetes cluster. | |||
|
|||
Looks up a deployment or replication controller by name and creates an autoscaler that uses this deployment or replication controller as a reference. | |||
Looks up a Deployment, ReplicaSet or ReplicationController by name and creates an autoscaler that uses the given resource as a reference. |
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.
Nit: ReplicaSet,
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.
Fixed
@jlowdermilk All comments addressed. PTAL |
Labelling this PR as size/XS |
lgtm. Feel free to add label after squashing commits. |
GCE e2e build/test passed for commit 7d4332f0cc95c809b5e4e2d725f8ec1a5233523b. |
7d4332f
to
e93b855
Compare
Labelling this PR as size/M |
Squashed and applying tag. |
GCE e2e build/test passed for commit e93b855. |
GCE e2e build/test passed for commit e93b855. |
Travis failed to do its job. Closing and reopening the PR.
|
GCE e2e build/test failed for commit e93b855. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
GCE e2e build/test passed for commit e93b855. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit e93b855. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit e93b855. |
Automatic merge from submit-queue |
Auto commit by PR queue bot (cherry picked from commit 2f89867)
Commit 570b3bb found in the "release-1.2" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this s an error find help to get your PR picked. |
Auto commit by PR queue bot (cherry picked from commit 2f89867)
Auto commit by PR queue bot (cherry picked from commit 2f89867)
Auto commit by PR queue bot (cherry picked from commit 2f89867)
Auto commit by PR queue bot (cherry picked from commit 2f89867)
Ref #23231; follow up #23222
kubectl autoscale
andkubectl scale
kubectl expose
andkubectl rollout
help docs; add more examples@bgrant0607 @kubernetes/kubectl @nikhiljindal @madhusudancs