-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable controller default health probes in the IMC dispatcher #8125
Disable controller default health probes in the IMC dispatcher #8125
Conversation
The IMC dispatcher is using the same server receiving events for k8s readiness and liveness probes, so we don't need the controller internal health server to be running. The controller internal health server is using the same port which leads to this error: ``` 2024-07-31T15:58:53.582Z error inmemorychannel-dispatcher sharedmain/main.go:334 Error while running server {"commit": "b7bfc92", "knative.dev/pod": "imc-dispatcher-696d94588d-j7fr5", "error": "listen tcp :8080: bind: address already in use"} knative.dev/pkg/injection/sharedmain.MainWithConfig knative.dev/pkg@v0.0.0-20240716082220-4355f0c73608/injection/sharedmain/main.go:334 knative.dev/pkg/injection/sharedmain.MainWithContext knative.dev/pkg@v0.0.0-20240716082220-4355f0c73608/injection/sharedmain/main.go:209 main.main knative.dev/eventing/cmd/in_memory/channel_dispatcher/main.go:47 runtime.main runtime/proc.go:271 ``` Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8125 +/- ##
==========================================
- Coverage 67.88% 67.88% -0.01%
==========================================
Files 368 368
Lines 17554 17555 +1
==========================================
Hits 11917 11917
- Misses 4891 4892 +1
Partials 746 746 ☔ View full report in Codecov by Sentry. |
/test unit-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: creydr, pierDipi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
The IMC dispatcher is using the same server receiving events for k8s readiness and liveness probes, so we don't need the controller internal health server to be running.
The controller internal health server is using the same port which leads to this error: