metalib/controller:v0.13.10
metalib/speaker:v0.13.10
두개 반입
yaml 반입
wget https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
bash
kubectl edit configmap -n kube-system kube-proxy
yaml
# 아래와 완전히 똑같지 않고 strictARP를 찾아서 false를 true로 변경
apiVersion: kubeproxy.config.k8s.io/v1alpha1
kind: KubeProxyConfiguration
mode: "ipvs"
ipvs:
strictARP: true
https://metallb.universe.tf/configuration/
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- ${IP대역넣기}
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: example
namespace: metallb-system
spec:
ipAddressPools:
- first-pool
IP대역 받아서 확인 필요