Skip to content

Commit 4c1b181

Browse files
committed
added some clarification to the installation section
1 parent 3b60dec commit 4c1b181

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

content/en/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ weight: 10
1414
Kubernetes {{< skew currentVersion >}} supports [Container Network Interface](https://github.com/containernetworking/cni)
1515
(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.
1616

17+
A CNI plugin is required to implement the [Kubernetes network model](/docs/concepts/services-networking/#the-kubernetes-network-model).
18+
1719
You must use a CNI plugin that is compatible with the
1820
[v0.4.0](https://github.com/containernetworking/cni/blob/spec-v0.4.0/SPEC.md) or later
1921
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).
2426

2527
## Installation
2628

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:
39+
- [containerd](https://github.com/containerd/containerd/blob/main/script/setup/install-cni)
40+
- [CRI-O](https://github.com/cri-o/cri-o/blob/main/contrib/cni/README.md)
41+
42+
For specific information about how to install and manage a CNI plugin, see the documentation for that plugin.
3043

3144
## Network Plugin Requirements
3245

0 commit comments

Comments
 (0)