-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Admission webhook should not reject workloads with only resource limits set #4802
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
@nettoclaudio There are some comments on your PR; are you able to resolve them please? |
Report
I'm unable to create/update ScaleObjects with either CPU; memory; or both scalers, if the underlying workload assigns only resource limits and does not set any requests.
Expected Behavior
Based on Kubernetes documentation (I brought the quote below from here), users can assign only resource limits to their containers, so the ScaledObject admission webhook should also consider the resource limits during workload resources validation.
Actual Behavior
Workloads that only set resource limits are rejected by the admission webhook.
Steps to Reproduce the Problem
Logs from KEDA operator
No response
KEDA Version
2.11.1
Kubernetes Version
None
Platform
Any
Scaler Details
CPU, memory
Anything else?
No response
The text was updated successfully, but these errors were encountered: