Skip to content

Commit

Permalink
Clarify node-labels are additive or destructive
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jan 10, 2025
1 parent 37d86c1 commit 29b3008
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/src/charm/howto/install-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ k8s:
dns-cluster-domain: "cluster.local"
dns-upstream-nameservers: "8.8.8.8 8.8.4.4"

# Add custom node labels
node-labels: "environment=production zone=us-east-1"
# 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=-"

# Configure local storage
local-storage-enabled: true
Expand Down

0 comments on commit 29b3008

Please sign in to comment.