<p>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.</p>

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

James Wierzba
<p>Depending on your <code>deployment</code>, I would copy all <code>yaml</code> files responsible for deploying the JupyterHub and copy the data from <code>Persistent Volumes</code>.</p>

<p>You could do that by using <code>kubectl cp</code> this is nicely explain in this post <a href="https://stackoverflow.com/questions/52407277/how-to-copy-files-from-kubernetes-pods-to-local-system">How to copy files from kubernetes Pods to local system</a>.</p>

<p>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.</p>
