forked from github/multus-cni
Updates daemonset for Kube 1.16, also docs and adds pre-1.16 daemonset
This commit is contained in:
@@ -39,12 +39,19 @@ Firstly, clone this GitHub repository.
|
||||
git clone https://github.com/intel/multus-cni.git && cd multus-cni
|
||||
```
|
||||
|
||||
We'll apply a YAML file with `kubectl` from this repo.
|
||||
If you're using Kubernetes 1.16+, we'll apply a YAML file with `kubectl` from this repo.
|
||||
|
||||
```
|
||||
$ cat ./images/multus-daemonset.yml | kubectl apply -f -
|
||||
```
|
||||
|
||||
Or, for Kubernetes versions < 1.16, use the prior version yaml:
|
||||
|
||||
```
|
||||
$ cat ./images/multus-daemonset-pre-1.16.yml | kubectl apply -f -
|
||||
```
|
||||
|
||||
|
||||
### What the Multus daemonset does
|
||||
|
||||
* Starts a Multus daemonset, this runs a pod on each node which places a Multus binary on each node in `/opt/cni/bin`
|
||||
@@ -225,4 +232,4 @@ EOF
|
||||
|
||||
Note that the annotation now reads `k8s.v1.cni.cncf.io/networks: macvlan-conf,macvlan-conf`. Where we have the same configuration used twice, separated by a comma.
|
||||
|
||||
If you were to create another custom resource with the name `foo` you could use that such as: `k8s.v1.cni.cncf.io/networks: foo,macvlan-conf`, and use any number of attachments.
|
||||
If you were to create another custom resource with the name `foo` you could use that such as: `k8s.v1.cni.cncf.io/networks: foo,macvlan-conf`, and use any number of attachments.
|
||||
|
Reference in New Issue
Block a user