Repository navigation
[SC-25165] feat(sematext-agent): allow the agent to watch Ingresses - #45
Merged
Merged
Conversation
The netmap collector's new Ingress informer (agent SC-25165) resolves domain-addressed hairpin flows to their in-fleet backend Service via Ingress host rules. It needs list/get/watch on networking.k8s.io/ingresses; without it the informer is forbidden and the resolution silently yields nothing. Additive and inert for agents without the new code.
boratanrikulu
approved these changes
Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The netmap collector's new Ingress informer (agent SC-25165) attributes domain-addressed in-fleet traffic that hairpins through a shared ingress/ALB to its real backend Service via the Ingress host rules. The informer needs
list/get/watchonnetworking.k8s.io/ingresses.Verified on the test cluster: without this rule the agent logs
ingresses.networking.k8s.io is forbidden ... cannot list resourceand the informer never syncs, soremote_servicestays empty for ingress-hairpin connections (592/637 apps.test connection rows unresolved).Safety
Additive, read-only (
list/get/watch). Inert for agents that don't carry the new informer code, so it's safe to ship ahead of the agent rollout.