mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 01:28:11 -03:30
Added generic CNI network plugin (#4322)
* Added generic CNI network plugin * Added CNI network plugin documentation * added necessary fix
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
586ad89d50
commit
a30ad1e5a5
10
docs/cni.md
Normal file
10
docs/cni.md
Normal file
@@ -0,0 +1,10 @@
|
||||
CNI
|
||||
==============
|
||||
|
||||
This network plugin only unpacks CNI plugins version `cni_version` into `/opt/cni/bin` and instructs kubelet to use cni, that is adds following cli params:
|
||||
|
||||
`KUBELET_NETWORK_PLUGIN="--network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin"`
|
||||
|
||||
It's intended usage is for custom CNI configuration, e.g. manual routing tables + bridge + loopback CNI plugin outside kubespray scope. Furthermore, it's used for non-kubespray supported CNI plugins which you can install afterward.
|
||||
|
||||
You are required to fill `/etc/cni/net.d` with valid CNI configuration after using kubespray.
|
||||
Reference in New Issue
Block a user