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