mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00

opae-nlb-demo name is more descriptive about the content and becomes base image agnostic. Also, set ENTRYPOINT similar to what we did with other images and deployment files. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
27 lines
624 B
YAML
27 lines
624 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: intelfpga-demo-job
|
|
labels:
|
|
jobgroup: intelfpga-demo
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
jobgroup: intelfpga-demo
|
|
spec:
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: intelfpga-demo-job-1
|
|
image: intel/opae-nlb-demo:devel
|
|
imagePullPolicy: IfNotPresent
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
[IPC_LOCK]
|
|
resources:
|
|
limits:
|
|
cpu: 1
|
|
hugepages-2Mi: 20Mi
|
|
fpga.intel.com/af-d8424dc4a4a3c413f89e433683f9040b: 1
|