Skip to content

Commit

Permalink
Update install-custom to clarify default-labels are maintained
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Jan 14, 2025
1 parent c6e67be commit f95876c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/src/charm/howto/install-custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ k8s:
dns-cluster-domain: "cluster.local"
dns-upstream-nameservers: "8.8.8.8 8.8.4.4"

# 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=-"
# Add & Remove node-labels from the snap's default labels
# The k8s snap applies its default labels, these labels define what
# are added or removed from those defaults
# <key>=<value> ensures the label is added to all the nodes of this application
# <key>=- ensures the label is removed from all the nodes of this application
# See charm-configuration notes for more information regarding node labelling
node-labels: >-
environment=production
node-role.kubernetes.io/worker=-
zone=us-east-1
# Configure local storage
local-storage-enabled: true
Expand Down

0 comments on commit f95876c

Please sign in to comment.