mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-17 12:41:21 -03:30
The fallback_ips tasks are essentially serializing the gathering of one fact on all the hosts, which can have dramatic performance implications on large clusters (several minutes). This is essentially a reversal of 35f248dff0ddb430e2293af98ba73aa5062c89c1 Being able to run without refreshing the cache facts is not worth it. We keep fallback_ip for now, simply changing the access to a normal hostvars variable instead of a custom dictionnary.
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
---
|
|
# Flannel public IP
|
|
# The address that flannel should advertise as how to access the system
|
|
# Disabled until https://github.com/coreos/flannel/issues/712 is fixed
|
|
# flannel_public_ip: "{{ access_ip | default(ip | default(fallback_ip)) }}"
|
|
|
|
## interface that should be used for flannel operations
|
|
## This is actually an inventory cluster-level item
|
|
# flannel_interface:
|
|
|
|
## Select interface that should be used for flannel operations by regexp on Name or IP
|
|
## This is actually an inventory cluster-level item
|
|
## example: select interface with ip from net 10.0.0.0/23
|
|
## single quote and escape backslashes
|
|
# flannel_interface_regexp: '10\\.0\\.[0-2]\\.\\d{1,3}'
|
|
|
|
# You can choose what type of flannel backend to use
|
|
# please refer to flannel's docs : https://github.com/coreos/flannel/blob/master/README.md
|
|
flannel_backend_type: "vxlan"
|
|
flannel_vxlan_vni: 1
|
|
flannel_vxlan_port: 8472
|
|
flannel_vxlan_direct_routing: false
|
|
|
|
# Limits for apps
|
|
flannel_memory_limit: 500M
|
|
flannel_cpu_limit: 300m
|
|
flannel_memory_requests: 64M
|
|
flannel_cpu_requests: 150m
|