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
(CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your cluster and that suits your needs. Different plugins are available (both open- and closed- source) in the wider Kubernetes ecosystem.
16
16
17
+
A CNI plugin is required to implement the [Kubernetes network model](/docs/concepts/services-networking/#the-kubernetes-network-model).
18
+
17
19
You must use a CNI plugin that is compatible with the
18
20
[v0.4.0](https://github.com/containernetworking/cni/blob/spec-v0.4.0/SPEC.md) or later
19
21
releases of the CNI specification. The Kubernetes project recommends using a plugin that is
@@ -24,9 +26,20 @@ CNI specification (plugins can be compatible with multiple spec versions).
24
26
25
27
## Installation
26
28
27
-
A CNI plugin is required to implement the [Kubernetes network model](/docs/concepts/services-networking/#the-kubernetes-network-model).
28
-
The CRI manages its own CNI plugins, with Kubelet no longer managing the plugins since the [dockershim was removed in v1.24](https://github.com/kubernetes/kubernetes/pull/106907).
29
-
CNI plugins are installed according to their own documentation.
29
+
The Container Runtime manages its own CNI plugins.
30
+
31
+
{{< note >}}
32
+
Prior to Kubernetes 1.24, the CNI plugin was managed by the Kubelet using the `cni-bin-dir` and `network-plugin` command line parameters.
33
+
These were both removed in Kubernetes 1.24, with management of the CNI no longer in scope of the Kubelet.
34
+
35
+
See [Troubleshooting CNI plugin-related errors](https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/troubleshooting-cni-plugin-related-errors/) if you are facing issues following the removal of dockershim.
36
+
{{< /note >}}
37
+
38
+
For specific information about how a Container Runtime manages the CNI plugins, see the documentation for that Container Runtime, for example:
0 commit comments