support flannel dual stack (#9564)
This commit is contained in:
parent
94eae6a8dc
commit
ff331f4eba
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue