Commit 96562d4
authored
fix/indexed-search: add livenessProbe to zoekt-webserver to prevent hung pods (#850)
zoekt-webserver was unhealthy for long time
```
NAME READY STATUS RESTARTS AGE
indexed-search-0 1/2 Running 0 6h18m
indexed-search-1 1/2 Running 0 6h19m
indexed-search-2 1/2 Running 0 6h21m
indexed-search-3 1/2 Running 0 6h23m
indexed-search-4 1/2 Running 0 6h25m
indexed-search-5 1/2 Running 0 6h27m
indexed-search-6 1/2 Running 0 6h29m
indexed-search-7 1/2 Running 0 6h31m
```
```
Warning Unhealthy 4m20s (x3300 over 4h39m) kubelet Readiness probe failed: Get "http://192.168.11.20:6070/healthz": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
```
ref https://linear.app/sourcegraph/issue/PLAT-509/incident-indexed-search-pods-were-unhealthy-for-long-time PLAT-509
### Checklist
- [x] Follow the [manual testing process](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/TEST.md)
- [x] Update [changelog](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/CHANGELOG.md)
- [ ] Update [Kubernetes update doc](https://docs.sourcegraph.com/admin/updates/kubernetes)
### Test plan
- [x] Manual Verification - local with kind cluster
<img width="1920" height="1080" alt="Screenshot 2026-03-27 at 11 52 41 AM" src="https://github.com/user-attachments/assets/173876e7-8ca3-476b-ac6b-63cc1c29a76c" />
- [x] Tested against cloud-dev-qa with mi2 generate kustomize and kustomize apply1 parent 1b6f92b commit 96562d4
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
66 | 75 | | |
67 | 76 | | |
68 | 77 | | |
| |||
0 commit comments