k8s-cluster: add metallb
This commit is contained in:
parent
1ce673153d
commit
01ea9b8fde
9
clusters/k8s-cluster/metallb-system/ip-address-pool.yaml
Normal file
9
clusters/k8s-cluster/metallb-system/ip-address-pool.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: IPAddressPool
|
||||
metadata:
|
||||
name: first-pool
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 10.100.100.220-10.100.100.230
|
7
clusters/k8s-cluster/metallb-system/kustomization.yaml
Normal file
7
clusters/k8s-cluster/metallb-system/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- metallb-native.yaml
|
||||
- ip-address-pool.yaml
|
||||
- l2-advertisement.yaml
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: example
|
||||
namespace: metallb-system
|
1997
clusters/k8s-cluster/metallb-system/metallb-native.yaml
Normal file
1997
clusters/k8s-cluster/metallb-system/metallb-native.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user