448 B
448 B
1. OpenELB
2. MetalLB
2.1 部署
wget https://raw.githubusercontent.com/metallb/metallb/v0.13.12/config/manifests/metallb-native.yaml
kubectl apply -f metallb-native.yaml
2.2 创建ip池
- metallb-ip.yaml
- kubectl apply -f metallb-ip.yaml
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- 192.168.0.40-192.168.0.50