diff --git a/helm/templates/cloudwatch-agent-daemonset-windows.yaml b/helm/templates/cloudwatch-agent-daemonset-windows.yaml index 335d5cf53..507a83917 100644 --- a/helm/templates/cloudwatch-agent-daemonset-windows.yaml +++ b/helm/templates/cloudwatch-agent-daemonset-windows.yaml @@ -18,7 +18,7 @@ spec: {{- if .Values.agent.config }} config: {{ .Values.agent.config | toJson | quote }} {{- else }} - config: {{ .Values.agent.defaultConfig | toJson | quote }} + config: {{ .Values.agent.windowsDefaultConfig | toJson | quote }} {{- end }} resources: requests: diff --git a/helm/values.yaml b/helm/values.yaml index 38c345c8e..a5255dec3 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -191,6 +191,16 @@ agent: } } } + windowsDefaultConfig: + { + "logs": { + "metrics_collected": { + "kubernetes": { + "enhanced_container_insights": true + }, + } + } + } dcgmExporter: name: