Updating Statistics Collection service
If you have Stat API installed as part of the Statistics Collection service, update it along with Stat Receiver.
-
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 reference.
-
-
Check out breaking changes. If necessary, update the settings in the
values-stat-receiver.yamlandvalues-stat-api.yamlconfiguration files. For more information, see the installation guide. -
Run separate commands to update:
-
Stat Receiver service:
helm upgrade --version=VERSION --atomic --values ./values-stat-receiver.yaml stat-receiver 2gis-on-premise/stat-receiver -
Stat API service:
helm upgrade --version=VERSION --atomic --values ./values-stat-api.yaml stat-api 2gis-on-premise/stat-api
In the
--versionparameter, set the newapi-platformcomponent version that you specified in the DGCLI configuration file. -