0

In a scenario where we need to re-provision kubernetes cluster (specifically, AWS-managed kubernetes, “EKS”) – is it possible to migrate JupyterHub application state from the old cluster to the new cluster? Ideally, we would like to migrate everything. But it would be sufficient to just migrate user notebook files.

Details: JupyterHub (0.8.2) was deployed to AWS-managed kubernetes using helm v2.13

James Wierzba
  • 16,176
  • 14
  • 79
  • 120

1 Answers1

2

Depending on your deployment, I would copy all yaml files responsible for deploying the JupyterHub and copy the data from Persistent Volumes.

You could do that by using kubectl cp this is nicely explain in this post How to copy files from kubernetes Pods to local system.

It all depends on how you deployed the JupyterHub, you need to provide more details regarding how was that deployed and what is exactly being used and how.

Discombobulate
  • 279
  • 2
  • 8
  • what kind of additional details would be helpful? I updated the question to reflect the JupyterHub version, how it was deployed (helm/tiller) and the helm version – James Wierzba Jan 24 '20 at 19:16