Skip to content

[clusterobservability] fix config for bundled collectors#5080

Draft
jinja2 wants to merge 1 commit into
open-telemetry:mainfrom
jinja2:clustobs-runnable
Draft

[clusterobservability] fix config for bundled collectors#5080
jinja2 wants to merge 1 commit into
open-telemetry:mainfrom
jinja2:clustobs-runnable

Conversation

@jinja2
Copy link
Copy Markdown
Contributor

@jinja2 jinja2 commented May 13, 2026

Description: Follow-up to #4475 so the bundled agent and cluster collectors generated from a ClusterObservability CR start cleanly on stock k8s.

  • Default the collector image to its contrib distribution (bundled configs use contrib-only components).
  • Add the union of permissions those components need to the operator ClusterRole so the OpenTelemetryCollector controller's automatic-RBAC can grant them per collector.
  • Inject K8S_NODE_NAME / OTEL_NODE_IP on the agent pod.
  • mount the kubelet-serving-ca only when running on OpenShift (the host file does not exist on vanilla Kubernetes)
  • filelog switches to the unified container operator.

Link to tracking Issue(s):

Testing:

  • New make e2e-clusterobservability chainsaw target; the alpha CRD is installed directly from config/crd/bases/ since it's still excluded from the OLM bundle.
  • Reusable e2e workflow gets the new group, experimental: true so it doesn't block other operator e2e jobs.
  • Kind 1.25 / 1.35 enable serverTLSBootstrap; start-kind approves the kubelet-serving CSRs so kubeletstats receiver can verify the kubelet against the cluster CA

@jinja2 jinja2 changed the title Fixes configuration for bundled collectors and e2e test for ClusterOb… [clusterobservability] fix config for bundled collectors May 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

E2E Test Results

 40 files  263 suites   2h 22m 49s ⏱️
111 tests 109 ✅ 1 💤 1 ❌
285 runs  280 ✅ 4 💤 1 ❌

Results for commit 6be7270.

♻️ This comment has been updated with latest results.

@jinja2 jinja2 force-pushed the clustobs-runnable branch 6 times, most recently from 9fefc11 to ad20221 Compare May 14, 2026 04:53
…servability

Follow-ups to the initial ClusterObservability framework so the
generated agent and cluster collectors come up cleanly on stock
distributions, plus a smoke e2e that exercises the pipelines end-to-end.
@jinja2 jinja2 force-pushed the clustobs-runnable branch from ad20221 to 6be7270 Compare May 14, 2026 18:10
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