aws-observability / helm-charts

The AWS Observability Helm Charts repository contains Helm charts to provide easy mechanisms to setup the CloudWatch Agent and other collection agents to collect telemetry data such as metrics, logs and traces to send to AWS monitoring services.
Apache License 2.0
9 stars 17 forks source link

Add hostNetwork: true for cloudwatch agent pod on linux #82

Closed lisguo closed 2 months ago

lisguo commented 2 months ago

Issue #, if available: https://github.com/aws-observability/helm-charts/issues/75 https://github.com/aws/amazon-cloudwatch-agent-operator/issues/119 https://github.com/aws/amazon-cloudwatch-agent/issues/1101

Description of changes: Changing the cloudwatch agent daemonset to create pods with hostNetwork: true. This allows the agent pod to hit IMDS for clusters with a restricted hop limit.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.