Skip to content

Commit

Permalink
repo-updater: Add readinessProbe (sourcegraph#816)
Browse files Browse the repository at this point in the history
* repo-updater: Add readinessProbe

* fixup! repo-updater: Add readinessProbe
  • Loading branch information
pecigonzalo authored and trentgrover-wf committed Sep 16, 2020
1 parent 14987af commit 39f3900
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions base/repo-updater/repo-updater.Deployment.yaml
Expand Up @@ -36,6 +36,14 @@ spec:
name: http
- containerPort: 6060
name: debug
readinessProbe:
failureThreshold: 3
httpGet:
path: /healthz
port: http
scheme: HTTP
periodSeconds: 1
timeoutSeconds: 5
resources:
limits:
cpu: "1"
Expand Down

0 comments on commit 39f3900

Please sign in to comment.