Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Use pre_spawn and post_stop hooks instead of polling for setting up publish service #37

Open
vpavlin opened this issue Jun 21, 2019 · 0 comments

Comments

@vpavlin
Copy link

vpavlin commented Jun 21, 2019

Currently there is a simple service which polls proxy API and updates proxy for published notebooks route. This could be done without polling by using pre_spawn and post_stop hooks in the spawner which would only configure the new proxy route once

i.e. remove https://github.com/AICoE/jupyterhub-ocp-oauth/blob/master/.jupyter/jupyterhub_config.py#L24

add the public route setup/teardown to https://github.com/AICoE/jupyterhub-ocp-oauth/blob/master/.jupyter/jupyterhub_config.py#L303

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant