Help Center/ ServiceStage/ User Guide (Kuala Lumpur Region)/ Microservice Engine/ Using Microservice Engines/ Configuration Management (Applicable to Microservice Engine 1.x)
Updated on 2024-01-22 GMT+08:00

Configuration Management (Applicable to Microservice Engine 1.x)

The configuration added here is a global configuration. After being added, the configuration takes effect immediately if all microservices registered with the engine use it.

If dynamic configuration is set for a single microservice, the dynamic configuration overwrites the global configuration. For details about how to set dynamic configuration, see Dynamic Configuration.

Creating a Configuration

Configuration management provides common configurations for microservices, such as log levels and running parameters. After being added, the configuration item is used as the default one if no same configuration items are defined for microservices.

Configuration items are stored in plaintext. Do not include sensitive data.

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the microservice engine where the application has been deployed but is to be governed from the Microservice Engine drop-down list in the upper part of the page.

  3. Click Configuration Management.

    • For microservice engines with security authentication disabled, go to 5.
    • For microservice engines with security authentication enabled, go to 4.

  4. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  5. Click Create Configuration Item.
  6. On the Create Configuration Item page, select a microservice environment and enter Configuration Item and Value.
  7. Click OK.

Importing Configurations

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the microservice engine where the application has been deployed but is to be governed from the Microservice Engine drop-down list in the upper part of the page.

  3. Click Configuration Management.

    • For microservice engines with security authentication disabled, go to 5.
    • For microservice engines with security authentication enabled, go to 4.

  4. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  5. Click Import.
  6. Select a microservice environment, click Import, and select the target file.

    A maximum of 150 configuration items can be imported at a time.

  7. Click Close.

Exporting Configurations

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the microservice engine where the application has been deployed but is to be governed from the Microservice Engine drop-down list in the upper part of the page.

  3. Click Configuration Management.

    • For microservice engines with security authentication disabled, go to 5.
    • For microservice engines with security authentication enabled, go to 4.

  4. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  5. Click Export All.

Deleting a Configuration

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the microservice engine where the application has been deployed but is to be governed from the Microservice Engine drop-down list in the upper part of the page.

  3. Click Configuration Management.

    • For microservice engines with security authentication disabled, go to 5.
    • For microservice engines with security authentication enabled, go to 4.

  4. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  5. Select the target configuration item and click Delete. You can also click Delete in the Operation column of the target configuration item.
  6. Click OK.

Editing a Configuration

  1. Log in to ServiceStage and choose Cloud Service Engine > Engines.
  2. Select the microservice engine where the application has been deployed but is to be governed from the Microservice Engine drop-down list in the upper part of the page.

  3. Click Configuration Management.

    • For microservice engines with security authentication disabled, go to 5.
    • For microservice engines with security authentication enabled, go to 4.

  4. In the displayed Security Authentication dialog box, enter the account name and password, and click OK.

  5. Click Edit in the Operation column of the target configuration item and edit the values of the configuration item.
  6. Click OK.