-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Added generator for running pod new documentation #20158
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Deploy preview for kubernetes-io-master-staging ready! Built with commit ba72c5c https://deploy-preview-20158--kubernetes-io-master-staging.netlify.com |
/assign @jaredbhatti |
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.
Here's some different wording @jayeshmahajan that you can switch to if you like
Either way, could you squash this to 1 commit? (if that's a problem, reply and there are ways that we, as approvers, can work around that)
kubectl apply -f https://git.io/vPieo # create resource(s) from url | ||
kubectl create deployment nginx --image=nginx # start a single instance of nginx | ||
kubectl explain pods # get the documentation for pod manifests | ||
kubectl run --generator=run-pod/v1 nginx --image=nginx # create nginx pod without creating deployment |
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 run --generator=run-pod/v1 nginx --image=nginx # create nginx pod without creating deployment | |
kubectl run --generator=run-pod/v1 nginx --image=nginx # start a single instance of nginx, without creating deployment |
?
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.
Actually, in Kubernetes v1.18 all generators are documented. I don't think it's a good idea to add this to the cheat sheet.
@jayeshmahajan generators are deprecated. Are you willing to close this PR? |
Closing this PR due to lack of response. Feel free to reopen if desired! |
@jimangel: Closed this PR. 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. |
No description provided.