kubeasz/roles/flannel/defaults/main.yml

19 lines
656 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.

# 部分flannel配置详见roles/flannel/templates/kube-flannel.yaml.j2
# 如果 node 节点有多块网卡,请设置 true
# 另外发现设置为 true 时能够解决v1.10使用ipvs偶尔出现pod内dial tcp 10.68.0.1:443: i/o timeout的 bug
NODE_WITH_MULTIPLE_NETWORKS: "true"
# 设置flannel 后端
#FLANNEL_BACKEND: "host-gw"
FLANNEL_BACKEND: "vxlan"
#install_cni_image: "quay.io/coreos/flannel:v0.10.0-amd64"
install_cni_image: "jmgao1983/flannel:v0.10.0-amd64"
#flanneld_image: "quay.io/coreos/flannel:v0.10.0-amd64"
flanneld_image: "jmgao1983/flannel:v0.10.0-amd64"
# 离线镜像tar包
flannel_offline: "flannel_v0.10.0-amd64.tar"