jupyterhub-k8s | Data 8 's deployment of JupyterHub on Kubernetes | Learning library
kandi X-RAY | jupyterhub-k8s Summary
kandi X-RAY | jupyterhub-k8s Summary
Note that this repo is deprecated. If you want to deploy JupyterHub for your own use, please look at the Zero to JupyterHub guide which grew out of this repo!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create an archive
- Wait for an operation
- Attach a disk to an instance
- Delete a snapshot
- Check if an operation exists
- List all snapshots for a project
- Retrieve the single single user image from kubectl
- List all disks for a project
- Get user from claim
- Create a new disk from a snapshot
- Count the number of pods in a given namespace
- Return Kubernetes hub pod pod
- Filter out snapshots that are older than retention_period
- Returns the number of days between now and last backups
- Filter disks by their names
- Replace a snapshot with a new disk
- Filter snapshots by their id
- Create a snapshot of a disk
- Delete a specific snapshot
- Validate ACL for a given user
- Get all GCE persistent disk names in a given namespace
- Returns a list of all persistent volumes in the given namespace
- Returns all PV names in a namespace
- Create an SMTP connection
- Generate the URL for a bucket
jupyterhub-k8s Key Features
jupyterhub-k8s Examples and Code Snippets
Community Discussions
Trending Discussions on jupyterhub-k8s
QUESTION
I am running JupyterHub on Google Cloud VM but due to some reasons I am not able to access JupyterHub running on VM now. Rather than resolving the issue with current JupyterHub I wanted to migrate JupyterHub on our Google Kubernetes Engine, so I installed another JupyterHub on Google Kubernetes Engine using zero-to-jupyterhub-k8s
.
Now everything is running fine but I want to migrate the data saved on the old JupyterHub VM to my new JupyterHub. The new JupyterHub using Persistent Volume claims as storage for each of the pods of users. Could someone please let me know how can I do it?
...ANSWER
Answered 2020-Sep-17 at 11:28Posting this answer as a community wiki for a better visibility as well to add some additional resources that could help when encountered with similar scenario.
The issue portrayed in the question was resolved by copying user data to GCS bucket and then mounting the data to the user pods as posted in the comment:
I solved this issue by copying the data from the VM to Google Cloud Storage and then mounted the GCS Bucket on the user pods in JupyterHub on Google Kubernetes Engine.
The guide for installing zero-to-jupyterhub-k8s
:
Resources on mounting GCS bucket to the Kubernetes pod:
Citing the Github page:
Disclaimer!
The big catch is that for this to work, the container has to be built with gcsfuse. The Dockerfile includes a base build for debian jessie.
The most note worthy parts of the configuration are the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jupyterhub-k8s
You can use jupyterhub-k8s like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page