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.

109 lines
3.9 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. # Enables Calico CNI "host-local" IPAM plugin
  9. # calico_ipam_host_local: true
  10. # add default ippool name
  11. # calico_pool_name: "default-pool"
  12. # add default ippool blockSize (defaults kube_network_node_prefix)
  13. # calico_pool_blocksize: 24
  14. # add default ippool CIDR (must be inside kube_pods_subnet, defaults to kube_pods_subnet otherwise)
  15. # calico_pool_cidr: 1.2.3.4/5
  16. # Add default IPV6 IPPool CIDR. Must be inside kube_pods_subnet_ipv6. Defaults to kube_pods_subnet_ipv6 if not set.
  17. # calico_pool_cidr_ipv6: fd85:ee78:d8a6:8607::1:0000/112
  18. # Global as_num (/calico/bgp/v1/global/as_num)
  19. # global_as_num: "64512"
  20. # If doing peering with node-assigned asn where the globas does not match your nodes, you want this
  21. # to be true. All other cases, false.
  22. # calico_no_global_as_num: false
  23. # You can set MTU value here. If left undefined or empty, it will
  24. # not be specified in calico CNI config, so Calico will use built-in
  25. # defaults. The value should be a number, not a string.
  26. # calico_mtu: 1500
  27. # Configure the MTU to use for workload interfaces and tunnels.
  28. # - If Wireguard is enabled, subtract 60 from your network MTU (i.e 1500-60=1440)
  29. # - Otherwise, if VXLAN or BPF mode is enabled, subtract 50 from your network MTU (i.e. 1500-50=1450)
  30. # - Otherwise, if IPIP is enabled, subtract 20 from your network MTU (i.e. 1500-20=1480)
  31. # - Otherwise, if not using any encapsulation, set to your network MTU (i.e. 1500)
  32. # calico_veth_mtu: 1440
  33. # Advertise Cluster IPs
  34. # calico_advertise_cluster_ips: true
  35. # Advertise Service External IPs
  36. # calico_advertise_service_external_ips:
  37. # - x.x.x.x/24
  38. # - y.y.y.y/32
  39. # Adveritse Service LoadBalancer IPs
  40. # calico_advertise_service_loadbalancer_ips:
  41. # - x.x.x.x/24
  42. # - y.y.y.y/16
  43. # Choose data store type for calico: "etcd" or "kdd" (kubernetes datastore)
  44. # calico_datastore: "kdd"
  45. # Choose Calico iptables backend: "Legacy", "Auto" or "NFT"
  46. # calico_iptables_backend: "Legacy"
  47. # Use typha (only with kdd)
  48. # typha_enabled: false
  49. # Generate TLS certs for secure typha<->calico-node communication
  50. # typha_secure: false
  51. # Scaling typha: 1 replica per 100 nodes is adequate
  52. # Number of typha replicas
  53. # typha_replicas: 1
  54. # Set max typha connections
  55. # typha_max_connections_lower_limit: 300
  56. # Set calico network backend: "bird", "vxlan" or "none"
  57. # bird enable BGP routing, required for ipip mode.
  58. # calico_network_backend: bird
  59. # IP in IP and VXLAN is mutualy exclusive modes.
  60. # set IP in IP encapsulation mode: "Always", "CrossSubnet", "Never"
  61. # calico_ipip_mode: 'Always'
  62. # set VXLAN encapsulation mode: "Always", "CrossSubnet", "Never"
  63. # calico_vxlan_mode: 'Never'
  64. # set VXLAN port and VNI
  65. # calico_vxlan_vni: 4096
  66. # calico_vxlan_port: 4789
  67. # If you want to use non default IP_AUTODETECTION_METHOD for calico node set this option to one of:
  68. # * can-reach=DESTINATION
  69. # * interface=INTERFACE-REGEX
  70. # see https://docs.projectcalico.org/reference/node/configuration
  71. # calico_ip_auto_method: "interface=eth.*"
  72. # Choose the iptables insert mode for Calico: "Insert" or "Append".
  73. # calico_felix_chaininsertmode: Insert
  74. # If you want use the default route interface when you use multiple interface with dynamique route (iproute2)
  75. # see https://docs.projectcalico.org/reference/node/configuration : FELIX_DEVICEROUTESOURCEADDRESS
  76. # calico_use_default_route_src_ipaddr: false
  77. # Enable calico traffic encryption with wireguard
  78. # calico_wireguard_enabled: false
  79. # Under certain situations liveness and readiness probes may need tunning
  80. # calico_node_livenessprobe_timeout: 10
  81. # calico_node_readinessprobe_timeout: 10