Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Terraform] EKS Fargate #100

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

[Terraform] EKS Fargate #100

wants to merge 2 commits into from

Conversation

ArmaanT
Copy link
Member

@ArmaanT ArmaanT commented Nov 7, 2021

This PR modifies our EKS cluster to use Fargate as a backend rather than EC2 instances. This allows us to not worry about the underlying EC2 VMs and instead just schedule pods into the ether.

TODO:
There is a problem where Fargate uses resource requests to determine the amount of CPU and RAM to give to the container. Icarus doesn't define these, so AWS defaults to the smallest value which is not enough for the penn courses backend. This results in the pod being killed over and over for Out Of Memory problems. Once we migrate to Kittyhawk, we can provide defaults for django, react, and general defaults to solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant