Cluster Templates
Cluster templates simplify cluster creation for end users. They help avoid incorrect parameter selection and reduce cost waste.
Note: Templates simplify cluster creation only. Managing existing clusters is not restricted by templates.
Template management
Permissions
See Permissions.
Create a template
Creating a template includes three parts: template parameters, fixed configuration list, and user-configurable list.
- Template parameters: Basic information such as name and description.
- Fixed configuration list: By default, all parameters are fixed. Parameters in this list are required and must be set by administrators. When users create a cluster from the template, these parameters are displayed but cannot be modified.
- User-configurable list: Empty by default. Administrators can move parameters from the fixed list into this list (single/batch). Admins can set defaults. Parameters in this list can be left empty. When users create a cluster, they can modify parameters in this list.
Template parameter fields:
- Template name: Required. Auto-generated with
clustertemp-prefix, editable, globally unique. - Description: Optional.
- Scheduler: Defaults to Fsched. Different parameters are shown depending on scheduler type:
- Fsched: Cluster with Fastone scheduler.
- NONE-Linux: Linux cluster without scheduler.
- NONE-Windows: Windows cluster without scheduler.
Template list
Field descriptions:
- Template ID: Auto-generated unique ID.
- Template name
- Status: If all required fixed parameters are present, status is Available. If required fixed parameters are missing, status is Unavailable with a prompt "This template is missing parameters, please edit it again" (for example, when referenced resources are deleted).
- Description
- Created at (UTC+8)
- Updated at (UTC+8)
Actions:
- Edit: Templates can be edited. The last saved defaults are retained. All parameters (including cluster name) can be edited. Editing a template does not affect existing clusters. After editing, new clusters created from the template use the updated template.
Scheduler type cannot be changed when editing; it is disabled.
-
Preview: Similar to the cluster creation UI using this template, except parameters are not editable.
-
Delete: Requires confirmation. After deletion, authorized users can no longer create clusters from this template and regular users will no longer see it.
-
Bulk delete: Same confirmation and behavior for multiple templates.
-
Access control
Click a template name to open details. Templates support access control. When granting access to users/groups, only read permission is supported.
Fixed template
After deployment, a fixed template exists. Its name and description correspond to cluster creation, and its created time is the deployment time. Only preview is supported. When creating clusters from the fixed template, all parameters are user-configurable.
By default, the fixed template is authorized to the defaultGroup group, so regular users have permission to use it.