net-kourier-controller is unable to start due to a liveness probe error

Solution Verified - Updated -

Issue

  • net-kourier-controller cannot start due to the following Liveness probe error.
  Warning  BackOff    10m (x2439 over 11h)    kubelet  Back-off restarting failed container controller in pod net-kourier-controller-68654c74f8-vdfl8_knative-serving-ingress(e37d1706-e9d9-4490-b694-2f7472b9ac5e)
  Warning  Unhealthy  4m58s (x3041 over 11h)  kubelet  (combined from similar events): Liveness probe failed: 2023/06/13 05:31:49 failed to connect to service at ":18000": context deadline exceeded
  • net-kourier-controller has the fllowing logs.
2023/06/13 13:13:42 Registering 3 clients
2023/06/13 13:13:42 Registering 4 informer factories
2023/06/13 13:13:42 Registering 5 informers
2023/06/13 13:13:42 Registering 1 controllers
{"severity":"INFO","timestamp":"2023-06-13T13:13:42.44958093Z","logger":"net-kourier-controller","caller":"profiling/server.go:64","message":"Profiling enabled: false","commit":"d2ebd7e-dirty"}
{"severity":"INFO","timestamp":"2023-06-13T13:13:42.452661244Z","logger":"net-kourier-controller","caller":"leaderelection/context.go:47","message":"Running with Standard leader election","commit":"d2ebd7e-dirty"}
{"severity":"INFO","timestamp":"2023-06-13T13:13:42.612083567Z","logger":"net-kourier-controller","caller":"ingress/controller.go:211","message":"Priming the config with 192 ingresses","commit":"d2ebd7e-dirty"}
{"severity":"EMERGENCY","timestamp":"2023-06-13T13:14:42.17852954Z","logger":"net-kourier-controller","caller":"ingress/controller.go:233","message":"Failed prewarm ingress","commit":"d2ebd7e-dirty","error":"failed to translate ingress: failed to fetch endpoints 'kb-fast-0/receiver-00001': client rate limiter Wait returned an error: context canceled","stacktrace":"knative.dev/net-kourier/pkg/reconciler/ingress.NewController\n\t/app/pkg/reconciler/ingress/controller.go:233\nknative.dev/pkg/injection/sharedmain.ControllersAndWebhooksFromCtors\n\t/app/vendor/knative.dev/pkg/injection/sharedmain/main.go:412\nknative.dev/pkg/injection/sharedmain.MainWithConfig\n\t/app/vendor/knative.dev/pkg/injection/sharedmain/main.go:252\nknative.dev/pkg/injection/sharedmain.MainWithContext\n\t/app/vendor/knative.dev/pkg/injection/sharedmain/main.go:191\nmain.main\n\t/app/cmd/kourier/main.go:45\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}
  • My cluster deploys a lot of Ksvc (100~)

Environment

  • OpenShift

    • 4.x
  • OpenShift Serverless

    • 1.29.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content