Autoscaler does not scale in ray1.4 with 0 CPUs allocated head node

Hello,

In order to avoid scheduling tasks on the head node, it is recommended to set CPU:0 in rayResources. When minWorkers is set to 0 with 0 CPUs assigned to the ray head node, we see that autoscaling does not happen.

Is this the expected behavior?

documentation here: Ray Deployment Guide — Ray v2.0.0.dev0

cc @Dmitri

Thanks

It’s a known issue: [k8s][autoscaler][core] { "CPU": 0 } is not working for avoid task scheduling in rayHeadType Pod · Issue #16935 · ray-project/ray · GitHub
I’m hoping to address it in the not-too-distant future.

1 Like