Skip to content
Snippets Groups Projects
Unverified Commit 5a49ac52 authored by Toni Tauro's avatar Toni Tauro Committed by GitHub
Browse files

feat(calico): add configurable ipam strictaffinity (#8581)

parent db1e30e4
No related branches found
No related tags found
No related merge requests found
......@@ -127,3 +127,6 @@ calico_felix_log_severity_screen: Info
# Calico container settings
calico_allow_ip_forwarding: false
# Calico IPAM strictaffinity
calico_ipam_strictaffinity: false
......@@ -441,3 +441,14 @@
when:
- peer_with_router|default(false)
- inventory_hostname in groups['k8s_cluster']
- name: Calico | Configure ipam strictaffinity
command:
cmd: "{{ bin_dir }}/calicoctl.sh ipam configure --strictaffinity={{ calico_ipam_strictaffinity }}"
register: output
retries: 4
until: output.rc == 0
delay: "{{ retry_stagger | random + 3 }}"
when:
- calico_ipam_strictaffinity is defined
- inventory_hostname in groups['k8s_cluster']
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment