Install MetalLB
bash
1kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.14.9/config/manifests/metallb-native.yamlCheck Docker Destop IPs
bash
1docker network inspect -f '{{.IPAM.Config}}' kindAdjust config for metalLB
yaml
1# metallb-config.yaml2apiVersion: metallb.io/v1beta13kind: IPAddressPool4metadata:5 name: default-pool6 namespace: metallb-system7spec:8 addresses:9 - 172.18.255.200-172.18.255.250 # adjust based on your kind network range10---11apiVersion: metallb.io/v1beta112kind: L2Advertisement13metadata:14 name: default15 namespace: metallb-systemApply the config
bash
1kubectl apply -f metallb-config.yamlVerify MetalLB is working
bash
1kubectl get pods -n metallb-system2
3kubectl get svc -n ingress-nginx