Allow optional configurable limits and requests on CPU and RAM for containers #3469
seanhamlin
started this conversation in
Roadmap
Replies: 3 comments
-
I don't think this should be user configurable (too easy to break things) but potentially having some way for an administrator to override the default requests per project/environment would be helpful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think that would be perfect. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This would have come in handy with a load test for an application that was heavy on CPU, and the cluster was only moderately sized (5 nodes). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Related to #2957
At present
nginx/php
are spawned with incredibly tiny requests for both theNginx
andPHP
containers:This is also hardcoded.
Impact
If you are running a highly authenticated application on a small cluster, it is hard to get the EKS cluster to scale horizontally. The HPA will load more pods on to the already CPU exhausted nodes.
Ideal solution
We are able to define the requests per container, ideally, there would be a way to configure PHP to have:
This way, as the HPA scaled in more pods, they would force the cluster to scale horizontally in line with the requests.
Potentially more labels in
docker-compose.yml
?Beta Was this translation helpful? Give feedback.
All reactions