Deploy the Amazon Distro for OpenTelemetry Collector using advanced configuration
Amazon EKS add-ons provides the ability to configure add-ons during installation time. With this
functionality, an ADOT Collector can also be deployed during an installation, provided that
add-on version v0.62.1-eksbuild.1
or higher is being used.
For an example list of configurable values Amazon EKS add-ons provides for ADOT for Collector
deployment, see EKS add-ons Advanced Configuration for ADOT: Collector Deployment
An example of how to use Amazon EKS add-ons to install ADOT with a Collector deployment to
Amazon Managed Prometheus
-
Create
with the following contents. Replaceconfiguration-values
.json
with your own.example values
{ "collector": { "serviceAccount": { "create": false, "name": "
your-irsa-account-name
" }, "amp": { "enabled": true, "remoteWriteEndpoint": "https://aps-workspaces.region-code
.amazonaws.com/workspaces/ws-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/api/v1/remote_write" } } } -
Run the following command. Replace
with your own.example values
aws eks create-addon \ --cluster-name
my-cluster
\ --addon-name adot \ --addon-versionadd-on-version
\ --configuration-values file://configuration-values
.json
Note that the collector may take 2 to 3 minutes to create and show up in your cluster.