Configuration Management (Applicable to 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.
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- 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.
- Choose Configuration Management.
- For microservice engines with security authentication disabled, go to 5.
- For microservice engines with security authentication enabled, go to 4.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.Note
- If you connect to the microservice engine for the first time, enter the account name root and the password entered when Creating a Microservice Engine.
- For details about how to create an account, see Adding an Account.
- Click Create Configuration Item.
- On the Create Configuration Item page, select a microservice environment and enter Configuration Item and Value.
- Click OK.
Importing Configurations
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- 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.
- Choose Configuration Management.
- For microservice engines with security authentication disabled, go to 5.
- For microservice engines with security authentication enabled, go to 4.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.Note
- If you connect to the microservice engine for the first time, enter the account name root and the password entered when Creating a Microservice Engine.
- For details about how to create an account, see Adding an Account.
- Click Import.
- Select a microservice environment, click Import, and select the target file.Note
A maximum of 150 configuration items can be imported at a time.
- Click Close.
Exporting Configurations
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- 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.
- Choose Configuration Management.
- For microservice engines with security authentication disabled, go to 5.
- For microservice engines with security authentication enabled, go to 4.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.Note
- If you connect to the microservice engine for the first time, enter the account name root and the password entered when Creating a Microservice Engine.
- For details about how to create an account, see Adding an Account.
- Click Export All.
Deleting a Configuration
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- 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.
- Choose Configuration Management.
- For microservice engines with security authentication disabled, go to 5.
- For microservice engines with security authentication enabled, go to 4.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.Note
- If you connect to the microservice engine for the first time, enter the account name root and the password entered when Creating a Microservice Engine.
- For details about how to create an account, see Adding an Account.
- Select the target configuration item and click Delete. You can also click Delete in the Operation column of the target configuration item.
- Click OK.
Editing a Configuration
- Log in to ServiceStage and choose Cloud Service Engine > Engines.
- 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.
- Choose Configuration Management.
- For microservice engines with security authentication disabled, go to 5.
- For microservice engines with security authentication enabled, go to 4.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.Note
- If you connect to the microservice engine for the first time, enter the account name root and the password entered when Creating a Microservice Engine.
- For details about how to create an account, see Adding an Account.
- Click Edit in the Operation column of the target configuration item and edit the values of the configuration item.
- Click OK.
- Creating a Configuration
- Importing Configurations
- Exporting Configurations
- Deleting a Configuration
- Editing a Configuration