0
votes

According to this - https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html

The user who created the cluster gets an admin role automatically.

How do i know through cli who created a specific eks cluster?

1
If you want to know a user/role used to create this cluster then use docs.aws.amazon.com/cli/latest/reference/eks/… and check arn.Prabhakar Reddy
Thats the arn of the cluster, not the user who created it (i need it to identify kubernetes-admin user without searching the audits)ArielB
According to aws case ive opened - its currently not possible after 90 daysArielB

1 Answers

0
votes

So, to whoever searches it - i've opened a case with amazon, it's not possible if the events of cloudtrail are cleared.

also seems not possible to find it from the stack details: How do I find who created a CloudFormation stack?

What i've done - is to also search it in the kubernetes logs (if audits are enabled and the admin performed an action in the last X days).