Sidecars are released in multiple versions. You can manage Sidecar versions to perform canary releases. When you add a new version, you must specify an image address for container scenarios or a binary TAR package address for virtual machine scenarios. Sidecar version management lets you manage specific MOSN images or executable files.
Add a new Sidecar version
Log on to the Service Mesh console.
In the navigation pane on the left, click Sidecar Management, and then click the Sidecar Version Management tab.
Click Add Sidecar Version, and then configure the following parameters:
Parameter
Description
Version number
Set the version number for the Sidecar.
Installation file
Select scenario
Set the scenario for the installation file. The options are Container scenario and Virtual machine scenario.
Container scenario: If you select this scenario, set the image address.
Virtual machine scenario: If you select this scenario, set the TAR package address.
Image
Enter the image address for the version. The image address is the location of the Sidecar in the image repository.
tar package
Enter the TAR package address for the version.
Mosn settings
Mosn API
Enter the version number of mosn.api that MOSN and the Sidecar plugin depend on. The default value is:
v0.0.0-20211217011300-b851d129be01.NoteThe Sidecar plugin must have the same API and PKG versions as the main MOSN entity to ensure compatibility between the plugin and MOSN.
Mosn PKG
Enter the version number of mosn.pkg that MOSN and the Sidecar plugin depend on. The default value is:
v0.0.0-20211217101631-d914102d1baf.Version description
Note:
Enter a description for the version.
Click OK.
Edit a Sidecar version
In the version list, click Edit in the row of the target version.
NoteIf a version is in use, you cannot edit it.
Modify the version information as needed.
You can modify the scenario, image address, TAR package address, and description for the version.
After you complete the configuration, click OK.
Delete a Sidecar version
In the version list, click Delete in the row of the target version.
NoteIf a version is in use, you must first disable the Sidecar injection rule that uses this version.
Click OK.