2016-01-30 23:04:47 +08:00
|
|
|
---
|
2016-02-21 19:42:23 +08:00
|
|
|
# Enables Internet connectivity from containers
|
|
|
|
nat_outgoing: true
|
2016-03-24 00:27:06 +08:00
|
|
|
|
2018-09-06 22:26:57 +08:00
|
|
|
# add default ippool name
|
2018-08-23 22:17:18 +08:00
|
|
|
calico_pool_name: "default-pool"
|
|
|
|
|
2016-07-21 19:05:40 +08:00
|
|
|
# Use IP-over-IP encapsulation across hosts
|
2017-06-23 15:16:05 +08:00
|
|
|
ipip: true
|
2018-08-23 22:17:18 +08:00
|
|
|
ipip_mode: Always # change to "CrossSubnet" if you only want ipip encapsulation on traffic going across subnets
|
2016-07-21 19:05:40 +08:00
|
|
|
|
2016-09-22 23:34:11 +08:00
|
|
|
# Set to true if you want your calico cni binaries to overwrite the
|
|
|
|
# ones from hyperkube while leaving other cni plugins intact.
|
2016-10-09 01:19:25 +08:00
|
|
|
overwrite_hyperkube_cni: true
|
2016-11-09 18:44:41 +08:00
|
|
|
|
|
|
|
calico_cert_dir: /etc/calico/certs
|
|
|
|
etcd_cert_dir: /etc/ssl/etcd/ssl
|
2016-11-14 15:48:28 +08:00
|
|
|
|
2016-12-09 00:48:54 +08:00
|
|
|
# Global as_num (/calico/bgp/v1/global/as_num)
|
|
|
|
global_as_num: "64512"
|
|
|
|
|
2016-11-14 15:48:28 +08:00
|
|
|
# You can set MTU value here. If left undefined or empty, it will
|
|
|
|
# not be specified in calico CNI config, so Calico will use built-in
|
|
|
|
# defaults. The value should be a number, not a string.
|
|
|
|
# calico_mtu: 1500
|
2016-12-23 22:44:44 +08:00
|
|
|
|
|
|
|
# Limits for apps
|
|
|
|
calico_node_memory_limit: 500M
|
|
|
|
calico_node_cpu_limit: 300m
|
2017-02-28 00:53:43 +08:00
|
|
|
calico_node_memory_requests: 64M
|
2016-12-23 22:44:44 +08:00
|
|
|
calico_node_cpu_requests: 150m
|
|
|
|
calicoctl_memory_limit: 170M
|
|
|
|
calicoctl_cpu_limit: 100m
|
2017-02-28 00:53:43 +08:00
|
|
|
calicoctl_memory_requests: 32M
|
2016-12-23 22:44:44 +08:00
|
|
|
calicoctl_cpu_requests: 50m
|
2017-08-20 19:01:09 +08:00
|
|
|
|
2017-10-04 05:24:05 +08:00
|
|
|
# Enable Prometheus Metrics endpoint for felix
|
|
|
|
calico_felix_prometheusmetricsenabled: "false"
|
|
|
|
calico_felix_prometheusmetricsport: 9091
|
|
|
|
calico_felix_prometheusgometricsenabled: "true"
|
|
|
|
calico_felix_prometheusprocessmetricsenabled: "true"
|
|
|
|
|
2018-08-23 22:17:18 +08:00
|
|
|
### check latest version https://github.com/projectcalico/calico-upgrade/releases
|
2018-09-06 20:49:06 +08:00
|
|
|
calico_upgrade_enabled: true
|
2018-08-23 22:17:18 +08:00
|
|
|
calico_upgrade_version: v1.0.5
|
|
|
|
|
2017-08-20 19:01:09 +08:00
|
|
|
# Should calico ignore kernel's RPF check setting,
|
|
|
|
# see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198
|
|
|
|
calico_node_ignorelooserpf: false
|
2017-09-04 16:29:51 +08:00
|
|
|
|
2018-09-18 20:48:29 +08:00
|
|
|
# Define address on which Felix will respond to health requests
|
|
|
|
calico_healthhost: "localhost"
|
|
|
|
|
2018-03-24 06:54:17 +08:00
|
|
|
# If you want to use non default IP_AUTODETECTION_METHOD for calico node set this option to one of:
|
|
|
|
# * can-reach=DESTINATION
|
|
|
|
# * interface=INTERFACE-REGEX
|
|
|
|
# see https://docs.projectcalico.org/v3.0/reference/node/configuration#ip-autodetection-methods
|
2018-03-28 22:30:00 +08:00
|
|
|
# calico_ip_auto_method: "interface=eth.*"
|
2018-05-14 20:13:51 +08:00
|
|
|
|
|
|
|
calico_baremetal_nodename: "{{ inventory_hostname }}"
|
2018-08-23 22:17:18 +08:00
|
|
|
|
|
|
|
### do not enable this, this is detected in scope of tasks, this is just a default value
|
2018-09-06 20:49:06 +08:00
|
|
|
calico_upgrade_needed: false
|