Sidecar dynamic configuration
Dynamic configuration allows developers to change data dynamically. You can use an API to read the data.
Create a Sidecar dynamic configuration
Log on to the Service Mesh console.
In the navigation pane on the left, click Sidecar Management, and then click the Sidecar Dynamic Configuration tab.
Click Create Configuration and set the following parameters:
Parameter
Description
Application Name
The name of the application in the Service Catalog. For example, if you set this to reservation-service, all reservation-service applications receive this configuration after you save it.
The name can be up to 255 characters long.
Sidecar dynamic configuration
Set the Key, Value, and Description for the dynamic configuration.
Key: The identifier for the data that developers get from the data sharing center using an SDK.
Value: The actual value of the data.
Description: A description of the scenario where this configuration is used.
Click Add More Configurations to add multiple dynamic configurations at once.
Click Save and Distribute.
NoteYou can filter the application log for
[xprotocol] [config] receive dataIdto check if the distribution is successful.
View a Sidecar dynamic configuration
After you save the configuration, the list of dynamic configurations displays the following information:
Configuration Name: The data identifier. This is the Key you entered during configuration.
Configuration Content: The data value. This is the Value you entered during configuration.
Description: The description you entered during configuration. This typically describes the scenario in which the configuration is used.