Skip to content

Commit f645c73

Browse files
committed
Add configuration instructions for EKS
1 parent 955d298 commit f645c73

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.adoc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,35 @@ a|
7979

8080
|===
8181

82+
If you are deploying this architecture to an Amazon EKS cluster, you would need to give the Lambda
83+
execution role permissions in Amazon EKS cluster. You can get the ARN of your Lambda execution role
84+
from the Outputs tab in the CloudFormation template. Refer to this
85+
link:https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html[User Guide] for detailed
86+
instructions.
87+
88+
1. Edit the `aws-auth` ConfigMap of your cluster.
89+
90+
kubectl -n kube-system edit configmap/aws-auth
91+
92+
2. Add your Lambda execution role to the config
93+
94+
# Please edit the object below. Lines beginning with a '#' will be ignored,
95+
# and an empty file will abort the edit. If an error occurs while saving this file will be
96+
# reopened with the relevant failures.
97+
#
98+
apiVersion: v1
99+
data:
100+
mapRoles: |
101+
- rolearn: arn:aws:iam::<AWS Account ID>:role/devel-worker-nodes-NodeInstanceRole-74RF4UBDUKL6
102+
username: system:node:{{EC2PrivateDNSName}}
103+
groups:
104+
- system:bootstrappers
105+
- system:nodes
106+
- rolearn: arn:aws:iam::<AWS Account ID>:role/<your lambda execution role>
107+
username: admin
108+
groups:
109+
- system:masters
110+
82111
=== Test CI/CD platform
83112

84113
Install credential helper

0 commit comments

Comments
 (0)