Problem: Have to read the source code for AwsEksResourceDetector to understand which permissions and resources are needed in the cluster for it to work.
Describe the solution you'd like
Solution: Provide documentation on prerequisites.
First prerequisite: permissions for service account role
Second prerequisite: a configmap cluster-info in amazon-cloudwatch is required with the following information:
# create configmap for cluster name and aws region for CloudWatch Logs
# need to replace the placeholders {{cluster_name}} and {{region_name}}
apiVersion: v1
data:
cluster.name: {{cluster_name}}
logs.region: {{region_name}}
kind: ConfigMap
metadata:
name: cluster-info
namespace: amazon-cloudwatch
Before opening a feature request against this repo, consider whether the feature should/could be implemented in the other OpenTelemetry client libraries. If so, please open an issue on opentelemetry-specification first.
Is your feature request related to a problem?
Problem: Have to read the source code for
AwsEksResourceDetector
to understand which permissions and resources are needed in the cluster for it to work.Describe the solution you'd like
Solution: Provide documentation on prerequisites.
First prerequisite: permissions for service account role
Second prerequisite: a configmap
cluster-info
inamazon-cloudwatch
is required with the following information: