b7e6dd0dd4
Flannel use interface for inter-host communication setted on --iface options Defaults to the interface for the default route on the machine. flannel config set via daemonset, and flannel config on all nodes is the same. But different nodes can have different interface names for the inter-host communication network The option --iface-regex allows the flannel to find the interface on which the address is set from the inter-host communication network
28 lines
No EOL
1 KiB
YAML
28 lines
No EOL
1 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(ansible_default_ipv4.address)) }}"
|
|
|
|
## 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"
|
|
|
|
# Limits for apps
|
|
flannel_memory_limit: 500M
|
|
flannel_cpu_limit: 300m
|
|
flannel_memory_requests: 64M
|
|
flannel_cpu_requests: 150m
|
|
|
|
# Legacy directory, will be removed if found.
|
|
flannel_cert_dir: /etc/flannel/certs |