feat: implement calico cni - too many problems with flannel (#94)
Signed-off-by: Devin Buhl <devin.kray@gmail.com>
This commit is contained in:
1 parent
49a659e674
commit
4bf2f2fbe0
4 files changed
+25
-2
No files matched your search
@@ -25,8 +25,14 @@ k3s_use_unsupported_config: false
|
||||
# (string) Control Plane registration address
|
||||
k3s_registration_address: "{{ kubevip_address }}"
|
||||
|
||||
# (list) A list of URLs to deploy on the primary control plane. Read notes below.
|
||||
k3s_server_manifests_urls:
|
||||
- url: https://docs.projectcalico.org/archive/v3.20/manifests/tigera-operator.yaml
|
||||
filename: tigera-operator.yaml
|
||||
|
||||
# (list) A flat list of templates to deploy on the primary control plane
|
||||
# /var/lib/rancher/k3s/server/manifests
|
||||
k3s_server_manifests_templates:
|
||||
- "calico-installation.yaml.j2"
|
||||
- "kube-vip-rbac.yaml.j2"
|
||||
- "kube-vip-daemonset.yaml.j2"
|
||||
@@ -12,8 +12,9 @@ k3s_server:
|
||||
# kube-vip
|
||||
- "{{ kubevip_address }}"
|
||||
docker: false
|
||||
flannel-backend: "host-gw" # This needs to be in quotes
|
||||
flannel-backend: "none" # This needs to be in quotes
|
||||
disable:
|
||||
- flannel
|
||||
- traefik
|
||||
- servicelb
|
||||
- metrics-server
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
apiVersion: operator.tigera.io/v1
|
||||
kind: Installation
|
||||
metadata:
|
||||
name: default
|
||||
spec:
|
||||
calicoNetwork:
|
||||
# Note: The ipPools section cannot be modified post-install.
|
||||
ipPools:
|
||||
- blockSize: 26
|
||||
cidr: "{{ k3s_server['cluster-cidr'] }}"
|
||||
encapsulation: "VXLANCrossSubnet"
|
||||
natOutgoing: Enabled
|
||||
nodeSelector: all()
|
||||
nodeMetricsPort: 9091
|
||||
typhaMetricsPort: 9093
|
||||
Reference in new issue
Block a user