Ray.state.actor output and actor scheduling

I am yet to use list_named_actors() but I think it is not as rich as ray.state.actors():

  1. For list_named_actotrs() to work user actors should be named
  2. It does not provide IP address of workers running actors
  3. It does not provide state information
  4. It does not provide metadata about actors which are detached (same is the case with ray.state.actors())

We need metadata to evict ray nodes in a running fixed-size Kubernetes cluster. We want to evict ray nodes that run tasks only if possible.

We have been discussing it here: Autoscaler node termination behavior when scaled down with helm - #5 by Dmitri