-
Notifications
You must be signed in to change notification settings - Fork 14
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
[Docs] Clarify node-labels are additive or destructive #949
base: main
Are you sure you want to change the base?
Conversation
This may need a troubleshooting page on its own. Right @nhennigan ? |
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.
Generally LGTM, minor comments and questions.
# Add/Remove custom node labels | ||
# Using <key>=<value> one can ensure the label is added to all the nodes of this application | ||
# Using <key>=- one can ensure the label is removed from all the nodes of this application | ||
node-labels: "environment=production zone=us-east-1 node-role.kubernetes.io/worker=-" |
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 don't understand the use-case of the removal syntax. Could you elaborate on why this is needed?
A node-label that is not defined here is not set as part of the bootstrapping process. Why/from where should a node get the labels in that phase?
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.
Ah, do we apply those node-labels
on top of the default labels?
# Troubleshooting | ||
|
||
This page provides techniques for troubleshooting common {{product}} | ||
issues dealing specifically with the charm |
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: Missing .
at the end
|
||
|
||
|
||
<!-- LINKS --> |
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: I guess we don't need that.
issues dealing specifically with the charm | ||
|
||
|
||
## Adjusting kubernetes node 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.
nit: Kubernetes?
Overview
Indicate to users that the charm config
node-labels
is both additive and destructive and can be used for either purpose.