Overview

This document describes how to install aws-otel-collector into your existing EKS cluster.

Prerequisites

Install aws-otel-collector

  1. Set up variables to export metrics of your EKS cluster to the region where the logs should be published to.
export CLUSTER_NAME=<eks-cluster-name>
export AWS_REGION=<aws-region>
  1. Deploy a standalone aws-otel-collector application. An example config template can be found here.
    • Replace `` with the name of the region where the logs are published (e.g. us-west-2).
    • Replace `` with the actual eks cluster name.
cat otel-container-insights-prometheus.yaml |
sed "s//$AWS_REGION/g" | 
sed "s//$CLUSTER_NAME/g" |
kubectl apply -f - 
  1. View the resources in the aws-otel-eks namespace.
kubectl get all -n aws-otel-eks