metallb
This commit is contained in:
parent
1748f3d6d9
commit
da00dcab2f
2 changed files with 30 additions and 0 deletions
18
clusters/vntx/metallb/loadbalancer.yaml
Normal file
18
clusters/vntx/metallb/loadbalancer.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: metallb.io/v1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: default
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 204.110.191.10-204.110.191.29
|
||||
autoAssign: true
|
||||
---
|
||||
apiVersion: metallb.io/v1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: default
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- default
|
||||
12
clusters/vntx/metallb/metallb-config.yaml
Normal file
12
clusters/vntx/metallb/metallb-config.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
namespace: metallb-system
|
||||
name: config
|
||||
data:
|
||||
config: |
|
||||
address-pools:
|
||||
- name: default
|
||||
protocol: layer2
|
||||
addresses:
|
||||
- 204.110.191.10-204.110.191.29
|
||||
Loading…
Add table
Reference in a new issue