Dataset Management
Dataset management provides the capabilities of managing dataset resources such as create, delete, edit datasets and of permission-control so that datasets can be accessed only by specific groups accordingly.
Creating New Dataset
Click Add
to add a Dataset and it will pop up the edit screen of Datasets.
You need to fill in these fields:
Name
(required): Only lowercase letters, numbers, dash-
and the bottom line_
can be filled in.Display name
Description
Mount Root
This field is not editable. It displays the path to datasets.Global
If enabled, everyone can read this dataset; furthermore, we can setWritable
groups. If disabled, linking groups withReadOnly
orWritable
permission byedit groups
is required.Launch Group Only
WhenGlobal
is disabled, we can setLaunch Group Only
or not. If enabled, the dataset is only visible to specific groups; furthermore, we can setReadOnly
groups orWritable
groups.Type
git
,env
andpvc
.Edit Groups
Set accessible groups, whenGlobal
is disabled.
There are three type
:
git
Fill the URL of git repo (can be https or git). You can use #branch
to specify the branch or tag name.
Click Change
to select a secret from the list if a pull-secret is required
.
env
If dataset is an environment variable, not a file, you can use env
type. Please fill the key
and value
in the Variables
. If there are more than one variable, you can click + Add field
to add more field.
The full name of env variables will be
<dataset_name>_<variable_name>
.
pv
You can specify the volume size
, once it is confirmed, there is a fixed-size volume created and the volume size is not able to be changed via Admin Dashboard.
Click Confirm
to complete the addition.
Upload Server
Upload Server
feature is introduced in type pv
dataset that allows users to upload files to the type pv
dataset volume via the upload server.
When editing a created type pv dataset, Enable Upload Server
toggle and Regenerate Secret
button appear.
Toggle Enable Upload Server
on, and click Confirm
. There is a pop-up showing the credential (Username
/ Password
) for the uploader access.
Since the credential shows once only, you must keep it in a memo before clicking OK
.
Note: if credential is lost
you can go back to dataset editing page and click Regenerate Secret
button again to have a new pair of credential.
You can see a Link
created in Upload Server
field of the dataset.
Clicking the link, and input the credential you keep in the memo.
After login the upload server, it displays a file list and click Upload Data
.
A upload dialogue appears.
Dragging files for uploading, files are not uploaded yet at this moment.
Click Upload n files
to trigger the upload. It shows Complete at bottom of the uploader once finished.
Close the uploader and back to the file list, uploaded files are listed.
You can find these uploaded files in the dataset volume which is mounted on the hub in your jupyter notebook. Currently these files can be removed only via notebook.
Deleting Dataset
Click Delete
in the Datasets list, the confirmation dialog will pop up, and the Dataset will be deleted when you click OK
.
Editing Deataset
Click Edit
to enter the edit page of the Dataset.
If Global
is disabled, please click edit groups
under the edit Dataset page to set accessible groups that have permission to use the Dataset.