Skip to main content

Add template

This topic explains how a PDS administrator can add an application configuration template for users.

Prerequisites

  • PDS account Admin privileges

Procedure

You can add an application configuration 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). To add an application configuration template using a sample template:

  1. Select SettingsData Services tab.

  2. In the Data Services page, select the data service you want to configure.

  3. In the specific <data-service> Templates page, select the Application Configuration tab.

  4. In the Samples section, select the vertical ellipsis button in the sample template (Large heap, Medium heap, or Small heap) that you want to copy.

  5. From the options, select Copy to templates:

    Samples copy to templates option

    In the Copy Application Configuration Sample window, the name of the copied sample template is appended with copy.

  6. (Optional) You can modify the predefined template Name and CONFIGURATION PARAMETERS, if you wish to.

  7. Select the Copy to Templates button:

    Copy application config template window

    note

    For more information about the available configuration parameters for data services, refer to the following topics:

The copied application configuration template appears in the Templates section:

Copied application config template

Copy an existing template

To add an application configuration template by copying the configuration parameters of an existing template:

  1. In the <data-service> Templates page → Application Configuration tab → Templates section, select the vertical ellipsis button in an existing template you want to copy.

  2. From the options, select Copy:

    Copy existing application config template option

  3. In the Copy Application Configuration Template window, you can modify the predefined template Name and CONFIGURATION PARAMETERS, if you wish to.

  4. Select the Copy Template button:

    Copy existing application config template window

    The copied application configuration template appears in the Templates section.

Add your own template

To add an application configuration template by defining the configuration parameters you want:

  1. In the <data-service> Templates page → Application Configuration tab → Templates section, select Add Template.

    Add template button

  2. In the Add Application Configuration Template window:

    • Copy an Existing Template: If you enable this option, you can select an existing template from the --Select Template-- dropdown list. The name and the predefined configuration parameters of the selected template are populated automatically, which you can modify if you wish to.

    • Name: enter the template name.

      note

      The template name must be unique.

    • Add: displays the key and value text boxes to enter both the configuration parameters.

    • Add Deploy-time Parameter: displays only the key text box to enter the configuration parameter.

  3. Select Add Template.

    Add template window

Add an empty template

PDS allows you to add an empty application configuration template, without specifying all configuration parameters:

add empty application configuration template

For example, in the following image, you can select the empty template in the Deploy window → dropdown in the Apllication Configuration section, and start deploying the Redis data service:

select empty application configuration template

When you deploy a data service using the empty template, PDS will ask you to enter the configuration parameters.

Was this page helpful?