Updating Urbi Pro
Updating Pro UI
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
procomponent (see Urbi Pro releases). - Versions of
coreandapi-platformcomponents required to install the new Urbi Pro version (see the Dependencies subsection in the Urbi Pro releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Copy the path to a new manifest file from the command output and set it as a value to the
dgctlStorage.manifestparameter in thevalues-pro-ui.yamlconfiguration file. For more information, see the installation guide.Important
If during a regular update of the Pro UI service you do not want to import new data, use the same manifest as in the previous import. In other cases, using a new manifest is recommended.
-
Check out breaking changes. If necessary, update other settings in the
values-pro-ui.yamlconfiguration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-pro-ui.yaml pro-ui 2gis-on-premise/pro-uiIn the
--versionparameter, set the newprocomponent version that you specified in the DGCLI configuration file.
Updating Pro API
-
(Recommended) Back up datasets uploaded by users.
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
procomponent (see Urbi Pro releases). - Versions of
coreandapi-platformcomponents required to install the new Urbi Pro version (see the Dependencies subsection in the Urbi Pro releases description).
- New version of the
-
Run the fetch command. Additionally you can specify the following flags:
- To update only the service image, add the
--only-appsflag after thepullcommand. - To update only data, add the
--only-dataflag after thepullcommand. - To update both service and data, run the command without the above flags.
For more settings, see DGCLI command-line arguments.
- To update only the service image, add the
-
-
Copy the path to a new manifest file from the command output and set it as a value to the
dgctlStorage.manifestparameter in thevalues-pro-api.yamlconfiguration file. For more information, see the installation guide.Important
If during a regular update of the Pro API service you do not want to import new data, use the same manifest as in the previous import. In other cases, using a new manifest is recommended.
-
Check out breaking changes. If necessary, update other settings in the
values-pro-api.yamlconfiguration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-pro-api.yaml pro-api 2gis-on-premise/pro-apiIn the
--versionparameter, set theprocomponent version:- To update only the service or both service and data, use the new version that you specified in the DGCLI configuration file.
- To update only data, set the currently installed version.