Update tolerations
This commit is contained in:
parent
ad8050401a
commit
d9ea0bcb65
2 changed files with 13 additions and 11 deletions
|
@ -24,7 +24,9 @@ metallb_speaker_enabled: true
|
|||
By default only the MetalLB BGP speaker is allowed to run on control plane nodes. If you have a single node cluster or a cluster where control plane are also worker nodes you may need to enable tolerations for the MetalLB controller:
|
||||
|
||||
```yaml
|
||||
metallb_controller_tolerations:
|
||||
metallb_config:
|
||||
controller:
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Equal"
|
||||
value: ""
|
||||
|
|
|
@ -1550,9 +1550,9 @@ spec:
|
|||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||
name: cert
|
||||
readOnly: true
|
||||
{% if metallb_controller_tolerations %}
|
||||
{% if metallb_config.controller.tolerations %}
|
||||
tolerations:
|
||||
{{ metallb_controller_tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
|
||||
{{ metallb_config.controller.tolerations | to_nice_yaml(indent=2) | indent(width=8) }}
|
||||
{% endif %}
|
||||
{% if metallb_controller_nodeselector %}
|
||||
nodeSelector:
|
||||
|
|
Loading…
Reference in a new issue