diff --git a/charts/sourcegraph/CHANGELOG.md b/charts/sourcegraph/CHANGELOG.md index 7b98638e..a9470df5 100644 --- a/charts/sourcegraph/CHANGELOG.md +++ b/charts/sourcegraph/CHANGELOG.md @@ -8,6 +8,7 @@ Use `**BREAKING**:` to denote a breaking change ## Unreleased +- Added livenessProbe to zoekt-webserver in indexed-search to detect and restart hung pods - Fix Pod Disruption Budget for sourcegraph-frontend - Added a startup probe to the gitserver statefulset to give it time to run the on-disk migration from repo names to repo IDs - The repo-updater service is no longer needed and has been removed from the chart. diff --git a/charts/sourcegraph/templates/indexed-search/indexed-search.StatefulSet.yaml b/charts/sourcegraph/templates/indexed-search/indexed-search.StatefulSet.yaml index b96e1ea8..7f89d756 100644 --- a/charts/sourcegraph/templates/indexed-search/indexed-search.StatefulSet.yaml +++ b/charts/sourcegraph/templates/indexed-search/indexed-search.StatefulSet.yaml @@ -63,6 +63,15 @@ spec: ports: - name: grpc containerPort: 6070 + livenessProbe: + httpGet: + path: /healthz + port: grpc + scheme: HTTP + initialDelaySeconds: 120 + timeoutSeconds: 5 + periodSeconds: 60 + failureThreshold: 10 readinessProbe: failureThreshold: 3 httpGet: