X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Flatest%2Fsriov-cni-daemonset.yaml;fp=src%2Ffoundation%2Fscripts%2Fcni%2Fmultus%2Flatest%2Fsriov-cni-daemonset.yaml;h=e3b43cfefc7ec53bd8c72290d89711e77076bddd;hb=0a098643ff6187702bb9c971c7d3baabcb08bf42;hp=0000000000000000000000000000000000000000;hpb=5e8e332ce38f771991f443fd9114f6f997ad1f89;p=iec.git diff --git a/src/foundation/scripts/cni/multus/latest/sriov-cni-daemonset.yaml b/src/foundation/scripts/cni/multus/latest/sriov-cni-daemonset.yaml new file mode 100644 index 0000000..e3b43cf --- /dev/null +++ b/src/foundation/scripts/cni/multus/latest/sriov-cni-daemonset.yaml @@ -0,0 +1,52 @@ +--- +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: kube-sriov-cni-ds + namespace: kube-system + labels: + tier: node + app: sriov-cni +spec: + selector: + matchLabels: + name: sriov-cni + template: + metadata: + labels: + name: sriov-cni + tier: node + app: sriov-cni + spec: + #nodeSelector: + #kubernetes.io/arch: amd64 + tolerations: + - key: node-role.kubernetes.io/master + operator: Exists + effect: NoSchedule + containers: + - name: kube-sriov-cni + #image: ghcr.io/k8snetworkplumbingwg/sriov-cni + image: iecedge/sriov-cni:ba420ed48a87033a91c9f825d3581f60046a2ae8 + imagePullPolicy: IfNotPresent + securityContext: + allowPrivilegeEscalation: false + privileged: false + readOnlyRootFilesystem: true + capabilities: + drop: + - ALL + resources: + requests: + cpu: "100m" + memory: "50Mi" + limits: + cpu: "100m" + memory: "50Mi" + volumeMounts: + - name: cnibin + mountPath: /host/opt/cni/bin + volumes: + - name: cnibin + hostPath: + path: /opt/cni/bin