Skip to content

Commit 4fbc47a

Browse files
committed
fix(metallb): IP conflict
1 parent 3e84f1e commit 4fbc47a

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

install.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -405,19 +405,6 @@ function install_metallb() {
405405
kubectl apply -n metallb -f - <<EOF
406406
apiVersion: metallb.io/v1beta1
407407
kind: IPAddressPool
408-
metadata:
409-
name: public
410-
spec:
411-
addresses:
412-
- $(ip -o route get to 8.8.8.8 | sed -n 's/.*src \([0-9.]\+\).*/\1/p')/32
413-
serviceAllocation:
414-
priority: 50
415-
namespaces:
416-
- drycc
417-
418-
---
419-
apiVersion: metallb.io/v1beta1
420-
kind: IPAddressPool
421408
metadata:
422409
name: default
423410
spec:
@@ -432,7 +419,6 @@ metadata:
432419
namespace: metallb
433420
spec:
434421
ipAddressPools:
435-
- public
436422
- default
437423
EOF
438424
else

0 commit comments

Comments
 (0)