mirror of https://github.com/easzlab/kubeasz.git
增加flannel vxlan可选开启DirectRouting特性
parent
6bc21505e1
commit
68dd18a03c
|
@ -3,6 +3,7 @@
|
|||
# 设置flannel 后端
|
||||
#FLANNEL_BACKEND: "host-gw"
|
||||
FLANNEL_BACKEND: "vxlan"
|
||||
DIRECT_ROUTING: false
|
||||
|
||||
#flanneld_image: "quay.io/coreos/flannel:v0.10.0-amd64"
|
||||
flanneld_image: "easzlab/flannel:v0.11.0-amd64"
|
||||
|
|
|
@ -75,6 +75,9 @@ data:
|
|||
{
|
||||
"Network": "{{ CLUSTER_CIDR }}",
|
||||
"Backend": {
|
||||
{% if FLANNEL_BACKEND == "vxlan" and DIRECT_ROUTING %}
|
||||
"DirectRouting": true,
|
||||
{% endif %}
|
||||
"Type": "{{ FLANNEL_BACKEND }}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue