Skip to content

Commit

Permalink
Merge pull request #138 from chaen/tini
Browse files Browse the repository at this point in the history
use tini and correct endpoint for probe
  • Loading branch information
aldbr authored Feb 6, 2025
2 parents dad3fbc + 5b79bf7 commit 86aa87a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions diracx/templates/diracx/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,19 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: /api/docs/
path: /api/docs
port: http
readinessProbe:
httpGet:
path: /api/docs/
path: /api/docs
port: http
startupProbe:
httpGet:
path: /api/docs/
path: /api/docs
port: http
failureThreshold: 30
periodSeconds: 5
command: ["bash", "/entrypoint.sh"]
command: [ "/usr/local/bin/_entrypoint.sh", "tini", "--", "bash", "/entrypoint.sh" ]
args:
- uvicorn
- --factory
Expand Down

0 comments on commit 86aa87a

Please sign in to comment.