Skip to content

Commit

Permalink
fix(cd): liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-milan committed Jan 8, 2024
1 parent fe6a4b7 commit a778963
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions api/.kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
exec:
command:
- bash
- "-c"
- kill -0 $(cat /run/nginx.pid)
httpGet:
path: /docs
port: 80
initialDelaySeconds: 5
periodSeconds: 10
resources:
Expand Down

0 comments on commit a778963

Please sign in to comment.