You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regardless of the installation method for Antrea, it would be useful to have an antctl CLI command to quickly validate that a K8s cluster is ready for Antrea installation.
Some ideas we had for pre-installation sanity checks:
check K8s version (should be >= 1.19)
check if another CNI is present; we can look for them by name (Cilium, Calico, Weave, Flannel)
check if the K8s control plane is running "outside" the K8s cluster (no control plane Nodes): if yes, warn use that some features will not work as expected in the default Antrea configuration
check if another CNI is present; we can look for them by name (Cilium, Calico, Weave, Flannel)
Perhaps we can just check this by ensuring no conf in /etc/cni/net.d/ will take priority over 10-antrea.conflist, which could generally work for all CNIs. Also, even if there is no DaemonSet running for other CNIs, container runtime will not invoke antrea unless the config file is the 1st in alphabetical order. I handled several cases that users said pod network is not working after installing antrea then it turned out that there was a stale CNI config in /etc/cni/net.d/ even though there was no running DaemonSet for that CNI.
This is a subtask for #5896
Regardless of the installation method for Antrea, it would be useful to have an antctl CLI command to quickly validate that a K8s cluster is ready for Antrea installation.
Some ideas we had for pre-installation sanity checks:
antrea/build/images/scripts/install_cni
Lines 61 to 65 in c2f2459
@tnqn @luolanzone feel free to add some ideas as well
Ideally, this CLI command would belong to the same top-level command group as the "post-installation" command (#6061).
The text was updated successfully, but these errors were encountered: