bplein / post-talos-setup

0 stars 0 forks source link

Setup notes: MetalLB #1

Open magsol opened 1 month ago

magsol commented 1 month ago

It looks like our configurations are just about identical, with a couple small exceptions:

Pretty sure these changes don't make any substantive difference but wanted to record them anyway.

bplein commented 1 month ago

If you include an anonymized version here, I can see if it makes sense to change it to your version. Thanks!

magsol commented 1 month ago

First I installed metallb via helm:

helm install metallb metallb/metallb \
    --create-namespace \
    --namespace metallb

Then I applied the custom config, reproduced below:

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: my-pool
  namespace: metallb
spec:
  addresses:
  - 192.168.1.100-192.168.1.150
  autoAssign: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
  name: base-l2-advertise
  namespace: metallb
spec:
  ipAddressPools:
  - my-pool

This is pretty much it, verbatim.