From d64faed9cf4db118a3bf0ae7196ba6f35dfc8c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A5=98=EB=AA=85=ED=98=84?= Date: Wed, 18 Dec 2024 10:23:56 +0900 Subject: [PATCH] Update/gpu-shell-command (#12) * Update/gpu-shell-command * Update docs/src/usage/run-workload-examples.md Co-authored-by: Yongun Seong * Update docs/src/usage/run-workload-examples.md Co-authored-by: Yongun Seong --------- Co-authored-by: Yongun Seong --- docs/src/usage/run-workload-examples.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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