Kubernetes: Difference between revisions

250 bytes added ,  16 February 2022
Line 141: Line 141:
{{hidden | Local Balancer (MetalLB) (Optional) |
{{hidden | Local Balancer (MetalLB) (Optional) |
See https://metallb.universe.tf/installation/.<br>
See https://metallb.universe.tf/installation/.<br>
I do not have this set up on mine but if you want proper load balancing, you should set it up.
<syntaxhighlight lang="bash">
cat <<EOF >values.yaml
configInline:
  address-pools:
  - name: default
    protocol: layer2
    addresses:
    - 192.168.1.2-192.168.1.11
EOF
 
helm repo add metallb https://metallb.github.io/metallb
helm upgrade --install --create-namespace -n metallb metallb metallb/metallb -f values.yaml
</syntaxhighlight>
}}
}}
;Notes
;Notes