Configuring Microservices
You can use the global configuration function provided by ServiceStage to configure microservices.
After the global configuration is added, the configuration takes effect immediately if it is used by all microservices registered with the engine.
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.
Global Configuration
Global configuration provides common configurations for microservices, such as log levels and running parameters. After being added, the global configuration is used as the default configuration 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 Infrastructure > Cloud Service Engines.
- Click Console of a microservice engine.
- Choose Global Configuration. Then, you can perform the following operations:
Operation
Procedure
Export
Click Export to export all global configuration items.
Import
- Click Import.
- Click ··· to select a configuration item file.
- Click Upload to import configuration items in batches.
Creation
- Click Create Configuration. The Create Configuration dialog box is displayed.
- Select a microservice environment and enter Configuration Item and Value.
- Click OK to save the settings.
Modification
- Click Edit in the Operation column corresponding to the target configuration item.
- Enter Value.
- Click OK to save the settings.
Deletion
- Select the configuration item to be deleted.
- Click Delete in the Operation column.
- In the Delete Configuration dialog box, click OK to delete the global configuration.
Batch deletion
- Select the configuration items to be deleted.
- Click Delete above the configuration item list to delete global configuration items in batches.
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