fix(lb): address pool and advertise have to be created later

This commit is contained in:
Philippe Caseiro 2022-11-30 13:53:31 +01:00
parent 85a0e41ac9
commit 024178f4ca
6 changed files with 11 additions and 22 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/calico.yaml
- ippool.yaml
- https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/calico.yaml

View File

@ -0,0 +1,5 @@
namespace: metallb-system
resources:
- ipaddresspoool.yaml
- advertise.yaml

View File

@ -3,9 +3,10 @@ kind: Kustomization
bases:
- ./calico
- ./metallb
- https://github.com/cert-manager/cert-manager/releases/download/v1.10.0/cert-manager.yaml
- ./postgresql
- ./redis
- ./metallb
- ./minio
- ./nginx
- ./ipaddresspool