Skip to content

feat(container-insights): Add K8s events pipeline to cluster-scraper#301

Open
miconeilaws wants to merge 1 commit into
release-6.2.0from
miconeil/k8s-events-helm
Open

feat(container-insights): Add K8s events pipeline to cluster-scraper#301
miconeilaws wants to merge 1 commit into
release-6.2.0from
miconeil/k8s-events-helm

Conversation

@miconeilaws

Copy link
Copy Markdown
Collaborator

Add a logs pipeline on the cluster-scraper that watches Kubernetes events via the k8s_events receiver and exports them through the OTLP exporter to CloudWatch Logs. Events are enriched with pod labels, workload identity, node metadata via nodemetadataenricher, and cluster-level attributes.

Changes:

  • New k8s_events/cw_k8s_ci_v0 receiver (gated by events.enabled)
  • Transform processors for parsing involvedObject fields, setting workload, scope, and cloud_resource_id (all using log_statements)
  • Shared processors (k8sattributes, k8snodemetadata) re-gated to be available when either KSM or events is enabled
  • RBAC: added events to cluster-scraper ClusterRole
  • values.yaml: otelContainerInsights.events.enabled (default: true)
  • Integration test assertions for k8s_events routing

@louisall louisall force-pushed the miconeil/k8s-events-helm branch from 63496f2 to c5cbfd7 Compare May 18, 2026 14:00
@louisall louisall force-pushed the miconeil/k8snodemetadata-helm branch from 4a36c50 to 5e7eaa9 Compare May 18, 2026 14:13
@louisall louisall force-pushed the miconeil/k8s-events-helm branch from c5cbfd7 to bf4b872 Compare May 18, 2026 14:13
@louisall louisall changed the base branch from miconeil/k8snodemetadata-helm to release-6.2.0 May 18, 2026 14:14
@louisall louisall force-pushed the miconeil/k8s-events-helm branch 2 times, most recently from cf0d471 to efa55ab Compare May 28, 2026 12:12
Add a logs pipeline on the cluster-scraper that watches Kubernetes
events via the k8s_events receiver and exports them through the OTLP
exporter to CloudWatch Logs. Events are enriched with pod labels,
workload identity, node metadata via nodemetadataenricher, and
cluster-level attributes.

Changes:
- New k8s_events/cw_k8s_ci_v0 receiver (gated by events.enabled)
- Transform processors for parsing involvedObject fields, setting
  workload, scope, and cloud_resource_id (all using log_statements)
- Shared processors (k8sattributes, k8snodemetadata) re-gated to be
  available when either KSM or events is enabled
- RBAC: added events to cluster-scraper ClusterRole
- values.yaml: otelContainerInsights.events.enabled (default: true)
- Integration test assertions for k8s_events routing
@louisall louisall force-pushed the miconeil/k8s-events-helm branch from efa55ab to 695aa51 Compare June 8, 2026 12:02
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.

1 participant