Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Setup permissions in Kubernetes cluster to enable X-Ray traces generation #136

Open
arun-gupta opened this issue Mar 29, 2018 · 2 comments

Comments

@arun-gupta
Copy link
Contributor

X-Ray traces are not getting generated. Daemonset is throwing the following error:

2018-03-29T22:08:26Z [Error] Sending segment batch failed with: AccessDeniedException: User: arn:aws:sts::091144949931:assumed-role/nodes.cluster.k8s.local/i-0ed2d662333fe3e41 is not authorized to perform: xray:PutTraceSegments
@arun-gupta
Copy link
Contributor Author

Need to make sure that the k8s cluster is generated with appropriate IAM permissions. More details https://github.com/kubernetes/kops/blob/master/docs/iam_roles.md

@arun-gupta arun-gupta changed the title X-Ray traces are not getting generated Setup permissions in Kubernetes cluster to enable X-Ray traces generation Apr 1, 2018
@arun-gupta arun-gupta added this to the Milestone 2 milestone Apr 2, 2018
@arun-gupta arun-gupta modified the milestones: Milestone 2, Milestone 3 Apr 13, 2018
@arun-gupta
Copy link
Contributor Author

In Console, open IAM roles, find nodes.cluster.k8s.local, attach AWSXrayFullAccess policy

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant