kubeasz/roles/flannel/defaults/main.yml

16 lines
543 B
YAML
Raw Normal View History

# 部分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"
#flanneld_image: "quay.io/coreos/flannel:v0.10.0-amd64"
2019-02-15 14:47:43 +08:00
flanneld_image: "jmgao1983/flannel:v0.11.0-amd64"
# 离线镜像tar包
2019-02-15 14:47:43 +08:00
flannel_offline: "flannel_v0.11.0-amd64.tar"