Updating Urbi Pro
Updating Pro UI
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
pro
component (see Urbi Pro releases). - Versions of
core
andapi-platform
components 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.manifest
parameter in thevalues-pro-ui.yaml
configuration 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.yaml
configuration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-pro-ui.yaml pro-ui 2gis-on-premise/pro-ui
In the
--version
parameter, set the newpro
component 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
pro
component (see Urbi Pro releases). - Versions of
core
andapi-platform
components 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-apps
flag after thepull
command. - To update only data, add the
--only-data
flag after thepull
command. - 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.manifest
parameter in thevalues-pro-api.yaml
configuration 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.yaml
configuration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-pro-api.yaml pro-api 2gis-on-premise/pro-api
In the
--version
parameter, set thepro
component 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.