From a0d5a585e49e33f3a6dd9f742d6883dd3f1291ac Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Wed, 4 Sep 2024 23:12:23 +0300 Subject: [PATCH] add and configure calico ippool --- tigera-operator/application.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tigera-operator/application.yaml b/tigera-operator/application.yaml index 9eebc3c..f0cdfbf 100644 --- a/tigera-operator/application.yaml +++ b/tigera-operator/application.yaml @@ -12,7 +12,22 @@ spec: - blockSize: 26 cidr: 10.244.0.0/16 natOutgoing: Disabled - nodeSelector: all() + nodeSelector: all() +--- +apiVersion: crd.projectcalico.org/v1 +kind: IPPool +metadata: + name: default-ipv4-ippool +spec: + allowedUses: + - Workload + - Tunnel + blockSize: 26 + cidr: 10.244.0.0/16 + ipipMode: Always + nodeSelector: all() + vxlanMode: Never + natOutgoing: True --- # This section configures the Calico API server. # For more information, see: https://projectcalico.docs.tigera.io/master/reference/installation/api#operator.tigera.io/v1.APIServer @@ -51,6 +66,7 @@ spec: - cidr: 193.40.103.39/32 - cidr: 62.65.250.36/32 - cidr: 62.65.250.37/32 + - cidr: 62.65.250.38/32 - cidr: 62.65.250.2/32 - cidr: 193.40.103.25/32 ---