support flannel dual stack (#9564)
parent
94eae6a8dc
commit
ff331f4eba
|
@ -31,6 +31,11 @@ data:
|
||||||
net-conf.json: |
|
net-conf.json: |
|
||||||
{
|
{
|
||||||
"Network": "{{ kube_pods_subnet }}",
|
"Network": "{{ kube_pods_subnet }}",
|
||||||
|
"EnableIPv4": true,
|
||||||
|
{% if enable_dual_stack_networks %}
|
||||||
|
"EnableIPv6": true,
|
||||||
|
"IPv6Network": "{{ kube_pods_subnet_ipv6 }}",
|
||||||
|
{% endif %}
|
||||||
"Backend": {
|
"Backend": {
|
||||||
"Type": "{{ flannel_backend_type }}"{% if flannel_backend_type == "vxlan" %},
|
"Type": "{{ flannel_backend_type }}"{% if flannel_backend_type == "vxlan" %},
|
||||||
"VNI": {{ flannel_vxlan_vni }},
|
"VNI": {{ flannel_vxlan_vni }},
|
||||||
|
|
Loading…
Reference in New Issue