Ask Your Question
0

Is it possible to link a single K8s serviceAccount with multiple aws IAM roles?

asked 2023-06-07 05:42:23 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-07 05:58:01 +0000

qstack gravatar image

No, it is not possible to link a single K8s serviceAccount with multiple AWS IAM roles. A serviceAccount can only be associated with a single IAM role via an annotation on the Kubernetes resource. However, you can create multiple serviceAccounts, each associated with a different IAM role, and then assign them to different pods in your Kubernetes cluster.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-07 05:42:23 +0000

Seen: 10 times

Last updated: Jun 07 '23