{% extends "layout.html" %} {% block javascript %} {{ super() }} {% endblock %} {% block content %} {% if rok_token|length > 0 and form_defaults %}

New Notebook

Rok Jupyter Lab URL

Load an existing Jupyter Lab by providing a valid Rok URL.



Name

Specify the name of the Notebook Server and the Namespace it will belong to.


Image

A starter Jupyter Docker Image with a baseline deployment and typical ML packages.


CPU

Specify the total amount of CPU reserved by your Notebook Server. For CPU-intensive workloads, you can choose more than 1 CPU (e.g. 1.5).

Memory

Specify the total amount of RAM reserved by your Notebook Server (e.g. 2.0Gi).

Workspace Volume

Configure the Volume to be mounted as your personal Workspace.
For example, to create an empty Workspace: New {{ username }}-workspace, 10, /home/jovyan, ReadWriteOnce

Data Volumes

Configure the Volumes to be mounted as your Datasets.
For example, to create an empty Data Volume: New, {{ username }}-volume-1, 5, /home/jovyan/{{ username }}-volume-1, ReadWriteOnce

Extra Resources

Reserve additional resources.
For example, to reserve 2 GPUs: {"nvidia.com/gpu": 2}


{% else %}
×

The Secret "secret-rok-{{ username }}" could not be found in the Namespace {{ ns }}

Please follow the steps below to address this issue:

1. Log in to Rok
2. Go to Settings -> API access
3. From the dropdown box choose "Kubernetes secret", and download your secret to your computer as a local file, e.g., secret-rok-{{ username }}.yaml
4. Create a new secret on Kubernetes: kubectl -n {{ ns }} create -f secret-rok-{{ username }}.yaml
5. Verify that your new secret has been created: kubectl -n {{ ns }} get secret secret-rok-{{username}}
6. Refresh this page

{% endif %} {% endblock content %}