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.

132 lines
4.5 KiB

  1. ---
  2. # see roles/network_plugin/calico/defaults/main.yml
  3. # the default value of name
  4. calico_cni_name: k8s-pod-network
  5. ## With calico it is possible to distributed routes with border routers of the datacenter.
  6. ## Warning : enabling router peering will disable calico's default behavior ('node mesh').
  7. ## The subnets of each nodes will be distributed by the datacenter router
  8. # peer_with_router: false
  9. # Enables Internet connectivity from containers
  10. # nat_outgoing: true
  11. # nat_outgoing_ipv6: false
  12. # Enables Calico CNI "host-local" IPAM plugin
  13. # calico_ipam_host_local: true
  14. # add default ippool name
  15. # calico_pool_name: "default-pool"
  16. # add default ippool blockSize
  17. calico_pool_blocksize: 26
  18. # add default ippool CIDR (must be inside kube_pods_subnet, defaults to kube_pods_subnet otherwise)
  19. # calico_pool_cidr: 1.2.3.4/5
  20. # add default ippool CIDR to CNI config
  21. # calico_cni_pool: true
  22. # Add default IPV6 IPPool CIDR. Must be inside kube_pods_subnet_ipv6. Defaults to kube_pods_subnet_ipv6 if not set.
  23. # calico_pool_cidr_ipv6: fd85:ee78:d8a6:8607::1:0000/112
  24. # Add default IPV6 IPPool CIDR to CNI config
  25. # calico_cni_pool_ipv6: true
  26. # Global as_num (/calico/bgp/v1/global/as_num)
  27. # global_as_num: "64512"
  28. # If doing peering with node-assigned asn where the globas does not match your nodes, you want this
  29. # to be true. All other cases, false.
  30. # calico_no_global_as_num: false
  31. # You can set MTU value here. If left undefined or empty, it will
  32. # not be specified in calico CNI config, so Calico will use built-in
  33. # defaults. The value should be a number, not a string.
  34. # calico_mtu: 1500
  35. # Configure the MTU to use for workload interfaces and tunnels.
  36. # - If Wireguard is enabled, subtract 60 from your network MTU (i.e 1500-60=1440)
  37. # - Otherwise, if VXLAN or BPF mode is enabled, subtract 50 from your network MTU (i.e. 1500-50=1450)
  38. # - Otherwise, if IPIP is enabled, subtract 20 from your network MTU (i.e. 1500-20=1480)
  39. # - Otherwise, if not using any encapsulation, set to your network MTU (i.e. 1500)
  40. # calico_veth_mtu: 1440
  41. # Advertise Cluster IPs
  42. # calico_advertise_cluster_ips: true
  43. # Advertise Service External IPs
  44. # calico_advertise_service_external_ips:
  45. # - x.x.x.x/24
  46. # - y.y.y.y/32
  47. # Advertise Service LoadBalancer IPs
  48. # calico_advertise_service_loadbalancer_ips:
  49. # - x.x.x.x/24
  50. # - y.y.y.y/16
  51. # Choose data store type for calico: "etcd" or "kdd" (kubernetes datastore)
  52. # calico_datastore: "kdd"
  53. # Choose Calico iptables backend: "Legacy", "Auto" or "NFT"
  54. # calico_iptables_backend: "Auto"
  55. # Use typha (only with kdd)
  56. # typha_enabled: false
  57. # Generate TLS certs for secure typha<->calico-node communication
  58. # typha_secure: false
  59. # Scaling typha: 1 replica per 100 nodes is adequate
  60. # Number of typha replicas
  61. # typha_replicas: 1
  62. # Set max typha connections
  63. # typha_max_connections_lower_limit: 300
  64. # Set calico network backend: "bird", "vxlan" or "none"
  65. # bird enable BGP routing, required for ipip and no encapsulation modes
  66. # calico_network_backend: vxlan
  67. # IP in IP and VXLAN is mutually exclusive modes.
  68. # set IP in IP encapsulation mode: "Always", "CrossSubnet", "Never"
  69. # calico_ipip_mode: 'Never'
  70. # set VXLAN encapsulation mode: "Always", "CrossSubnet", "Never"
  71. # calico_vxlan_mode: 'Always'
  72. # set VXLAN port and VNI
  73. # calico_vxlan_vni: 4096
  74. # calico_vxlan_port: 4789
  75. # Enable eBPF mode
  76. # calico_bpf_enabled: false
  77. # If you want to use non default IP_AUTODETECTION_METHOD, IP6_AUTODETECTION_METHOD for calico node set this option to one of:
  78. # * can-reach=DESTINATION
  79. # * interface=INTERFACE-REGEX
  80. # see https://docs.projectcalico.org/reference/node/configuration
  81. # calico_ip_auto_method: "interface=eth.*"
  82. # calico_ip6_auto_method: "interface=eth.*"
  83. # Set FELIX_MTUIFACEPATTERN, Pattern used to discover the host’s interface for MTU auto-detection.
  84. # see https://projectcalico.docs.tigera.io/reference/felix/configuration
  85. # calico_felix_mtu_iface_pattern: "^((en|wl|ww|sl|ib)[opsx].*|(eth|wlan|wwan).*)"
  86. # Choose the iptables insert mode for Calico: "Insert" or "Append".
  87. # calico_felix_chaininsertmode: Insert
  88. # If you want use the default route interface when you use multiple interface with dynamique route (iproute2)
  89. # see https://docs.projectcalico.org/reference/node/configuration : FELIX_DEVICEROUTESOURCEADDRESS
  90. # calico_use_default_route_src_ipaddr: false
  91. # Enable calico traffic encryption with wireguard
  92. # calico_wireguard_enabled: false
  93. # Under certain situations liveness and readiness probes may need tunning
  94. # calico_node_livenessprobe_timeout: 10
  95. # calico_node_readinessprobe_timeout: 10
  96. # Calico apiserver (only with kdd)
  97. # calico_apiserver_enabled: false