fix(lb): address pool and advertise have to be created later
This commit is contained in:
parent
85a0e41ac9
commit
024178f4ca
|
@ -1,19 +0,0 @@
|
||||||
apiVersion: projectcalico.org/v3
|
|
||||||
items:
|
|
||||||
- apiVersion: projectcalico.org/v3
|
|
||||||
kind: IPPool
|
|
||||||
metadata:
|
|
||||||
name: default-ipv4-ippool
|
|
||||||
spec:
|
|
||||||
cidr: 192.0.0.0/16
|
|
||||||
ipipMode: Always
|
|
||||||
natOutgoing: true
|
|
||||||
disabled: true
|
|
||||||
- apiVersion: projectcalico.org/v3
|
|
||||||
kind: IPPool
|
|
||||||
metadata:
|
|
||||||
name: pod-ip-pool
|
|
||||||
spec:
|
|
||||||
cidr: 10.244.0.0/24
|
|
||||||
ipipMode: Always
|
|
||||||
natOutgoing: true
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/calico.yaml
|
- https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/calico.yaml
|
||||||
- ippool.yaml
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
namespace: metallb-system
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ipaddresspoool.yaml
|
||||||
|
- advertise.yaml
|
|
@ -3,9 +3,10 @@ kind: Kustomization
|
||||||
|
|
||||||
bases:
|
bases:
|
||||||
- ./calico
|
- ./calico
|
||||||
|
- ./metallb
|
||||||
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
|
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
|
||||||
- ./postgresql
|
- ./postgresql
|
||||||
- ./redis
|
- ./redis
|
||||||
- ./metallb
|
|
||||||
- ./minio
|
- ./minio
|
||||||
- ./nginx
|
- ./nginx
|
||||||
|
- ./ipaddresspool
|
||||||
|
|
Loading…
Reference in New Issue