Skip to content

[SC-25165] feat(sematext-agent): allow the agent to watch Ingresses - #45

Merged
akshatagarwl merged 1 commit into
masterfrom
feat/sc-25165-agent-ingress-rbac
Jun 15, 2026
Merged

akshatagarwl merged 1 commit into
masterfrom
feat/sc-25165-agent-ingress-rbac

Conversation

@akshatagarwl

Copy link
Copy Markdown
Member

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/watch on networking.k8s.io/ingresses.

Verified on the test cluster: without this rule the agent logs ingresses.networking.k8s.io is forbidden ... cannot list resource and the informer never syncs, so remote_service stays 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.

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.
@akshatagarwl
akshatagarwl merged commit 063ab1f into master Jun 15, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants