dask / dask-gateway

A multi-tenant server for securely deploying and managing Dask clusters.
https://gateway.dask.org/
BSD 3-Clause "New" or "Revised" License
135 stars 87 forks source link

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

Closed consideRatio closed 8 months ago

consideRatio commented 8 months ago

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 commented 8 months ago

Thank you @TomAugspurger!!