intel-device-plugins-for-ku.../deployments/gpu_tensorflow_test/deployment.yaml
Tuomas Katila 393f0ca73f images: set 0.30.0 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-05-14 13:29:10 +03:00

27 lines
571 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: training-pod
spec:
restartPolicy: Never
containers:
- name: testcontainer
image: intel/intel-extension-for-tensorflow:0.30.0
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
command: ["/bin/sh", "-c"]
args: ["python /code/training.py"]
resources:
limits:
gpu.intel.com/i915: 1
requests:
gpu.intel.com/i915: 1
volumeMounts:
- mountPath: /code
name: code
volumes:
- configMap:
name: training-code
name: code