mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-01 00:38:49 -03:30
refact ip stack (#11953)
This commit is contained in:
@@ -30,12 +30,14 @@ data:
|
||||
}
|
||||
net-conf.json: |
|
||||
{
|
||||
{% if ipv4_stack %}
|
||||
"Network": "{{ kube_pods_subnet }}",
|
||||
"EnableIPv4": true,
|
||||
{% if enable_dual_stack_networks %}
|
||||
{% endif %}
|
||||
{% if ipv6_stack %}
|
||||
"EnableIPv6": true,
|
||||
"IPv6Network": "{{ kube_pods_subnet_ipv6 }}",
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
"Backend": {
|
||||
"Type": "{{ flannel_backend_type }}"{% if flannel_backend_type == "vxlan" %},
|
||||
"VNI": {{ flannel_vxlan_vni }},
|
||||
|
||||
Reference in New Issue
Block a user