Unverified Commit cfb7aed7 authored by hhzhang16's avatar hhzhang16 Committed by GitHub
Browse files

feat: increase time of pvc access pod (#2991)


Signed-off-by: default avatarHannah Zhang <hannahz@nvidia.com>
parent e176a29c
......@@ -8,7 +8,7 @@ metadata:
labels:
app: pvc-access
spec:
activeDeadlineSeconds: 300 # Auto-delete after 5 minutes
activeDeadlineSeconds: 3000 # Auto-terminate after ~50 minutes; Pod will be Failed (not auto-deleted)
securityContext:
runAsNonRoot: true
runAsUser: 1000
......@@ -17,7 +17,7 @@ spec:
- name: ubuntu
image: ubuntu:22.04
command: ["/bin/bash"]
args: ["-c", "sleep 290"] # Sleep for slightly less than deadline - tools can be installed via kubectl exec if needed
args: ["-c", "sleep 3000"]
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment