AWS Distro for OpenTelemetry

EKS add-ons Advanced Configuration for ADOT

EKS add-ons Advanced Configuration for ADOT

IMPORTANT: This EKS add-on Advanced Configuration for ADOT is for version v0.88.0-eksbuild.1 and on.

EKS add-ons provides the ability to configure the installation of ADOT, during installation time. During add-on creation, or add-on updates, configurable values can be used to modify the add-on to your liking. Some examples include modifying resource requests or limits or adding tolerations to the deployed pod.

These configuration values are passed in as a JSON string to a --configuration-values option when creating or updating ADOT using EKS add-ons. you can either pass in a JSON string directly, or you can pass a file path to a JSON file as a parameter, see these docs for more information. For example, to set the cpu resource limit to 200m during add-on creation, the command would look like

aws eks create-addon \
--cluster-name <YOUR-EKS-CLUSTER-NAME> \
--addon-name adot \
--configuration-values "{\"manager\":{\"resources\":{\"limits\":{\"cpu\":\"200m\"}}}}" \
--resolve-conflicts=OVERWRITE

Note that, when passing in JSON directly, you must escape special characters, such as double quotes. This is reflected in the example above. Alternatively, you can pass in a file path as an argument to --configuration-values, reducing the need for special formatting. For example, the same command above using a file named configuration-values.json as a file path would look like

aws eks create-addon \
--cluster-name <YOUR-EKS-CLUSTER-NAME> \
--addon-name adot \
--configuration-values file://configuration-values.json \
--resolve-conflicts=OVERWRITE
// configuration-values.json
{
"manager": {
"resource": {
"limits": {
"cpu": "200m"
}
}
}
}

Each EKS add-on version of ADOT will have it’s own definition of what values are configurable. To see what configurable values are available for an add-on version, use the command

aws eks describe-addon-configuration --addon-name adot --addon-version <DESIRED-ADDON-VERSION>

Please follow the links below to get an extensive list of all configurable values for the Operator or ADOT Collector, along with descriptions and examples, for the add-on version v0.88.0-eksbuild.1.

Previous Topic: Installation

Next Topics:

Add-on Advanced Configuration: Operator

Add-on Advanced Configuration: Collector Deployment

Deploy a sample app

Collector Configuration Introduction