gesiscss / persistent_binderhub Goto Github PK
View Code? Open in Web Editor NEWA Helm chart repo to install persistent BinderHub
Home Page: https://gesiscss.github.io/persistent_binderhub/
License: BSD 3-Clause "New" or "Revised" License
A Helm chart repo to install persistent BinderHub
Home Page: https://gesiscss.github.io/persistent_binderhub/
License: BSD 3-Clause "New" or "Revised" License
Hi all, I'm running into the following error while launching a repo. Any ideas on how to resolve this. Thanks
Repo: https://github.com/binder-examples/r
My config.yaml:
binderhub:
config:
BinderHub:
hub_url: http://<hubip>
use_registry: true
image_prefix: <dockerusername/binderhub->
jupyterhub:
hub:
services:
binder:
# where binder runs
url: "http://<binderip>"
apiToken: <token>
oauth_redirect_uri: "http://<hubip>/services/binder/oauth_callback"
oauth_client_id: "binder-oauth-client-test"
config:
JupyterHub:
authenticator_class: dummy
proxy:
secretToken: <token>
singleuser:
storage:
dynamic:
storageClass: <name for my storage class>
registry:
username: <dockerusername>
password: <password>
Currently the pod fails to start, and it's not possible to kill it from the admin panel.
Need to remove the pod and ask the user to delete one of the projects.
Following kinds of Dockerfiles are not supported:
jovyan
We should support them and until then we should at least show warnings in the UI.
Would it be possible to not override self.init_containers
but only add the project-manager
init container in persistent_bhub_config.py?
E.g.
if not any(ic["name"] == "project-manager" for ic in self.init_containers):
self.init_containers.append({
"name": "project-manager",
"image": self.image,
"command": command,
# volumes is already defined for notebook container (self.volumes)
"volume_mounts": [projects_volume_mount],
})
persistent_binderhub/README.md
Lines 191 to 200 in 096dfb8
Here are the pieces to update:
this chart by default configures binder to run at /services/binder/
. but font files of binder are always served at /
, this is already a known issue, jupyterhub/binderhub#793.
In Deploying Persistent BinderHub on minikube we write
Run minikube ip to get the IP of the running cluster and in local/minikube/config.yaml replace all occurrences of the dummy IP (127.0.0.1) with the IP of the cluster.
As of be8526b there seems to be no more 127.0.0.1
in config.yaml
Is add more prettier changes to blame?
CC @MridulS
It gives users some feedback while the servers are launching.
The delete button in the "Your Projects" list is not working.
Hi folks,
I was trying to have a play with the persistent binderhub today but I couldn't get it installed (following instructions in the readme).
Here's the install command and error:
$ helm install persistent_binderhub/persistent_binderhub --version=0.2.0-n181 --name pbhub --namespace pbhub -f config.yaml --debug
[debug] Created tunnel using local port: '65528'
[debug] SERVER: "127.0.0.1:65528"
[debug] Original chart version: "0.2.0-n181"
[debug] Fetched persistent_binderhub/persistent_binderhub to /Users/sgibson/.helm/cache/archive/persistent_binderhub-0.2.0-n181.tgz
[debug] CHART PATH: /Users/sgibson/.helm/cache/archive/persistent_binderhub-0.2.0-n181.tgz
Error: render error in "persistent_binderhub/charts/binderhub/templates/deployment.yaml": template: persistent_binderhub/charts/binderhub/templates/deployment.yaml:98:74: executing "persistent_binderhub/charts/binderhub/templates/deployment.yaml" at <"/">: invalid value; expected string
And my config file looks like this:
binderhub:
jupyterhub:
hub:
services:
binder:
apiToken: "redacted"
proxy:
secretToken: "redacted"
singleuser:
storage:
dynamic:
storageClass: azurefile
registry:
username: sgibson91
password: "redacted"
Looks to me like a templating error somewhere into the binderhub chart, but I can deploy the standard binderhub chart without issue. Also a /
character does not exist anywhere in the redacted secrets, so I'm not quite sure where that error comes from.
Any help would be greatly appreciated, thanks!
One way would be to add a button for each repo to copy sharable launch url in Your Projects table.
Has it been discussed to add a UI option to launch a project with additional resources? Similar to the profile list in JupyterHub.
Templates are mounted at /etc/jupyterhub/templates
and statics files at /usr/local/share/jupyterhub/static/persistent_bhub
. See if it's possible to streamline this.
Hi, I tried setting up https using the binderhub documentation " "https://binderhub.readthedocs.io/en/latest/https.html". After the final step upon upgrading the certificates are not being issued. Please let me know how to debug this particular issue. Thanks
I'm trying to follow the binderhub documentation "https://binderhub.readthedocs.io/en/latest/https.html" for settings up https with pbuhup. After this step https://binderhub.readthedocs.io/en/latest/https.html#ingress-proxy-using-nginx the external ip address of the nginxingress is stuck at pending.
Here is the output of the kubectl describe. Any suggestions on how to proceed with this. Thanks
W0928 14:05:26.697830 9903 gcp.go:119] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Name: pbhub-proxy-nginx-ingress
Namespace: pbhub-ns
Labels: app.kubernetes.io/instance=pbhub-proxy
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=pbhub-proxy-nginx-ingress
helm.sh/chart=nginx-ingress-0.14.1
Annotations: cloud.google.com/neg: {"ingress":true}
meta.helm.sh/release-name: pbhub-proxy
meta.helm.sh/release-namespace: pbhub-ns
Selector: app=pbhub-proxy-nginx-ingress
Type: LoadBalancer
IP Family Policy: SingleStack
IP Families: IPv4
IP: 10.16.7.7
IPs: 10.16.7.7
IP: 34.94.96.171
Port: http 80/TCP
TargetPort: 80/TCP
NodePort: http 32137/TCP
Endpoints: 10.12.0.40:80
Port: https 443/TCP
TargetPort: 443/TCP
NodePort: https 30319/TCP
Endpoints: 10.12.0.40:443
Session Affinity: None
External Traffic Policy: Local
HealthCheck NodePort: 32685
Events:
Type Reason Age From Message
Normal EnsuringLoadBalancer 48s (x9 over 16m) service-controller Ensuring load balancer
Warning SyncLoadBalancerFailed 48s (x9 over 16m) service-controller Error syncing load balancer: failed to ensure load balancer: requested ip "34.94.96.171" is neither static nor assigned to the LB
Launching the default image gesiscss/persistent_binderhub
results in
Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockert5t4b9he'...
HEAD is now at da46abd persistent_binderhub-0.2.0-n919.tgz
Using DockerBuildPack builder
Step 1/9 : FROM jupyter/base-notebook:hub-1.4.2
---> 3059097d7b03e...
Step 2/9 : COPY intro_to_persistent_binderhub.ipynb ${HOME}/intro_to_persistent_binderhub.ipynb
COPY failed: file not found in build context or excluded by .dockerignore: stat intro_to_persistent_binderhub.ipynb: file does not existBuilt image, launching...
Failed to connect to event stream
on my local machiene
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.