From 039e48afbca8d73223a59a29c0b5220cb74e4614 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Wed, 14 Jun 2023 17:08:46 +0900 Subject: [PATCH] Add startup probe for controller (#1063) When there are many Kingress is deployed on the system, it takes long time to start net-kourier-controller (e.g. 12 minutes for 1000 ksvc) and Liveness/Readiness probe fails. We should improve the process but for now we add a startup probe for to avoid the Liveness/Readiness probe failure. --- config/300-controller.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/300-controller.yaml b/config/300-controller.yaml index e2cc7fcf8..089e97014 100644 --- a/config/300-controller.yaml +++ b/config/300-controller.yaml @@ -63,6 +63,11 @@ spec: - name: http2-xds containerPort: 18000 protocol: TCP + startupProbe: + grpc: + port: 18000 + periodSeconds: 10 + failureThreshold: 120 readinessProbe: grpc: port: 18000