diff options
author | Ritu Sood <Ritu.Sood@intel.com> | 2020-03-09 18:21:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-09 18:21:20 +0000 |
commit | 42c5cef605d1bade236d64c2d73a062f3f935456 (patch) | |
tree | f43dd39d74ebb1510a6cefeed2a471d14a8220cd /kud/deployment_infra/images/qat_plugin_privileges.yaml | |
parent | 9ce36aea76d24bb512813d3a1d6444b54819c379 (diff) | |
parent | e74803ddbf7013fc6d0fdc3d57da01a6c6b39c9e (diff) |
Merge "Adding QAT device plugin to KuD"
Diffstat (limited to 'kud/deployment_infra/images/qat_plugin_privileges.yaml')
-rw-r--r-- | kud/deployment_infra/images/qat_plugin_privileges.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kud/deployment_infra/images/qat_plugin_privileges.yaml b/kud/deployment_infra/images/qat_plugin_privileges.yaml new file mode 100644 index 00000000..af98f367 --- /dev/null +++ b/kud/deployment_infra/images/qat_plugin_privileges.yaml @@ -0,0 +1,40 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: intel-qat-kernel-plugin + labels: + app: intel-qat-kernel-plugin +spec: + selector: + matchLabels: + app: intel-qat-kernel-plugin + template: + metadata: + labels: + app: intel-qat-kernel-plugin + spec: + containers: + - name: intel-qat-kernel-plugin + securityContext: + privileged: true + image: akhilak/intel-qat-plugin:0.15.0 + imagePullPolicy: IfNotPresent + command: ["/usr/local/bin/intel_qat_device_plugin", "-mode", "kernel"] + volumeMounts: + - name: devfs + mountPath: /dev + - name: etcdir + mountPath: /etc + readOnly: true + - name: kubeletsockets + mountPath: /var/lib/kubelet/device-plugins + volumes: + - name: etcdir + hostPath: + path: /etc + - name: kubeletsockets + hostPath: + path: /var/lib/kubelet/device-plugins + - name: devfs + hostPath: + path: /dev |