Skip to main content
Version: 24.07.01

Resource settings templates

To view the Resource settings templates, select Resource Settings in the left pane.

The resource settings templates page allows you to quickly select, copy, and customize resource templates according to their needs, ensuring that applications are provided with the appropriate resources for optimal performance. It contains:

  • Sample Templates: Provides a selection of predefined resource templates which are categorized based on their size specifications - Small, Medium, and Large. Each sample template lists the resource allocations for CPU, Memory, and Storage.
  • Templates: Lists all available templates that users have created or are provided by the PDS platform. These templates are created to standardize and optimize the resource allocation for applications running on Kubernetes.

Create a template

This section explains how a PDS administrator can add a resource settings template for users.

Prerequisites​

  • PDS account Admin privileges

Procedure​

You can add a resource settings template in one of the following ways:

  • using a sample template
  • copying an existing template
  • adding your own template

Use a sample template​

PDS provides sample templates with pre-filled name and configuration parameters (key and value). It is designed to simplify the process of reusing and customizing resource configuration templates, promoting consistency, and streamlining the deployment of data services.

To create a resource settings template using a sample template:

  1. In the Resource Settings (Templates) page -> Sample Templates section, select a sample resource configuration template you wish to create.
  2. Click on the copy icon.
  3. (Optional) In the Copy Template page -> Basic Information section, you can rename the sample template and modify the pre-defined CPU, Memory, and Storage configurations.
  4. Review the Template Summary pane on the right side of the page, ensuring all details are correct.
  5. Select the Add Template button for the PDS platform to add and display the template in the Resource Settings (Templates) page -> Templates section.

Copy an existing template

To add a resource settings template by copying the configuration parameters of an existing template:

  1. In the Templates section, find a template that you want to copy, click on the vertical ellipsis menu icon, and then select Copy from the options. (Optional) In the Copy Template page -> Basic Information section, you can modify the existing template name and resource configurations.
  2. Review the Template Summary pane on the right side of the page, and select the Add Template button.

The copied resource settings template appears in the Templates section.

Create your own template

To create a resource settings template by defining the configuration parameters you want:

  1. In the Resource Settings (Templates) page, select the Create Template button.
  2. In the Create Template page -> Basic Information section, enter the template name and the required minimum and maximum CPU, Memory, and Storage configurations.
  3. Check the Template Summary on the right side of the page to ensure that all the information and configurations are correct, and then select the Add Template button to save the new template.

Add a template to a project

To add an existing resource settings template to a project:

  1. In the Templates section, select one or more template(s) you wish to add. To select all the available templates, select the checkbox beside the TITLE column label.
  2. Select the Add to Project button.
  3. In the Add to Project window -> Select Project dropdown, select a project to which you want to add the template.
  4. Select Add to project.

Edit a template

This section explains how a PDS administrator can edit an existing resource settings template for users.

Prerequisites​

  • PDS account Admin privileges
  • An existing resource settings template

Procedure

  1. In the Templates section, find the template you want to edit, click on the vertical ellipsis menu icon, and then select Edit from the options.
  2. In the Edit Template page -> Basic Information section, modify the existing resource configurations.
  3. In the Template Summary section, select the Update Template button.

Delete a template

This topic explains how a PDS administrator can delete an existing resource settings template for users.

Prerequisites​

  • PDS account Admin privileges
  • An existing resource settings template

Procedure​

  1. In the Templates section, find the template you want to delete, click on the vertical ellipsis button, and then select Delete from the options.
  2. In the Delete Resource Settings Template window, select the Delete button.
note

You cannot bring back the deleted template in the PDS platform.

Was this page helpful?