Skip to content

Commit

Permalink
Add a startup probe
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Nov 29, 2023
1 parent 6402923 commit 36a20bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions diracx/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ spec:
httpGet:
path: /api/docs/
port: http
startupProbe:
httpGet:
path: /api/docs/
port: http
failureThreshold: 30
periodSeconds: 5
command: ["bash", "/entrypoint.sh"]
args:
- uvicorn
Expand Down

0 comments on commit 36a20bf

Please sign in to comment.