Skip to content

k8s controller: round to worker cores to three digits, not one #766

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

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

consideRatio
Copy link
Collaborator

@consideRatio consideRatio commented Oct 30, 2023

I believe that CPU requests as enforced by the container runtimes associated with k8s clusters often has a resolution to millicores or 0.001 of a core, so going for three decimals makes us not loose resolution without introducing loads of decimals.

@consideRatio consideRatio merged commit d49d563 into dask:main Nov 1, 2023
@consideRatio
Copy link
Collaborator Author

Thank you @TomAugspurger!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes controller deoesn't respect worker_cores factions correctly
2 participants