From 9fc14eafcc73c2d547c395957848072b7d578575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A5=98=EB=AA=85=ED=98=84?= Date: Tue, 17 Dec 2024 17:27:06 +0900 Subject: [PATCH] Update/gpu-shell-command --- docs/src/usage/run-workload-examples.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/usage/run-workload-examples.md b/docs/src/usage/run-workload-examples.md index 72aadcb..277310d 100644 --- a/docs/src/usage/run-workload-examples.md +++ b/docs/src/usage/run-workload-examples.md @@ -133,6 +133,10 @@ will be **irrecoverably lost** if the PersistentVolumeClaim is deleted. Use this example to spawn an ephemeral shell with access to GPU resources. +(Reminder) + +The example GPU shell will **auto terminate after 25 minutes, DO NOT** use for consistent workloads. + ```yaml # gpu-shell.yaml apiVersion: v1 @@ -144,7 +148,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