Browse Source

feat(calico): add possibility to enable calico floatingIPs feature (#9680)

Add a variable `calico_felix_floatingIPs` which permit to enable calico feature `floatingIPs`
(disabled per default).

Signed-off-by: MatthieuFin <matthieu2717@gmail.com>

 #9679
pull/9685/head
MatthieuFin 1 year ago
committed by GitHub
parent
commit
374438a3d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions
  1. 4
      roles/network_plugin/calico/defaults/main.yml
  2. 3
      roles/network_plugin/calico/tasks/install.yml

4
roles/network_plugin/calico/defaults/main.yml

@ -51,6 +51,10 @@ calico_bpf_log_level: ""
# Valid option for service mode: Tunnel (default), DSR=Direct Server Return
calico_bpf_service_mode: Tunnel
# Calico floatingIPs support
# Valid option for floatingIPs: Disabled (default), Enabled
calico_felix_floating_ips: Disabled
# Limits for apps
calico_node_memory_limit: 500M
calico_node_cpu_limit: 300m

3
roles/network_plugin/calico/tasks/install.yml

@ -188,7 +188,8 @@
"wireguardEnabled": {{ calico_wireguard_enabled | bool }},
"logSeverityScreen": "{{ calico_felix_log_severity_screen }}",
"vxlanEnabled": {{ calico_vxlan_mode != 'Never' }},
"featureDetectOverride": "{{ calico_feature_detect_override }}"
"featureDetectOverride": "{{ calico_feature_detect_override }}",
"floatingIPs": "{{ calico_felix_floating_ips }}"
}
}

Loading…
Cancel
Save