kubeasz/roles/calico/defaults/main.yml

20 lines
670 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 部分calico相关配置更全配置可以去roles/calico/templates/calico.yaml.j2自定义
# 设置 CALICO_IPV4POOL_IPIP=“off”,可以提高网络性能,条件限制详见 docs/06.calico.md
CALICO_IPV4POOL_IPIP: "always"
# 设置 Felix 日志级别
FELIX_LOG_LVL: "warning"
# 设置 calico-node使用的host IPbgp邻居通过该地址建立可手工指定也可以自动发现
#IP_AUTODETECTION_METHOD: "interface=eth0"
IP_AUTODETECTION_METHOD: "can-reach={{ MASTER_IP }}"
# 镜像版本
calico_node_ver: "v3.1.3"
calico_cni_ver: "v3.1.3"
calico_kube_controller_ver: "v3.1.3"
# 离线镜像tar包
calico_offline: "calico_{{ calico_node_ver }}.tar"