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 CSE.
- Choose Exclusive ServiceComb Engines.
- Click the target engine.
- Choose Configuration Management.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.
- If you connect to the ServiceComb engine for the first time, enter the account name root and the password entered when Creating a ServiceComb 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 CSE.
- Choose Exclusive ServiceComb Engines.
- Click the target engine.
- Choose Configuration Management.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.
- If you connect to the ServiceComb engine for the first time, enter the account name root and the password entered when Creating a ServiceComb 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.
A maximum of 150 configuration items can be imported at a time.
- Click Close.
Exporting Configurations
- Log in to CSE.
- Choose Exclusive ServiceComb Engines.
- Click the target engine.
- Choose Configuration Management.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.
- If you connect to the ServiceComb engine for the first time, enter the account name root and the password entered when Creating a ServiceComb Engine.
- For details about how to create an account, see Adding an Account.
- Click Export All.
Deleting a Configuration
- Log in to CSE.
- Choose Exclusive ServiceComb Engines.
- Click the target engine.
- Choose Configuration Management.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.
- If you connect to the ServiceComb engine for the first time, enter the account name root and the password entered when Creating a ServiceComb 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 CSE.
- Choose Exclusive ServiceComb Engines.
- Click the target engine.
- Choose Configuration Management.
- In the displayed Security Authentication dialog box, enter the account name and password, and click OK.
- If you connect to the ServiceComb engine for the first time, enter the account name root and the password entered when Creating a ServiceComb 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot