Creating a new environment¶
To create an environment:
- In the left menu, press New Environment.
- In the Scope pane, choose one item from the tree. The compute resource is assigned to that item and all its subsidiaries.
- Enter an Environment name.
- Enter the image URL path and an image pull policy.
-
Choose a supported workload type. Configure this section based on the type of workload you expect to run in this environment. Choose from:
Single node
—use for running workloads on a single node.Multi-node
—use for running distributed workloads on multiple nodes.
Then choose the workload that can use the environment:
Workspace
Training
-
In the Supported workload types pane select either
Single node
orMulti-node (Distributed)
. -
If you selected
Single node
, selectWorkspace
, orTraining
or both. - If you selected
Multi-node (Distributed)
, select a framework from the dropdown, then selectWorkspace
, orTraining
or both.
-
Select a tool from the list. You can add multiple tools by pressing + Tool. Selecting a tool is optional.
Tools can be:
- Different applications such as Code editor IDEs (for example, VS Code), Experiment tracking (for example, Weight and Biases), visualization tools (for example, Tensor Board), and more.
- Open source tools (for example, Jupyter notebook) or commercial 3rd party tools (for example,. MATLAB)
It is also possible to set up a custom tool used by the organization.
For each tool, you must set the type of connection interface and port. If not set, default values are provided. The supported connection types are:
- External URL: This connection type allows you to connect to your tool either by inserting a custom URL or having one generated for you. Either way, the URL should be unique per workspace as many workspaces may use the same environment. If the URL type was set to custom, the URL will be requested from the Researcher upon creating the workspace.
- External node port: A NodePort exposes your application externally on every host of the cluster, access the tool using
http://<HOST_IP>:<NODEPORT>
(for example, http://203.0.113.20:30556).
Note
Selecting a tool requires configuration to be up and running. To configure a tool:
- The container image needs to support the tool.
- The administrator must configure a DNS record and certificate. For more information, see Workspaces configuration.
-
Configure runtime settings with:
- Commands and arguments—visible, but not editable in the workspace creation form.
- Environment variables—visible and editable in the workspace creation form.
- Set the container's working directory.
Note
The value of an environment variable can remain empty for the researcher to fill in when creating a workspace.
-
Configure the security settings from:
- Settings in the image—security settings that come with the image file.
-
Custom settings:
1. User ID. 2. Group ID. 3. Supplementary Groups. 4. Values modification settings.
-
Add linux capabilities.
Download Environments Table¶
You can download the Environments table to a CSV file. Downloading a CSV can provide a snapshot history of your environments over the course of time, and help with compliance tracking. All the columns that are selected (displayed) in the table will be downloaded to the file.
To download the Environments table to a CSV:
- In the left menu, press Environments.
- From the Columns icon, select the columns you would like to have displayed in the table.
- Click on the ellipsis labeled More, and download the CSV.