Add SRIOV and QAT device plugin deploy components
[icn.git] / deploy / kud-plugin-addons / device-plugins / sriov / yaml / sriov-cni.yaml
1 # SRIOV-CNI Release v1
2 # Based on:
3 # https://github.com/intel/sriov-cni/blob/master/images/sriov-cni-daemonset.yaml
4 ---
5 apiVersion: extensions/v1beta1
6 kind: DaemonSet
7 metadata:
8   name: kube-sriov-cni-ds-amd64
9   namespace: kube-system
10   labels:
11     tier: node
12     app: sriov-cni
13 spec:
14   template:
15     metadata:
16       labels:
17         tier: node
18         app: sriov-cni
19     spec:
20       hostNetwork: true
21       nodeSelector:
22         beta.kubernetes.io/arch: amd64
23       tolerations:
24       - key: node-role.kubernetes.io/master
25         operator: Exists
26         effect: NoSchedule
27       containers:
28       - name: kube-sriov-cni
29         image: nfvpe/sriov-cni
30         securityContext:
31           privileged: true
32         resources:
33           requests:
34             cpu: "100m"
35             memory: "50Mi"
36           limits:
37             cpu: "100m"
38             memory: "50Mi"
39         volumeMounts:
40         - name: cnibin
41           mountPath: /host/opt/cni/bin
42       volumes:
43         - name: cnibin
44           hostPath:
45             path: /opt/cni/bin
46