Comments (8)
At the moment my deployment is running daskhub-2023.1.0
from dask-gateway.
If the hub
pod isn't running, we don't see the warnings any more. So, its JupyterHub sending these out regularly.
And why? Because of a service health check: https://github.com/jupyterhub/jupyterhub/blob/29bb4b80329636b3a8aba22c9d0401dbca5be3cb/jupyterhub/app.py#L3490-L3496
I'll keep thinking a bit.
from dask-gateway.
I had a look at this, and its seems it isn't the liveness/readiness probe after all. Not sure what can be done besides looking into why this happens, and if its a problem for everyone or that its a problem caused in my deployment of dask-gateway specifically due to a mistake by me.
from dask-gateway.
It also happens in my deployment, and I agree it clutters the logs and it's not sure whether its presence is a good or bad sign.
from dask-gateway.
Ah okay thats good to know @sebastian-luna-valero, is your deployment made side by side with a jupyterhub installation like mine?
from dask-gateway.
So JupyterHub is configured to proxy traffic via /services/dask-gateway to the dask-gateway server, and that is relevant in order to ensure you can access dashboards currently from a browser.
At the same time, JupyterHub automatically runs a health check against that specific destination for the health check. By doing so, it causes the 404 responses.
One course workaround is to set the daskhub chart config jupyterhub.hub.config.JupyterHub.service_check_interval=0
, by doing so the service health check is disabled. At the same time, maybe that is relevant in other situations for other JupyterHub registered services. Possibly not.
I think its out of scope for dask-gateway to adjust to this. So, these are the paths I see reasonable to take:
- JupyterHub could allow itself to be configured to run health checks correctly against
/api/health
instead - JupyterHub could make it able to disable health checks for individual services
- Individual users wanting to avoid this could configure
jupyterhub.hub.config.JupyterHub.service_check_interval=0
if they are using the daskhub helm chart that deploys the jupyterhub helm chart and the dask-gateway helm chart side by side.
from dask-gateway.
@sebastian-luna-valero I'll go for a close on this, I think its out of scope for dask-gateway to adjust to this - it makes sense to log 404 arriving to /
I think.
jupyterhub/jupyterhub#4637 is opened now though.
from dask-gateway.
Sure, thanks for the insights!
from dask-gateway.
Related Issues (20)
- Dask Cluster Lifecycle Manager for Idle clusters HOT 6
- Adding envs key Helm values to gateway resources #688 HOT 1
- KILLED: dask.worker_X - Killed by user request. HOT 1
- Slurm Job Fails Due to Missing SSL Certificates When Creating Cluster using dask-gateway-server HOT 2
- Project's test are failing - help to debug greatly appreciated HOT 4
- SQLAlchemy default installs v2.0, dask-gateway-server uses 1.4.x syntax HOT 2
- Should the dask-gateway helm chart disable the worker pod's nanny? HOT 1
- Unpin setuptools in dask-gateway-server's build environment HOT 1
- Ensure all config has help strings for our configuration reference docs HOT 1
- Change of controller's log level of "Reconciling cluster"
- Detail the log message when shutting down a cluster due to `idle_timeout` HOT 4
- Cleanup k8s DaskCluster resources by introducing a `ttlSecondsAfterFinished` field respected by the controller?
- Test failures in main branch
- Kubernetes controller deoesn't respect worker_cores factions correctly
- Don't always set imagePullPolicy to IfNotPresent HOT 1
- AttributeError: 'GatewayCluster' object has no attribute 'wait_for_workers' HOT 2
- Fix logged aiohttp warning about "app key"
- Decide on `wait_for_workers` implementation in client cluster object
- Tests broken again
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dask-gateway.