You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
3.3 KiB

6 years ago
  1. ---
  2. # Enables Internet connectivity from containers
  3. nat_outgoing: true
  4. # add default ippool name
  5. calico_pool_name: "default-pool"
  6. calico_ipv4pool_ipip: "Off"
  7. # Use IP-over-IP encapsulation across hosts
  8. ipip: true
  9. ipip_mode: "{{ 'Always' if ipip else 'Never' }}" # change to "CrossSubnet" if you only want ipip encapsulation on traffic going across subnets
  10. calico_ipip_mode: "{{ ipip_mode }}"
  11. calico_vxlan_mode: 'Never'
  12. calico_ipip_mode_ipv6: Never
  13. calico_vxlan_mode_ipv6: Never
  14. calico_pool_blocksize_ipv6: 116
  15. calico_cert_dir: /etc/calico/certs
  16. # Global as_num (/calico/bgp/v1/global/as_num)
  17. global_as_num: "64512"
  18. # You can set MTU value here. If left undefined or empty, it will
  19. # not be specified in calico CNI config, so Calico will use built-in
  20. # defaults. The value should be a number, not a string.
  21. # calico_mtu: 1500
  22. # Advertise Service External IPs
  23. calico_advertise_service_external_ips: []
  24. # Limits for apps
  25. calico_node_memory_limit: 500M
  26. calico_node_cpu_limit: 300m
  27. calico_node_memory_requests: 64M
  28. calico_node_cpu_requests: 150m
  29. calico_felix_chaininsertmode: Insert
  30. # Virtual network ID to use for VXLAN traffic. A value of 0 means “use the kernel default”.
  31. calico_vxlan_vni: 4096
  32. # Port to use for VXLAN traffic. A value of 0 means “use the kernel default”.
  33. calico_vxlan_port: 4789
  34. # Enable Prometheus Metrics endpoint for felix
  35. calico_felix_prometheusmetricsenabled: false
  36. calico_felix_prometheusmetricsport: 9091
  37. calico_felix_prometheusgometricsenabled: true
  38. calico_felix_prometheusprocessmetricsenabled: true
  39. # Set the agent log level. Can be debug, warning, info or fatal
  40. calico_loglevel: info
  41. calico_node_startup_loglevel: error
  42. # Enable or disable usage report to 'usage.projectcalico.org'
  43. calico_usage_reporting: false
  44. # Should calico ignore kernel's RPF check setting,
  45. # see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198
  46. calico_node_ignorelooserpf: false
  47. # Define address on which Felix will respond to health requests
  48. calico_healthhost: "localhost"
  49. # Configure time in seconds that calico will wait for the iptables lock
  50. calico_iptables_lock_timeout_secs: 10
  51. # Choose Calico iptables backend: "Legacy", "Auto" or "NFT" (FELIX_IPTABLESBACKEND)
  52. calico_iptables_backend: "Legacy"
  53. # If you want to use non default IP_AUTODETECTION_METHOD for calico node set this option to one of:
  54. # * can-reach=DESTINATION
  55. # * interface=INTERFACE-REGEX
  56. # see https://docs.projectcalico.org/v3.0/reference/node/configuration#ip-autodetection-methods
  57. # calico_ip_auto_method: "interface=eth.*"
  58. calico_baremetal_nodename: "{{ kube_override_hostname | default(inventory_hostname) }}"
  59. kube_etcd_cacert_file: ca.pem
  60. kube_etcd_cert_file: node-{{ inventory_hostname }}.pem
  61. kube_etcd_key_file: node-{{ inventory_hostname }}-key.pem
  62. # Choose data store type for calico: "etcd" or "kdd" (kubernetes datastore)
  63. # The default value for calico_datastore is set in role kubespray-default
  64. # Use typha (only with kdd)
  65. typha_enabled: false
  66. # Scaling typha: 1 replica per 100 nodes is adequate
  67. # Number of typha replicas
  68. typha_replicas: 1
  69. # Set max typha connections
  70. typha_max_connections_lower_limit: 300
  71. # Generate certifcates for typha<->calico-node communication
  72. typha_secure: false
  73. calico_feature_control: {}
  74. # Calico default BGP port
  75. calico_bgp_listen_port: 179