Skip to content

Commit 0f50d32

Browse files
authored
Update README.md (#78)
1 parent a673d86 commit 0f50d32

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,19 @@ make build-deploy
5454

5555
##### Configure role for k8s pod to invoke lattice api
5656

57-
Step 1: Create an IAM OIDC provider for your cluster:
57+
Step 1: Create an EKS cluster:
58+
59+
```
60+
eksctl create cluster --name <my-cluster> --region us-west-2
61+
```
62+
63+
Step 2: Create an IAM OIDC provider for your cluster:
5864
https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html
5965
```
6066
eksctl utils associate-iam-oidc-provider --cluster <my-cluster> --approve
6167
```
6268

63-
Step 2: Create a policy in IAM that can invoke vpc-lattice API and copy the policy arn for later use
64-
(iam-policy.json is under /code) :
69+
Step 3: Create a policy in IAM that can invoke vpc-lattice API and copy the policy arn for later use :
6570

6671
```
6772
aws iam create-policy \
@@ -70,7 +75,7 @@ aws iam create-policy \
7075
```
7176

7277

73-
Step 3: Create iamserviceaccount for pod level permission
78+
Step 4: Create iamserviceaccount for pod level permission
7479
```
7580
eksctl create iamserviceaccount \
7681
--cluster=<my-cluster-name> \
@@ -82,13 +87,13 @@ eksctl create iamserviceaccount \
8287
--approve
8388
```
8489

85-
Step 4: Deploy into cluster using generated deploy.yaml
90+
Step 5: Deploy into cluster using generated deploy.yaml..
8691

8792
```
8893
kubectl apply -f deploy.yaml
8994
```
9095

91-
Step 4: Deploy using helm Chart
96+
Step 5: ..Or Deploy using helm Chart
9297

9398
```
9499
# login ECR
@@ -97,13 +102,13 @@ aws ecr-public get-login-password --region us-east-1 | helm registry login --use
97102

98103
```
99104
helm install(or upgrade) gateway-api-controller \
100-
oci://public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller-chart\
105+
oci://public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller-chart \
101106
--version=v0.0.2 \
102107
--set=aws.region=us-west-2 --set=serviceAccount.create=false --namespace system
103108
```
104109

105110

106-
You can find more details are in [Detail Notes](https://code.amazon.com/packages/MercuryK8SController/blobs/mainline/--/developer.md) and [end-to-end Smoke Test](https://quip-amazon.com/FaquAsssAitb/Testing-Manual-end-to-end-Smoke-Testing-for-Kubernetes-Controllers).
111+
You can find more details in [Detail Notes](https://code.amazon.com/packages/MercuryK8SController/blobs/mainline/--/developer.md) and [end-to-end Smoke Test](https://quip-amazon.com/FaquAsssAitb/Testing-Manual-end-to-end-Smoke-Testing-for-Kubernetes-Controllers).
107112

108113
## Release
109114

0 commit comments

Comments
 (0)