fix: add calico configuration to hopefully select the right NIC on basic setups
This commit is contained in:
1 parent
2b76f664b7
commit
effd4dd950
1 file changed
+4
@@ -5,6 +5,10 @@ metadata:
|
|||||||
name: default
|
name: default
|
||||||
spec:
|
spec:
|
||||||
calicoNetwork:
|
calicoNetwork:
|
||||||
|
# https://projectcalico.docs.tigera.io/networking/ip-autodetection
|
||||||
|
nodeAddressAutodetectionV4:
|
||||||
|
cidrs:
|
||||||
|
- "{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('network/prefix') }}"
|
||||||
# Note: The ipPools section cannot be modified post-install.
|
# Note: The ipPools section cannot be modified post-install.
|
||||||
ipPools:
|
ipPools:
|
||||||
- blockSize: 26
|
- blockSize: 26
|
||||||
|
|||||||
Reference in new issue
Block a user