Skip to content

Choosing a specific NIC when there are multiple NICs with calico and kube-vip #590

Answered by brettinternet
onedr0p asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps we could automate this with Ansible using the CIDR for IP detection? https://projectcalico.docs.tigera.io/networking/ip-autodetection

spec:
  calicoNetwork:
    nodeAddressAutodetectionV4:
      cidrs:
        - "{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('network/prefix') }}" # 192.168.200.0/24

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by onedr0p
Comment options

onedr0p
Oct 28, 2022
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

onedr0p
Nov 3, 2022
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@onedr0p
Comment options

onedr0p Jun 19, 2023
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #311 on January 09, 2023 20:01.