tf/userdata: Remove all CNI conflist files
CRI-O now installs more `.conflist` files in `/etc/cni/net.d`. Their presence interferes with Calico, so they need to be deleted in order to have fully working Pod networking, especially for pods that start very early (before Calico is completely ready).
This commit is contained in:
@@ -92,7 +92,7 @@ write_files:
|
|||||||
EOF
|
EOF
|
||||||
semodule -i longhorn-issue4988.cil
|
semodule -i longhorn-issue4988.cil
|
||||||
|
|
||||||
rm -f /etc/cni/net.d/100-crio-bridge.conflist
|
rm -f /etc/cni/net.d/*.conflist
|
||||||
|
|
||||||
cat > /run/joinconfiguration <<EOF
|
cat > /run/joinconfiguration <<EOF
|
||||||
apiVersion: kubeadm.k8s.io/v1beta3
|
apiVersion: kubeadm.k8s.io/v1beta3
|
||||||
|
|||||||
Reference in New Issue
Block a user