Skip to content

Commit a933334

Browse files
committed
Add back precise code intel worker health check.
1 parent 77f1c19 commit a933334

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

base/precise-code-intel/worker.Deployment.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,23 @@ spec:
3636
image: index.docker.io/sourcegraph/precise-code-intel-worker:3.15.1@sha256:00642b4bd6f37ff3e80b4b94a5699cef5ededae6875a5010c4202fd91ad0dfaf
3737
terminationMessagePolicy: FallbackToLogsOnError
3838
name: precise-code-intel-worker
39+
livenessProbe:
40+
httpGet:
41+
path: /healthz
42+
port: http
43+
scheme: HTTP
44+
initialDelaySeconds: 60
45+
timeoutSeconds: 5
46+
readinessProbe:
47+
httpGet:
48+
path: /healthz
49+
port: http
50+
scheme: HTTP
51+
periodSeconds: 5
52+
timeoutSeconds: 5
3953
ports:
54+
- containerPort: 3188
55+
name: http
4056
- containerPort: 6060
4157
name: debug
4258
resources:

base/precise-code-intel/worker.Service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
name: precise-code-intel-worker
1111
spec:
1212
ports:
13+
- name: http
14+
port: 3188
15+
targetPort: http
1316
- name: debug
1417
port: 6060
1518
targetPort: debug

0 commit comments

Comments
 (0)