Update OSS Collector setup page for GKE, AKS, and EKS Auto Mode - #38714
Closed
brett0000FF wants to merge 2 commits into
Closed
Update OSS Collector setup page for GKE, AKS, and EKS Auto Mode#38714brett0000FF wants to merge 2 commits into
brett0000FF wants to merge 2 commits into
Conversation
Sync the recommended OTLP-only Collector configuration with the opentelemetry-examples repo: component instance names, 2/4 MiB batch settings, kubelet_stats and deltatorate in the DaemonSet config, and per-environment resource detection for EKS, EKS Auto Mode, GKE, and AKS. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
Preview links (active after the
|
- Document the nodes/stats ClusterRole rule required by kubelet_stats - Drop the inert ec2 block from the EKS Auto Mode snippet - Note the host port and node-local Service change for GKE Autopilot and AKS Automatic - Use headings instead of bold labels for the per-environment sections - Clarify downward API usage for K8S_NODE_NAME and MY_POD_IP Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
What does this PR do? What is the motivation?
Syncs Set Up the OpenTelemetry Collector (OSS) with the latest recommended OTLP-only Collector configurations in
opentelemetry-examples, which added GKE, AKS, and EKS Auto Mode support.New environment support (the ask):
resource_detectionprocessor for each environment, the IMDS token hop limit requirement (EKS), the Pod Identity andEC2:DescribeInstancesrequirement (EKS Auto Mode), and the host port and/hostfsrestrictions on GKE Autopilot and AKS Automatic.Sync work that comes with it:
host_metrics,resource_detection,span_metrics,forward/traces_sample). The new per-environment snippets are drop-in replacements for the base config, so the base config had to use the same names.sending_queue.batchnow flushes at 2 MiB and splits at 4 MiB, matching the upstream change that keeps requests under the intake payload limit.kubelet_statsreceiver anddeltatorateprocessor. These were already upstream but missing here, and they are what supplies node, pod, and container metrics on GKE Autopilot and AKS Automatic, wherehost_metricscannot run.nodes/statsforkubelet_stats.OTEL_RESOURCE_ATTRIBUTESand bumps the image tag.Merge instructions
Merge readiness:
Additional notes
Two things worth a look from the OTel team:
daemonset-eks-auto.yamlconfigures anec2:detector block, butec2is not in itsdetectorslist, so thekubernetes.io/cluster/*tag collection it sets up does not run. It looks like a copy-paste fromdaemonset-eks.yaml. It is omitted from the docs snippet.agent.yamlsetsdeployment_type: daemonsetfor an uncontainerized host install. The docs mirror it as-is, but it may be worth correcting upstream.Also: the
experimental-oss-configbranch is referenced by 10 links on this page. If that branch merges tomain, the links need updating.🤖 Generated with Claude Code