In the new metallb first, we need to enable the ARP using the following command
kubectl get configmap kube-proxy -n kube-system -o yaml | \
sed -e "s/strictARP: false/strictARP: true/" | \
kubectl apply -f - -n kube-system
Then apply the new metal lb file.
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-native.yaml
Apply the following Yaml to mention the IP's which Metal LB can use.
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- 172.16.2.80-172.16.2.90
From.
https://metallb.universe.tf/installation/
No comments:
Post a Comment