Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit 0f29b00

Browse files
committed
Add readiness probe
On GKE 1.21 and earlier, I noticed HNC taking a long time (~80s) to become Ready (for more details, see #170). Adding a readiness probe fixes the problem. Tested: before this change, on GKE 1.20 and 1.21, I manually see HNC taking a long time to start, and the e2e tests that require reinstalling HNC fail because it the deadlines are exceeded. With this change, I can see HNC becoming ready in ~10s on GKE 1.20 and all the e2e tests pass.
1 parent 39e8ad2 commit 0f29b00

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/manager/manager.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ spec:
6767
port: 8081
6868
failureThreshold: 1
6969
periodSeconds: 10
70+
readinessProbe:
71+
httpGet:
72+
path: /readyz
73+
port: 8081
74+
periodSeconds: 5
7075
startupProbe:
7176
httpGet:
7277
path: /readyz

0 commit comments

Comments
 (0)