Skip to content

Instantly share code, notes, and snippets.

@harshavardhana
Created July 27, 2020 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harshavardhana/95fe27459d54b846a7384424027b85f4 to your computer and use it in GitHub Desktop.
Save harshavardhana/95fe27459d54b846a7384424027b85f4 to your computer and use it in GitHub Desktop.
# 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
# Configure the MTU to use for workload interfaces and tunnels.
# - If Wireguard is enabled, set to your network MTU - 60
# - Otherwise, if VXLAN or BPF mode is enabled, set to your network MTU - 50
# - Otherwise, if IPIP is enabled, set to your network MTU - 20
# - Otherwise, if not using any encapsulation, set to your network MTU.
calico_veth_mtu: 1500
# Choose Calico iptables backend: "Legacy", "Auto" or "NFT"
calico_iptables_backend: "Auto"
# IP in IP and VXLAN is mutualy exclusive modes.
# set IP in IP encapsulation mode: "Always", "CrossSubnet", "Never"
calico_ipip_mode: 'Never'
# 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/reference/node/configuration
calico_ip_auto_method: "interface=enp94s0f0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment