question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make BinderSpawner a real class

See original GitHub issue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
betatimcommented, Dec 3, 2019

One thing to consider: this code gets changed (very) rarely. To me this means two things:

  • what ever system we use it has to be super simple so we can remember how it works (in two years time maybe none of us will still be working on this!)
  • it isn’t worth spending a lot of time on making the process nicer because with the time spent making it nicer we could do several iterations of changes (that XKCD comic)

Maybe we can solve some of the tediousness of the duplication with a comment that points to the duplicated places. We could also put a note in the copy in the docs saying “this is just an example, take these parts we have here and apply them to your version of the spawner/default spawner”.

I’d vote against a process that involves a new package or having to release one of the existing packages/charts (like z2jh). I am not against building our own hub image but I am not at all excited about it. Wary of the tasks that it would introduce like keeping it compatible with the z2jh chart version we use. This seems like a task that would occur frequently compared to the task of copying stuff around when we do change BinderSpawner.

1reaction
consideRatiocommented, Dec 3, 2019

Hmmmm, @bitnik an array would be replaced, a dictionary would be merged I think. Hmm… I figure you need to use hub.extraVolumes and hub.extraVolumeMounts directly and potentially conflict with binderhub users that override it.

=) I see that our Jupyter friend has already found this exact issue before, see: https://github.com/helm/helm/issues/3767

Read more comments on GitHub >

github_iconTop Results From Across the Web

BinderHub with private GitLab and user scopes
The idea is to be able to prevent users to build and launch a Binder for a repo they don't have access to...
Read more >
app — BinderHub documentation - Read the Docs
The class used to build repo2docker images. Must inherit from binderhub.build.BuildExecutor. build_cleanup_interval c.BinderHub.build_cleanup_interval = ...
Read more >
jupyterhub/binder
Does anyone know how to make my binder link directly open my Jupyter notebook in appmode? The link works fine and takes the...
Read more >
https://raw.githubusercontent.com/jupyterhub/mybin...
cryptnono: enabled: true tolerations: # deploy anti-cryptomining cryptnono ... kubernetes.io/ingress.class: nginx kubernetes.io/tls-acme: "true" # make sure ...
Read more >
Technical draft for dynamic image building
... NullAuthenticator and the Spawner to BinderSpawner derived from KubeSpawner, ... (link) Build is a class to create a monitored (status, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found