2016-01-24 02:27:06 +08:00
|
|
|
---
|
2016-01-27 04:41:42 +08:00
|
|
|
# Flannel public IP
|
|
|
|
# The address that flannel should advertise as how to access the system
|
2017-08-25 15:07:50 +08:00
|
|
|
# Disabled until https://github.com/coreos/flannel/issues/712 is fixed
|
2024-09-30 20:24:51 +08:00
|
|
|
# flannel_public_ip: "{{ access_ip | default(ip | default(fallback_ip)) }}"
|
2016-01-24 02:27:06 +08:00
|
|
|
|
|
|
|
## interface that should be used for flannel operations
|
2018-03-17 02:44:36 +08:00
|
|
|
## This is actually an inventory cluster-level item
|
2016-01-24 02:27:06 +08:00
|
|
|
# flannel_interface:
|
2016-03-04 18:25:01 +08:00
|
|
|
|
2018-03-17 02:44:36 +08:00
|
|
|
## 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}'
|
|
|
|
|
2016-03-04 18:25:01 +08:00
|
|
|
# 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"
|
2020-04-15 18:14:02 +08:00
|
|
|
flannel_vxlan_vni: 1
|
|
|
|
flannel_vxlan_port: 8472
|
2022-11-01 04:16:45 +08:00
|
|
|
flannel_vxlan_direct_routing: false
|
2016-12-23 22:44:44 +08:00
|
|
|
|
|
|
|
# Limits for apps
|
|
|
|
flannel_memory_limit: 500M
|
|
|
|
flannel_cpu_limit: 300m
|
2017-02-28 00:53:43 +08:00
|
|
|
flannel_memory_requests: 64M
|
2016-12-23 22:44:44 +08:00
|
|
|
flannel_cpu_requests: 150m
|