Templates
A template is a pre-set configuration that is used to quickly configure and submit workloads using existing assets. A template consists of all the assets a workload needs, allowing researchers to submit a workload in a single click, or make subtle adjustments to differentiate them from each other.
Creating Templates¶
To create a template:
- In the left menu, press Templates, then press New Template.
- In the Scope pane, select a Scope.
- In the Environment pane, select an environment from the list. Use the Search environments if you do not see your environment listed. Press New environment to add a new environment to the system. Press More settings to edit or add an
Environment variable
, or to edit the Command and Arguments field for the environment you selected. - In the Environment pane, select an environment from the list. Use the Search environments if you do not see your environment listed. Press New environment to add a new environment to the system. Press More settings to add an
Environment variable
or to edit the Command and Arguments field for the environment you selected. - In the Compute resource pane, select a compute resource. Use the Search compute resources if you do not see your resource listed. Press New compute resource to add a new compute resource to the system. Press More settings to add a node type (node affinity) to the compute resource selected.
-
(Optional) In the Volume pane, press +volume to add a new volume to the template.
From the drop down menus select: * Storage class * Access mode * Claim size and units * Volume mode
Set the Volume target location, then select from either a Persistent volume or an Ephemeral volume.
-
In the Data sources pane, select a data source. Press New data source to add a new data source to the system.
-
In the General pane, choose to add the following:
- Auto-deletion—the time after which a workload that has completed or failed will be deleted. Press +Auto-deletion then configure the time in days, hours, minutes, and seconds.
- Annotation—press +Annottion then enter a name and a value. You can add multiple annotations by pressing the +Annottion.
- Label—press +Label then enter a name and a value. You can add multiple labels by pressing the +Label.
-
Press Create template when your configuration is complete.