roles/calico/defaults/main.yaml 增加 CALICO_NETWORKING_BACKEND 变量

pull/918/head
fidiler 2020-08-27 10:11:42 +08:00 committed by jmgao
parent 669be72a14
commit a8f57dda86
4 changed files with 6 additions and 3 deletions

View File

@ -14,6 +14,9 @@ FELIX_LOG_LVL: "warning"
#IP_AUTODETECTION_METHOD: "interface=eth0" #IP_AUTODETECTION_METHOD: "interface=eth0"
IP_AUTODETECTION_METHOD: "can-reach={{ groups['kube-master'][0] }}" IP_AUTODETECTION_METHOD: "can-reach={{ groups['kube-master'][0] }}"
# 设置calico 网络 backend: brid, vxlan, none
CALICO_NETWORKING_BACKEND: "brid"
# 更新支持calico 版本: [v3.3.x] [v3.4.x] [v3.8.x] # 更新支持calico 版本: [v3.3.x] [v3.4.x] [v3.8.x]
calicoVer: "v3.8.8" calicoVer: "v3.8.8"
calico_ver: "{{ calicoVer }}" calico_ver: "{{ calicoVer }}"

View File

@ -21,7 +21,7 @@ data:
etcd_cert: "/calico-secrets/etcd-cert" etcd_cert: "/calico-secrets/etcd-cert"
etcd_key: "/calico-secrets/etcd-key" etcd_key: "/calico-secrets/etcd-key"
# Configure the Calico backend to use. # Configure the Calico backend to use.
calico_backend: "bird" calico_backend: "{{ CALICO_NETWORKING_BACKEND }}"
# Configure the MTU to use # Configure the MTU to use
veth_mtu: "1440" veth_mtu: "1440"

View File

@ -21,7 +21,7 @@ data:
etcd_cert: "/calico-secrets/etcd-cert" etcd_cert: "/calico-secrets/etcd-cert"
etcd_key: "/calico-secrets/etcd-key" etcd_key: "/calico-secrets/etcd-key"
# Configure the Calico backend to use. # Configure the Calico backend to use.
calico_backend: "bird" calico_backend: "{{ CALICO_NETWORKING_BACKEND }}"
# Configure the MTU to use # Configure the MTU to use
veth_mtu: "1440" veth_mtu: "1440"

View File

@ -22,7 +22,7 @@ data:
# Typha is disabled. # Typha is disabled.
typha_service_name: "none" typha_service_name: "none"
# Configure the backend to use. # Configure the backend to use.
calico_backend: "bird" calico_backend: "{{ CALICO_NETWORKING_BACKEND }}"
# Configure the MTU to use # Configure the MTU to use
veth_mtu: "1440" veth_mtu: "1440"