--- apiVersion: v1 data: # The below configuration file is in JSON format. # Please ensure you keep it well-formed if you modify it. cwagentconfig.json: | { "logs": { "metrics_collected": { "kubernetes": { "cluster_name": "{{ .ClusterName }}", "metrics_collection_interval": 60 } }, "force_flush_interval": 5 } } kind: ConfigMap metadata: name: cwagentconfig namespace: amazon-cloudwatch