Upgrading to Container Insights with enhanced observability for Amazon EKS - Amazon CloudWatch

Upgrading to Container Insights with enhanced observability for Amazon EKS

Container Insights with enhanced observability for Amazon EKS is the newest version of Container Insights. It collects detailed metrics from clusters running Amazon EKS and offers curated, immediately usable dashboards to drill down into application and infrastructure telemetry. For more information about this version of Container Insights, see Container Insights with enhanced observability for Amazon EKS.

If you have installed the original version of Container Insights in an Amazon EKS cluster and you want to upgrade it to the newer version with enhanced observability, follow the instructions in this section.

To upgrade an Amazon EKS cluster to Container Insights with enhanced observability for Amazon EKS
  1. Update the latest version of the CloudWatch agent by following the instructions in Updating the CloudWatch agent container image.

  2. Change the agent configmap to add "enhanced_container_insights": true

    For example, enter the following command:

    kubectl edit configmap/cwagentconfig -n amazon-cloudwatch

    Edit the file to look like the following. The rest of your previous configuration can remain unchanged.

    apiVersion: v1 data: cwagentconfig.json: | { "logs": { "metrics_collected": { "kubernetes": { "cluster_name": "my-cluster-name", "enhanced_container_insights": true, "metrics_collection_interval": 60 } }, "force_flush_interval": 5 } } kind: ConfigMap