From f95876cce0f803268b7876a203bc0742bc7ca9b4 Mon Sep 17 00:00:00 2001 From: Adam Dyess Date: Tue, 14 Jan 2025 11:01:48 -0600 Subject: [PATCH] Update install-custom to clarify default-labels are maintained --- docs/src/charm/howto/install-custom.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/src/charm/howto/install-custom.md b/docs/src/charm/howto/install-custom.md index 3d794a485..7d0109a20 100644 --- a/docs/src/charm/howto/install-custom.md +++ b/docs/src/charm/howto/install-custom.md @@ -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 = one can ensure the label is added to all the nodes of this application - # Using =- 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 + # = ensures the label is added to all the nodes of this application + # =- 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