Skip to content

Commit 1fd2712

Browse files
sethAmazonrltoSD
andauthored
Create Fargate Cluster With Terraform (#415) (#435)
Co-authored-by: rltoSD <[email protected]>
1 parent 82a3b8c commit 1fd2712

File tree

4 files changed

+556
-19
lines changed

4 files changed

+556
-19
lines changed

docs/run-testing-framework.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,27 +93,12 @@ terraform destroy -var="eks_cluster_name={the eks cluster name in your account}"
9393
````
9494

9595
### 2.3.1 Run in EKS Fargate
96-
#### Set Up
97-
* Install kubectl and eksctl
98-
* https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html
99-
* https://docs.aws.amazon.com/eks/latest/userguide/getting-started-eksctl.html
100-
* Create eks fargate cluster
101-
```
102-
eksctl create cluster --name <cluster_name> --region <region> --fargate
103-
```
104-
* Create a oicd
96+
#### Create a new fargate cluster (optional in integ test account required in person account)
97+
10598
```
106-
eksctl utils associate-iam-oidc-provider --cluster <cluster_name> --approve
99+
cd terraform/eks_fargate_setup && terraform apply -auto-approve -var="eks_cluster_name=<your_cluster>"
107100
```
108-
* Create web identity role (ServiceAccount-eks-test-aoc-role)
109-
* Identity provider is the openId connect on your eks cluster
110-
* Add required permissions for the collector for your test
111-
* Create Ingress controller fargate
112-
* https://aws.amazon.com/premiumsupport/knowledge-center/eks-alb-ingress-controller-fargate/
113-
* To test that ingress set up
114-
* Download config https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/docs/examples/2048/2048_full.yaml and replace all instances of namespace game-2048 with default.
115-
* Check for external url after a couple of minutes
116-
* ````kubectl get ingress````
101+
117102
#### How to run fargate tests
118103
Add -var="deployment_type=fargate" to the eks creation statement
119104
Supported tests

0 commit comments

Comments
 (0)