RhodiumGroup / rhg_compute_tools

Tools for using compute.rhg.com and compute.impactlab.org
MIT License
1 stars 4 forks source link

Add cluster scale-up blocking "wait" function #90

Open delgadom opened 4 years ago

delgadom commented 4 years ago

Adds a rhg_compute_tools.kubernetes.wait function which blocks until a cluster reaches the requested number of workers.

Note I couldn't quickly figure out how to implement this on gateway. They have totally changed the object interface to clusters and schedulers - everything is now async and I can't even figure out how to get the current number of workers, let alone the requested number.