Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions manuscript/kubernetes/loadbalancer/metallb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Now we're into the metallb-specific YAMLs. First, we create a ConfigMap, contain
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
<snip>

prometheus:
## Prometheus Operator service monitors
##
Expand All @@ -141,7 +141,7 @@ Now we're into the metallb-specific YAMLs. First, we create a ConfigMap, contain

--8<-- "kubernetes-why-full-values-in-configmap.md"

Then work your way through the values you pasted, and change any which are specific to your configuration. I'd recommend changing the following:
Then work your way through the values you pasted, and change any which are specific to your configuration. I'd recommend adding the following to the values.yaml section:

* `existingConfigMap: metallb-config`: I prefer to set my MetalLB config independently of the chart config, so I set this to `metallb-config`, which I then define below.
* `commonAnnotations`: Anticipating the future use of Reloader to bounce applications when their config changes, I add the `configmap.reloader.stakater.com/reload: "metallb-config"` annotation to all deployed objects, which will instruct Reloader to bounce the daemonset if the ConfigMap changes.
Expand Down