Skip to content

Commit 4c8e961

Browse files
authored
chore: add timeoutSeconds to startupProbe in frontend deployments (#183)
This pull request introduces a configuration update to the frontend deployment templates for both the admin and standard environments. The main change is the addition of a timeout setting for the container's startup command to improve reliability during initialization. Deployment configuration improvements: * Added `timeoutSeconds: 30` to the `spec` of both `frontend/admin-deployment.yaml` and `frontend/deployment.yaml` to ensure the container startup command does not hang indefinitely. [[1]](diffhunk://#diff-ae3526cd10da0d852bc4edebe138754c3e5999fd27f3cc188e04b3edc4d914ebR31) [[2]](diffhunk://#diff-ff608e04ebc1c467eaa947889a290db2717a17758c34255049347a364076cce3R31)
1 parent 56873c5 commit 4c8e961

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

infrastructure/rag/templates/frontend/admin-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
- /bin/sh
2929
- "-c"
3030
- "cp -r /app/frontend/. /usr/share/nginx/html && /bin/sh /app/env.sh"
31+
timeoutSeconds: 30
3132
securityContext:
3233
runAsUser: 101
3334
runAsNonRoot: true

infrastructure/rag/templates/frontend/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
- /bin/sh
2929
- "-c"
3030
- "cp -r /app/frontend/. /usr/share/nginx/html && /bin/sh /app/env.sh"
31+
timeoutSeconds: 30
3132
securityContext:
3233
runAsUser: 101
3334
runAsNonRoot: true

0 commit comments

Comments
 (0)