Enterprise Distributed Application Service (EDAS) allows you to save frequently used configurations as configuration templates. You can use the configuration templates to import frequently used configurations to facilitate application configuration management (ACM) and Kubernetes cluster configuration.

Scenarios of using configuration templates

  • ConfigMap configuration: You can import configuration templates in various formats.
  • Secret configuration: You can import configuration templates in various formats.

Create a configuration template

  1. Log on to the EDAS console. In the left-side navigation pane, choose Application Management > Kubernetes Configurations > Configuration Template.
  2. On the Template Configuration Management page, click Create configuration template.
  3. In the Create configuration template panel, set the parameters and click Yes.
    ParameterDescription
    NameThe name of the configuration template. Enter a name as required.
    Note The name must be unique.
    Template formatThe format of the configuration template. Frequently used text formats, a custom text format, and the key-value pair format are supported. The frequently used text formats are JSON, XML, YAML, and Properties.
    Template descriptionThe description of the configuration template.
    Template contentThe content of the configuration template. You can import a template file from your on-premises device. The file can be up to 1,024 KB in size.
    After the configuration template is created, the template name appears on the Template Configuration Management page.

Modify a configuration template

  1. Log on to the EDAS console. In the left-side navigation pane, choose Application Management > Kubernetes Configurations > Configuration Template.
  2. On the Template Configuration Management page, find the configuration template that you want to modify and click Edit in the operation column.
  3. In the panel that appears, modify the parameters and click Yes.

Delete a configuration template

  1. Log on to the EDAS console. In the left-side navigation pane, choose Application Management > Kubernetes Configurations > Configuration Template.
  2. On the Template Configuration Management page, find the configuration template that you want to delete and click Delete in the operation column.
  3. In the message that appears, click Yes.