Skip to content

Commit

Permalink
Add startup probe for controller (#1063)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nak3 committed Jun 14, 2023
1 parent f058afd commit 039e48a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/300-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ spec:
- name: http2-xds
containerPort: 18000
protocol: TCP
startupProbe:
grpc:
port: 18000
periodSeconds: 10
failureThreshold: 120
readinessProbe:
grpc:
port: 18000
Expand Down

0 comments on commit 039e48a

Please sign in to comment.