intel-device-plugins-for-ku.../deployments/sgx_enclave_apps/base/intelsgx-job.yaml
Mikko Ylinen 90aeca48c5 deployments: update SGX configuration
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-01-12 09:41:17 +02:00

27 lines
675 B
YAML

apiVersion: batch/v1
kind: Job
metadata:
name: intelsgx-demo-job
labels:
jobgroup: intelsgx-demo
spec:
template:
metadata:
labels:
jobgroup: intelsgx-demo
spec:
restartPolicy: Never
containers:
-
name: intelsgx-demo-job-1
image: intel/sgx-sdk-demo:devel
imagePullPolicy: IfNotPresent
workingDir: "/opt/intel/sgx-sample-app/"
command: ["/opt/intel/sgx-sample-app/sgx-sample-app"]
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
resources:
limits:
sgx.intel.com/epc: "512Ki"