blob: 1fe77cd64b0a23812cb17899c1eab6edf45360ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#
# cloned from https://github.com/nokia/danm/blob/v4.3.0/integration/manifests/cni_plugins/cni_plugins_ds.yaml
#
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: danm-cni
namespace: kube-system
spec:
selector:
matchLabels:
danm.k8s.io: danm-cni
template:
metadata:
labels:
danm.k8s.io: danm-cni
spec:
containers:
- name: danm-cni
image: danm-cni-plugins
imagePullPolicy: IfNotPresent
volumeMounts:
- name: host-cni
mountPath: /host/cni
- name: host-net-d
mountPath: /host/net.d
hostNetwork: true
terminationGracePeriodSeconds: 0
volumes:
- name: host-cni
hostPath:
path: /opt/cni/bin
- name: host-net-d
hostPath:
path: /etc/cni/net.d
|