Skip to content

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

Merged
consideRatio merged 1 commit into
dask:mainfrom
consideRatio:pr/fix-rounding
Nov 1, 2023
Merged

k8s controller: round to worker cores to three digits, not one#766
consideRatio merged 1 commit into
dask:mainfrom
consideRatio:pr/fix-rounding

Conversation

@consideRatio

@consideRatio consideRatio commented Oct 30, 2023

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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