https://github.com/gesiscss/example-binderhub-deployments
Example BinderHub deployment files for various ways
https://github.com/gesiscss/example-binderhub-deployments
binderhub binderhub-deployments
Last synced: 8 months ago
JSON representation
Example BinderHub deployment files for various ways
- Host: GitHub
- URL: https://github.com/gesiscss/example-binderhub-deployments
- Owner: gesiscss
- Created: 2019-01-11T11:43:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T09:50:07.000Z (over 5 years ago)
- Last Synced: 2025-01-03T18:47:13.368Z (9 months ago)
- Topics: binderhub, binderhub-deployments
- Language: HTML
- Homepage:
- Size: 133 KB
- Stars: 4
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A repo with helm chart to demonstrate different kinds of BinderHub deployments.
### Deployments
```bash
cd example-binderhub-deploymentshelm repo add jupyterhub https://jupyterhub.github.io/helm-chart/
helm repo update
helm dependency update helm-chart# plain bhub
helm upgrade --install --namespace=bhub-example-ns bhub-example helm-chart \
-f secret.yaml \
--wait --force --debug --timeout=360# auth
helm upgrade --install --namespace=bhub-example-ns bhub-example helm-chart \
-f auth.yaml -f secret.yaml \
--wait --force --debug --timeout=360# auth with named servers
helm upgrade --install --namespace=bhub-example-ns bhub-example helm-chart \
-f auth.yaml -f auth_with_named_servers.yaml -f secret.yaml \
--wait --force --debug --timeout=360# with custom templates
helm upgrade --install --namespace=bhub-example-ns bhub-example helm-chart \
-f custom_templates.yaml -f secret.yaml \
--wait --force --debug --timeout=360
# with auth and persistent storage
helm upgrade --install --namespace=bhub-example-ns bhub-example helm-chart \
-f auth.yaml -f persistent_storage.yaml -f secret.yaml \
--wait --force --debug --timeout=360# to delete
helm delete --purge bhub-example
kubectl delete namespace bhub-example-ns```
`secret.yaml` looks like:
```yaml
binderhub:
jupyterhub:
hub:
services:
binder:
apiToken: ""
proxy:
secretToken: ""
auth:
github:
clientId: ""
clientSecret: ""
registry:
username: ""
password: ""config:
GitHubRepoProvider:
access_token: ""```
### Documentation
- template customization:
- https://binderhub.readthedocs.io/en/latest/customizing.html#template-customization
- https://discourse.jupyter.org/t/customizing-jupyterhub-on-kubernetes/1769/18
- authentication: https://binderhub.readthedocs.io/en/latest/authentication.html