Updating navigation API services
You can update navigation services together with its data or without it. To download data only, you need to update the Navi-Castle service only. In other cases, update all required navigation services.
Update Navi-Castle service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform 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-castle.yamlconfiguration file. For more information, see the service installation instructions.Important
You can configure the process of importing new data for Navi-Castle. Use the
importersettings group of the configuration file. If during a regular update of the navigation services you do not want to import new data, specify the manifest used for the previous import. In other cases, using a new manifest is recommended. -
Check out breaking changes. If necessary, update other settings in the
values-castle.yamlconfiguration file. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-castle.yaml navi-castle 2gis-on-premise/navi-castleIn the
--versionparameter, set theapi-platformcomponent 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.
Update Navi-Attractor service
Do the following steps for each Navi-Attractor instance installed:
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-attractor-<transport>.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-attractor-<transport>.yaml navi-attractor-<transport> 2gis-on-premise/navi-attractorIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Navi-Back service
Do the following steps for each Navi-Back instance installed:
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-back.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-back.yaml navi-back 2gis-on-premise/navi-backIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Navi-Splitter service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-splitter.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-splitter.yaml navi-splitter 2gis-on-premise/navi-splitterIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Navi-Router service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-router.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-router.yaml navi-router 2gis-on-premise/navi-routerIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Navi-Front service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-front.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-front.yaml navi-front 2gis-on-premise/navi-frontIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Distance Matrix Async API service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-navi-async-matrix.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-navi-async-matrix.yaml navi-async-matrix 2gis-on-premise/navi-async-matrixIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Navi Async gRPC proxy service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-navi-async-grpc-proxy.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-navi-async-grpc-proxy.yaml navi-async-grpc-proxy 2gis-on-premise/navi-async-grpc-proxyIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update VRP Solver service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-vrp-solver.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-vrp-solver.yaml navi-vrp-solver 2gis-on-premise/navi-vrp-solverIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update VRP Task Manager service
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-vrp-task-manager.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-vrp-task-manager.yaml navi-vrp-task-manager 2gis-on-premise/navi-vrp-task-managerIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.
Update Restrictions API service
-
(Recommended) Back up data used by the service.
-
Fetch new installation artifacts.
-
In the DGCLI configuration file, specify:
- New version of the
api-platformcomponent (see API Platform releases). - Version of
corecomponent required to install the new API-Platform version (see the Dependencies subsection in the API Platform releases description).
- New version of the
-
For more settings, see DGCLI command-line arguments.
-
-
Check out breaking changes. If necessary, update settings in the
values-restrictions.yamlconfiguration file. For more information, see the service installation instructions. -
Run the command to update the service:
helm upgrade --version=VERSION --atomic --values ./values-restrictions.yaml navi-restrictions 2gis-on-premise/navi-restrictionsIn the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file.