Re:Setting up an HA Kubernetes cluster with private networki...
by alexbilbie on Wednesday December 07, 2016 @04:41AM
(#13121469)
ECS tasks now support IAM roles; how does this work for K8s equivalent? Do you need to use IAM user credentials for app credentials?
[ Parent
| on HN ]
Re:Setting up an HA Kubernetes cluster with private networki...
by tazjin on Wednesday December 07, 2016 @06:13AM
(#13121762)
IAM credentials for ECS tasks are implemented with a transparent proxy to the metadata API, and there are similar projects for Kubernetes.
The one that's most popular I believe is kube2iam: https://github.com/jtblin/kube2iam
Using IAM roles then boils down to setting an annotation such as `iam.amazonaws.com/role: my-db-access-role` on a pod (assuming the correct trust relationship has been configured).