mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
26 lines
614 B
YAML
26 lines
614 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: ubuntu-demo-opae:latest
|
|
imagePullPolicy: IfNotPresent
|
|
command: ["/usr/bin/run_hello_fpga.sh"]
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
[IPC_LOCK]
|
|
resources:
|
|
limits:
|
|
intel.com/fpga-d8424dc4a4a3c413f89e433683f9040b: 1
|