deployments: fix QAT plugin command path

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2019-08-26 13:15:32 +03:00
parent ce6b47b1fd
commit bfcac03e48
3 changed files with 3 additions and 3 deletions

View File

@ -45,4 +45,4 @@ RUN chmod a+x /go/bin/qat_plugin \
FROM scratch as final
COPY --from=builder /install_root /
ENV PATH=/usr/local/bin
CMD ["/usr/local/bin/intel_qat_device_plugin"]
ENTRYPOINT ["/usr/local/bin/intel_qat_device_plugin"]

View File

@ -38,7 +38,7 @@ spec:
name: intel-qat-plugin-config
key: DEBUG
imagePullPolicy: IfNotPresent
command: ["/usr/bin/intel_qat_device_plugin", "-dpdk-driver", "$(DPDK_DRIVER)", "-kernel-vf-drivers", "$(KERNEL_VF_DRIVERS)", "-max-num-devices", "$(MAX_NUM_DEVICES)", "-debug", "$(DEBUG)"]
args: ["-dpdk-driver", "$(DPDK_DRIVER)", "-kernel-vf-drivers", "$(KERNEL_VF_DRIVERS)", "-max-num-devices", "$(MAX_NUM_DEVICES)", "-debug", "$(DEBUG)"]
volumeMounts:
- name: pcidir
mountPath: /sys/bus/pci

View File

@ -19,7 +19,7 @@ spec:
privileged: true
image: intel/intel-qat-plugin:devel
imagePullPolicy: IfNotPresent
command: ["/usr/bin/intel_qat_device_plugin", "-mode", "kernel"]
args: ["-mode", "kernel"]
volumeMounts:
- name: devfs
mountPath: /dev