Skip to content
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

change URL to kubectl commands #10145

Closed
wants to merge 1 commit into from
Closed

change URL to kubectl commands #10145

wants to merge 1 commit into from

Conversation

zembutsu
Copy link
Contributor

FIx #10131
At this time, there are no .md pages corresponding to each commands.
Therefore, I added a reference page anchor.

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 30, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: steveperry-53

If they are not already assigned, you can assign the PR to them by writing /assign @steveperry-53 in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 30, 2018
@k8sio-netlify-preview-bot
Copy link
Collaborator

Deploy preview for kubernetes-io-master-staging ready!

Built with commit 40f55ba

https://deploy-preview-10145--kubernetes-io-master-staging.netlify.com

1 similar comment
@k8sio-netlify-preview-bot
Copy link
Collaborator

Deploy preview for kubernetes-io-master-staging ready!

Built with commit 40f55ba

https://deploy-preview-10145--kubernetes-io-master-staging.netlify.com

@zembutsu
Copy link
Contributor Author

@zembutsu
Copy link
Contributor Author

zembutsu commented Sep 9, 2018

/assign @steveperry-53

* [kubectl uncordon](kubectl_uncordon.md) - Mark node as schedulable
* [kubectl version](kubectl_version.md) - Print the client and server version information
* [kubectl wait](kubectl_wait.md) - Experimental: Wait for one condition on one or many resources
* [kubectl alpha](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#alpha) - Commands for features in alpha
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zembutsu Please remove the domain portion from all of these. They should all start with /docs/. Thanks!

@mdlinville
Copy link
Contributor

/hold

Thanks for the PR. Please address the feedback so we can get this in. 👍

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 10, 2018
@shubheksha
Copy link
Contributor

@MistyHacks, not sure if you've seen it, but there is some discussion going on about this in #10081 regarding what'd be the right approach (cc: @tfogo @zacharysarah)

@tfogo
Copy link
Contributor

tfogo commented Sep 18, 2018

It looks like #9081 might take some time to get merged. So I think implementing a stopgap measure such as this is a good idea.

One thing to be aware of is content/en/docs/reference/kubectl/kubectl.md is a generated file. So if somebody runs the generation again, this stopgap measure will be erased.

@tengqm, what are your thoughts?

@mdlinville
Copy link
Contributor

Yeah, I didn't notice that the changes were to a generated file. You need to either change the template used to generate the file (which @tengqm and @steveperry-53 are experienced with) or if the problem is with the code the generation scripts use, you need to commit the fix to that code itself. In this case it looks like there are problems with the assumption the generation script is making. At any rate, the approach in this PR won't work and I'll close it for now. @zembutsu, please open a new PR if you want to propose a change to the generation script or to the underlying code the script uses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants