From 1a7d033027b2b14c6e5e6386cac8babeb7d86b2f Mon Sep 17 00:00:00 2001 From: lisguo Date: Wed, 14 Aug 2024 11:15:38 -0400 Subject: [PATCH] Add hostNetwork: true for cloudwatch agent pod on linux --- .../templates/linux/cloudwatch-agent-daemonset.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/amazon-cloudwatch-observability/templates/linux/cloudwatch-agent-daemonset.yaml b/charts/amazon-cloudwatch-observability/templates/linux/cloudwatch-agent-daemonset.yaml index 5b330a6..693cecb 100644 --- a/charts/amazon-cloudwatch-observability/templates/linux/cloudwatch-agent-daemonset.yaml +++ b/charts/amazon-cloudwatch-observability/templates/linux/cloudwatch-agent-daemonset.yaml @@ -39,6 +39,7 @@ spec: operator: NotIn values: - fargate + hostNetwork: true {{- if .Values.agent.config }} config: {{ include "cloudwatch-agent.modify-config" (merge (dict "Config" .Values.agent.config) . ) }} {{- else }}