Creating a Resource Pool Template¶
To enforce resource limits, you must first create at least one resource pool template because all resource pools must be based on a resource pool template. A resource pool template is not associated with any users. It only contains the resource limit settings that its resource pools can inherit. After you create a resource pool from a template, you can override any or all of the settings it inherited from the template. You can also create a resource pool template that is entirely unrestricted by leaving all of the resource limit settings blank.
The resource pool template permits you to configure and manage the resource limits for multiple resource pools in one place. In a classroom training scenario, for instance, you can create a separate resource pool for each user that enforces the same resource limits, using the template to change those settings on all of the associated resource pools at once. Resource pool templates can also be used in conjunction with LDAP authentication to create individual resource pools for users automatically the first time they log into the CML instance.
Procedure
Log into the CML UI as a user with administrator privileges.
Click the
menu item.On the System Administration page, click Resource Pools.
The Resource Pools page is shown with a table of all resource pools and templates.
Click the Add button.
The Add Pool/Template (Template) page is shown. The Template field will display New Template, indicating that you are creating a resource pool template.
In the Template Name field, enter a name for the new template.
(Optional) Enter a Description for the new template.
(Optional) Set resource limits on node licenses, vCPU cores, memory usage, or external connectors.
All resource pools associated with this template will inherit the template’s resource limits.
Click the Create button.
The Resource Pools page is shown with a table of all resource pools and templates. Your newly created template is now available in the list.