-
Notifications
You must be signed in to change notification settings - Fork 539
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
[k8s] Resource limit is not set when using --cpus 2
#4482
Comments
Hey @gaocegege - this is by design. We do not set CPU limits to let pods use idle resources on nodes. See https://home.robusta.dev/blog/stop-using-cpu-limits for an explaination. Curious to learn why you'd like to enforce limits. For |
I understand that CPU throttling is not ideal for jobs. In my situation, I have a cluster with one node and 32 CPUs. I want to run a local inference service alongside some jobs. My goal is to allocate more CPUs to inference while setting limits on the jobs. I found this in the documentation https://docs.skypilot.co/en/latest/reference/cli.html#sky-launch
This makes me think that |
I agree that most users do not know the mem usage, especially for the job. but is it possible to support rich syntax in the
This would allow for more flexible resource management. I understand that user experience matters, but keeping extensions for users to maintain advanced scheduling limits is also important from the admin's perspective. Additionally, it is necessary to improve utilization. |
When I set
sky launch --cpus 2 ./hello-sky/task.yaml
, I expected to set the CPU resource limit to 2. But I only get the resource request=2.I'm not sure whether this is a bug, a feature, or if I simply overlooked something.
Version & Commit info:
sky -v
: skypilot, version 1.0.0-dev0sky -c
: skypilot, commit f0ebf13The text was updated successfully, but these errors were encountered: