-
Notifications
You must be signed in to change notification settings - Fork 77
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
Checking cluster capacity and throttling when necessary #1275
Comments
devdattakulkarni
changed the title
Maintaining capacity and throttling when necessary
Checking cluster capacity and throttling when necessary
May 14, 2024
devdattakulkarni
changed the title
Checking cluster capacity and throttling when necessary
Checking cluster capacity and throttle when necessary
May 14, 2024
devdattakulkarni
changed the title
Checking cluster capacity and throttle when necessary
Checking cluster capacity and throttling when necessary
May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the situation where KubePlus receives a request to create an application instance, but there is no available capacity on the cluster. In this case, KubePlus should deny such a request. Currently, KubePlus will handle the request but the application Pods will remain Pending if there is not enough available capacity on the cluster.
This feature will require two things:
Performing both checks in mutating webhook can be tricky since there is a strict 30-second timeout window for mutating webhook actions. One option can be to provide a kubectl plugin to perform the first check. However, the use of this plugin cannot be enforced. So probably the best place to perform the checks will still be the mutating webhook.
The text was updated successfully, but these errors were encountered: