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: ...@@ -8,7 +8,7 @@ metadata:
labels: labels:
app: pvc-access app: pvc-access
spec: spec:
activeDeadlineSeconds: 300 # Auto-delete after 5 minutes activeDeadlineSeconds: 3000 # Auto-terminate after ~50 minutes; Pod will be Failed (not auto-deleted)
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
...@@ -17,7 +17,7 @@ spec: ...@@ -17,7 +17,7 @@ spec:
- name: ubuntu - name: ubuntu
image: ubuntu:22.04 image: ubuntu:22.04
command: ["/bin/bash"] 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: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
readOnlyRootFilesystem: 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