You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the scenario of a small Kubernetes cluster (2 nodes). Node 1 runs binderhub API and Node 2 runs repo2docker and JupyterHub. When container image cleaning starts in Node 2, the is marked as SchedulingDisabled. Without any other node able to run repo2docker and JupyterHub, the health API should return unhealth.
This might be a little tricky to implement. But I suppose the builder class cloud have a "builders available" method? The abstractions make it quite tricky, because how to check if it's true will depend on how it's deployed (i.e. in the helm config, outside the BinderHub config). You'll need to know which nodes to check for their scheduling status, if any.
rgaiacs
changed the title
Change API when node is SchedulingDisabled
Change Health API resply when node is SchedulingDisabled
May 24, 2023
Consider the scenario of a small Kubernetes cluster (2 nodes). Node 1 runs
binderhub
API and Node 2 runsrepo2docker
and JupyterHub. When container image cleaning starts in Node 2, the is marked asSchedulingDisabled
. Without any other node able to runrepo2docker
and JupyterHub, the health API should return unhealth.cc @arnim
Steps to reproduce
Observed Output
Expected Output
The text was updated successfully, but these errors were encountered: