Files
terraform-aws-observability…/docs/container-insights/eks.md
T
Rodrigue Koffi 9498a06d3e chore: Cleanup docs assets (#227)
* Update eks.md

Move image assets to upstream repo

* Update index.md

Move assets to upstream

* Update eks-apiserver.md

Move assets to upstream
Fix terminology
2023-09-04 10:23:23 +02:00

1.6 KiB

Setting Up Container Insights for your EKS Cluster

This example deploys AWS Distro of OpenTelemetry on your EKS cluster as a Daemonset which will enable Container Insights metrics Dashboard on Amazon CloudWatch.

Prerequisites

!!! note Make sure to complete the prerequisites section before proceeding.

Setup

1. Download sources and initialize Terraform

git clone https://github.com/aws-observability/terraform-aws-observability-accelerator.git
cd terraform-aws-observability-accelerator/examples/eks-container-insights
terraform init

2. AWS Region

Specify the AWS Region where the resources will be deployed:

export TF_VAR_aws_region=xxx

2. EKS Cluster Name

Specify the EKS Cluster Name where the resources will be deployed:

export TF_VAR_eks_cluster_id=xxx

Deploy

Simply run this command to deploy the example

terraform apply

Visualization

After apply, open your Amazon CloudWatch console in the same region as your EKS cluster, then from the left hand side choose Insights -> Container Insights, there choose the Performance montoring from the drop down, choose the cluster name and you will see the metrics shown on the dashboard:

image

Cleanup

To clean up your environment, destroy the Terraform example by running

terraform destroy