Administering Jupyter notebooks with Python 3.7 GPU
Administering tasks include backing up the Jupyter notebooks with Python 3.7 GPU service. Backing up the service means creating snapshots of persistent volumes that are used by the service to preserve configurations, running jobs, and build artifacts.
Before you back up the service, you must stop all active notebook runtimes and jobs. Do the following procedure:
- Before starting the backup, confirm that you are logged in as cluster administrator.
- Stop all active notebook runtimes and jobs by running:
oc get pod -l runtime=true -o name | xargs --no-run-if-empty -I{} oc exec {} -- /opt/ibm/ws/bin/shutdown.sh oc get pod -l job=true -o name | xargs --no-run-if-empty -I{} oc exec {} -- /opt/ibm/ws/bin/shutdown.sh - See Backup and restore to continue backing up and restoring the service.