-
Notifications
You must be signed in to change notification settings - Fork 15k
Updated node roles in docs #49360
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
Updated node roles in docs #49360
Conversation
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Thanks. Let's make sure to document the node-role.kubernetes.io/*
node label too.
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.
How about these changes? They'd align better with the style guide.
However, I also think that making this change as-is makes the docs overall better, so:
/lgtm
LGTM label has been added. Git tree hash: 5cfe56a8f3df5d112933da799f6e4bcac4dfe5ce
|
Thanks for the suggestions. I have updated the PR to better suite the style guide. |
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.
One more change and this is dead right (see inline feedback)
/lgtm
If we merge this, the docs are less wrong.
@@ -140,6 +140,11 @@ When you want to create Node objects manually, set the kubelet flag `--register- | |||
You can modify Node objects regardless of the setting of `--register-node`. | |||
For example, you can set labels on an existing Node or mark it unschedulable. | |||
|
|||
You can set optional node role(s) for nodes by adding one or more `node-role.kubernetes.io/<role>: <role>` labels to the node where characters of `<role>` | |||
are limited by the [syntax](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for labels. |
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.
are limited by the [syntax](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for labels. | |
are limited by the [syntax](/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for labels. |
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
LGTM label has been added. Git tree hash: d2da1cf1d3ff8ef5ce395ab4740a852f9a56e6f0
|
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.
/lgtm
LGTM label has been added. Git tree hash: 5733119b5ac6e58e10908f7413db2e2168c5e5d2
|
You can set optional node role(s) for nodes by adding one or more `node-role.kubernetes.io/<role>: <role>` labels to the node where characters of `<role>` | ||
are limited by the [syntax](/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set) rules for labels. | ||
|
||
Kubernetes ignores the label value for node roles;by convention, you can set it to the same string you used for the node role in label key. |
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.
Kubernetes ignores the label value for node roles;by convention, you can set it to the same string you used for the node role in label key. | |
Kubernetes ignores the label value for node roles; by convention, you can set it to the same string you used for the node role in the label key. |
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.
I have addressed this in the new commit. Thanks for pointing this out.
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.
You are welcome
Hi @sftim and @network-charles.. |
/lgtm |
LGTM label has been added. Git tree hash: d82c6e199568f8de4135c3ccb23214fd7c2a6116
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim 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 |
Fixes: #48803