diff --git a/docs/src/usage/run-workload-examples.md b/docs/src/usage/run-workload-examples.md index 72aadcb..0e8bb2a 100644 --- a/docs/src/usage/run-workload-examples.md +++ b/docs/src/usage/run-workload-examples.md @@ -133,6 +133,11 @@ will be **irrecoverably lost** if the PersistentVolumeClaim is deleted. Use this example to spawn an ephemeral shell with access to GPU resources. +
+ +The example GPU shell will **auto terminate after 25 minutes, DO NOT** use for consistent workloads. +
+ ```yaml # gpu-shell.yaml apiVersion: v1 @@ -144,7 +149,7 @@ spec: containers: - name: app image: nvcr.io/nvidia/cuda:12.5.0-base-ubuntu22.04 - command: ['/bin/bash', '-c', 'sleep inf'] + command: ['/bin/bash', '-c', 'sleep 1500 && echo "Time expired. Exiting..." && exit'] resources: limits: nvidia.com/gpu: 4