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.

67 lines
2.3 KiB

  1. # see roles/network_plugin/calico/defaults/main.yml
  2. ## With calico it is possible to distributed routes with border routers of the datacenter.
  3. ## Warning : enabling router peering will disable calico's default behavior ('node mesh').
  4. ## The subnets of each nodes will be distributed by the datacenter router
  5. # peer_with_router: false
  6. # Enables Internet connectivity from containers
  7. # nat_outgoing: true
  8. # add default ippool name
  9. # calico_pool_name: "default-pool"
  10. # add default ippool blockSize (defaults kube_network_node_prefix)
  11. # calico_pool_blocksize: 24
  12. # add default ippool CIDR (must be inside kube_pods_subnet, defaults to kube_pods_subnet otherwise)
  13. # calico_pool_cidr: 1.2.3.4/5
  14. # Global as_num (/calico/bgp/v1/global/as_num)
  15. # global_as_num: "64512"
  16. # You can set MTU value here. If left undefined or empty, it will
  17. # not be specified in calico CNI config, so Calico will use built-in
  18. # defaults. The value should be a number, not a string.
  19. # calico_mtu: 1500
  20. # Advertise Cluster IPs
  21. # calico_advertise_cluster_ips: true
  22. # Choose data store type for calico: "etcd" or "kdd" (kubernetes datastore)
  23. # calico_datastore: "etcd"
  24. # Choose Calico iptables backend: "Legacy", "Auto" or "NFT"
  25. # calico_iptables_backend: "Legacy"
  26. # Use typha (only with kdd)
  27. # typha_enabled: false
  28. # Generate TLS certs for secure typha<->calico-node communication
  29. # typha_secure: false
  30. # Scaling typha: 1 replica per 100 nodes is adequate
  31. # Number of typha replicas
  32. # typha_replicas: 1
  33. # Set max typha connections
  34. # typha_max_connections_lower_limit: 300
  35. # Set calico network backend: "bird", "vxlan" or "none"
  36. # bird enable BGP routing, required for ipip mode.
  37. # calico_network_backend: bird
  38. # IP in IP and VXLAN is mutualy exclusive modes.
  39. # set IP in IP encapsulation mode: "Always", "CrossSubnet", "Never"
  40. # calico_ipip_mode: 'Always'
  41. # set VXLAN encapsulation mode: "Always", "CrossSubnet", "Never"
  42. # calico_vxlan_mode: 'Never'
  43. # If you want to use non default IP_AUTODETECTION_METHOD for calico node set this option to one of:
  44. # * can-reach=DESTINATION
  45. # * interface=INTERFACE-REGEX
  46. # see https://docs.projectcalico.org/reference/node/configuration
  47. # calico_ip_auto_method: "interface=eth.*"
  48. # Choose the iptables insert mode for Calico: "Insert" or "Append".
  49. # calico_felix_chaininsertmode: Insert