feat(cni): updating calico install

This commit is contained in:
Philippe Caseiro 2022-11-30 10:29:34 +01:00
parent befbc3b13a
commit c3cb59fed5
3 changed files with 26 additions and 1 deletions

19
base/calico/ippool.yaml Normal file
View File

@ -0,0 +1,19 @@
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

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

View File

@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
bases: bases:
- https://raw.githubusercontent.com/projectcalico/calico/v3.24.5/manifests/calico.yaml - ./calico
- 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