You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started.md
+19
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
[Running as a Systemd Service](#running-as-a-systemd-service)
7
7
[Running in Containers](#running-in-containers)
8
8
[Running Using AWS Instance Profile Credentials](#running-using-aws-instance-profile-credentials)
9
+
[Running on EKS with IAM roles for service accounts](#running-on-eks-with-iam-roles-for-service-accounts)
10
+
[Running on EKS with EKS Pod Identities](#running-on-eks-with-eks-pod-identities)
9
11
[Troubleshooting](#troubleshooting)
10
12
11
13
## Configuration
@@ -470,6 +472,23 @@ spec:
470
472
path: /health
471
473
port: http
472
474
```
475
+
## Running on EKS with EKS Pod Identities
476
+
477
+
An alternative way to use the container image on an EKS cluster is to use a service account which can assume a role using [Pod Identities](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).
478
+
- Installing the [Amazon EKS Pod Identity Agent](https://docs.aws.amazon.com/eks/latest/userguide/pod-id-agent-setup.html) on the cluster
479
+
- Configuring a [Kubernetes service account to assume an IAM role with EKS Pod Identity](https://docs.aws.amazon.com/eks/latest/userguide/pod-id-association.html)
480
+
- [Configure your pods, Deployments, etc to use the Service Account](https://docs.aws.amazon.com/eks/latest/userguide/pod-configuration.html)
481
+
- As soon as the pods/deployments are updated, you will see the couple of Env Variables listed below in the pods.
482
+
- `AWS_CONTAINER_CREDENTIALS_FULL_URI` - Contains the Uri of the EKS Pod Identity Agent that will provide the credentials
483
+
- `AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE` - Contains the token which will be used to create temporary credentials using the EKS Pod Identity Agent.
484
+
485
+
The minimal set of resources to deploy is the same than for [Running on EKS with IAM roles for service accounts](#running-on-eks-with-iam-roles-for-service-accounts), except there is no need to annotate the service account:
0 commit comments