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

max allowed pods check in cluster_k8s.go #509

Merged
merged 4 commits into from
Feb 11, 2020
Merged

max allowed pods check in cluster_k8s.go #509

merged 4 commits into from
Feb 11, 2020

Conversation

nonsense
Copy link
Member

@nonsense nonsense commented Feb 10, 2020

A simple check before we try to schedule pods to Kubernetes to make sure we have enough resources.

If we don't do that and a user requests 1000 pods, and has for example only 3-4 workers, then pods would go into Pending state, and wait for available resources, which will never come as we currently don't have auto-scaling.


Fixes: #498


TODO:

  • parse CPU value from config, rather than have it hardcoded

@nonsense nonsense force-pushed the max-allowed-pods branch 2 times, most recently from 812e154 to 75b8e7f Compare February 10, 2020 13:26
@nonsense nonsense merged commit 4f54bb4 into master Feb 11, 2020
@nonsense nonsense deleted the max-allowed-pods branch February 11, 2020 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

testground to be aware remote resources
1 participant