diff --git a/build/docker/intel-qat-plugin.Dockerfile b/build/docker/intel-qat-plugin.Dockerfile index ff596659..98333df2 100644 --- a/build/docker/intel-qat-plugin.Dockerfile +++ b/build/docker/intel-qat-plugin.Dockerfile @@ -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"] diff --git a/deployments/qat_plugin/qat_plugin.yaml b/deployments/qat_plugin/qat_plugin.yaml index d55955e6..625d8f68 100644 --- a/deployments/qat_plugin/qat_plugin.yaml +++ b/deployments/qat_plugin/qat_plugin.yaml @@ -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 diff --git a/deployments/qat_plugin/qat_plugin_kernel_mode.yaml b/deployments/qat_plugin/qat_plugin_kernel_mode.yaml index 177556dd..3750355f 100644 --- a/deployments/qat_plugin/qat_plugin_kernel_mode.yaml +++ b/deployments/qat_plugin/qat_plugin_kernel_mode.yaml @@ -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