AWS Distro for OpenTelemetry
Update and Cleanup for ADOT using EKS Add-Ons
Update and Cleanup for ADOT using EKS Add-Ons
Update the AWS Distro for OpenTelemetry (ADOT) Operator
Amazon EKS does not automatically update ADOT on your cluster. You must initiate the update and then Amazon EKS updates the Amazon EKS add-on for you.
To update the ADOT Amazon EKS add-on using the AWS CLI
Check the current version of your ADOT add-on. Replace
my-cluster
with your cluster name.aws eks describe-addon --cluster-name my-cluster --addon-name adot --query "addon.addonVersion" --output textDetermine the ADOT versions are available that are supported by your cluster's version.
aws eks describe-addon-versions --addon-name adot --kubernetes-version 1.23 \--query "addons[].addonVersions[].[addonVersion, compatibilities[].defaultVersion]" --output textAn example output is as follows.
v0.58.0-eksbuild.1Truev0.56.0-eksbuild.2FalseThe version with
True
underneath is the default version deployed when the add-on is created. The version deployed when the add-on is created might not be the latest available version. In the previous output, the latest version is deployed when the add-on is created.Update the ADOT version. Replace
my-cluster
with the name of your cluster andv0.58.0-eksbuild.1
with the desired version. Optionally, the--configuration-values
flag can be added to deploy an ADOT Collector during add-on installation. You may also configure other available values with this flag.aws eks update-addon --cluster-name my-cluster --addon-name adot --addon-version v0.58.0-eksbuild.1 --resolve-conflicts PRESERVE --configuration-values my-configuration-valuesThe PRESERVE option preserves any custom settings that you've set for the add-on. For more information about other options for this setting, see update-addon in the Amazon EKS Command Line Reference. For more information about Amazon EKS add-on configuration management, see Kubernetes field management.
Remove the AWS Distro for OpenTelemetry (ADOT) Operator
You must delete the ADOT Collector resource separately from the ADOT Collector. In this command, specify the YAML file that you used to deploy the ADOT Collector:
kubectl delete -f collector-config-(amp|cloudwatch|xray|advanced).yamlYou can remove the ADOT Operator through either the AWS CLI or
eksctl
. If you remove the ADOT Operator, you must follow the installation instructions again to reinstall:CLI
aws eks delete-addon --addon-name adot --cluster-name my-clustereksctl
eksctl delete addon --cluster my-cluster --name adot
Uninstall cert-manager
Uninstall the cert-manager by following the instructions here.
Questions or bugs?
Technical documentation is available on the AWS Distro for OpenTelemetry developer site, and you can download the distribution from GitHub. You can also download the latest ADOT Collector image from the Amazon Elastic Container Registry (Amazon ECR) Public Gallery.
To learn more about how you can use ADOT to collect data for your observability solution, check out the hands-on AWS Observability workshop. If you have questions about the distribution, features, or components, file an issue.
Troubleshooting Guide
The troubleshooting guide can be found here.