2018-06-09 17:57:17 +08:00
|
|
|
|
# 部分flannel配置,详见roles/flannel/templates/kube-flannel.yaml.j2
|
|
|
|
|
|
2018-08-30 21:08:56 +08:00
|
|
|
|
# 如果 node 节点有多块网卡,请设置 true
|
2018-08-30 22:02:12 +08:00
|
|
|
|
# 另外发现设置为 true 时能够解决v1.10使用ipvs偶尔出现pod内‘dial tcp 10.68.0.1:443: i/o timeout’的 bug
|
|
|
|
|
NODE_WITH_MULTIPLE_NETWORKS: "true"
|
2018-08-30 21:08:56 +08:00
|
|
|
|
|
2018-06-09 17:57:17 +08:00
|
|
|
|
# 设置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"
|
2018-06-26 21:06:52 +08:00
|
|
|
|
|
|
|
|
|
# 离线镜像tar包
|
2019-02-15 14:47:43 +08:00
|
|
|
|
flannel_offline: "flannel_v0.11.0-amd64.tar"
|