K3s Cluster 구축하기(3)

·2025년 4월 20일

K3s의 기본 LoadBalancer(ServiceLB)를 disable했기 때문에 MetalLB를 설치

# https://metallb.io/installation/#installation-with-helm

helm repo add metallb https://metallb.github.io/metallb
helm install metallb metallb/metallb -n metallb-system --create-namespace

Layer 2 Configuratoin

apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
  name: ip-address-pool
  namespace: metallb-system
spec:
  addresses:
  - 10.0.0.200-10.0.0.239
 
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
  name: l2-advertisement
  namespace: metallb-system

에러가 나는 경우 방화벽 설정 확인

profile

0개의 댓글