Upgrading
Upgrade Edge Xpert Installation
-
Download the latest version of Edge Xpert version as described here.
-
Remove the existing version of Edge Xpert as described here.
-
Install the latest version of Edge Xpert as described here and then verify the installation as described [here][4].
Upgrade Edge Xpert Images
Even after an installation of the latest version of Edge Xpert, you have to ensure the latest container images are downloaded and being used.
-
Pull the latest container images from the IOTech image repositories:
edgexpert pull --all
-
Run the following command to deploy the Edge Xpert containers:
edgexpert up {{services}}
-
Run the following command to verify the new Edge Xpert image versions are being deployed:
edgexpert image version
-
The exact versions of the Edge Xpert images should be displayed, for example as follows:
$ edgexpert image version Name | version ---------------------------------------------------------------------------------------------------------- iotechsys/edgexpert-core-command:2.3 | 2.3.0 iotechsys/edgexpert-core-data:2.3 | 2.3.0 iotechsys/edgexpert-core-metadata:2.3 | 2.3.0 eclipse-mosquitto:2.0.15 | <no value> redis:7.0.5-alpine3.16 | <no value>
Remove Images
-
Run the following command to stop and delete all Edge Xpert containers, noting that it will not remove the volumes:
edgexpert rm
-
Run the following command to verify the removal, which should display empty if all containers are removed:
edgexpert status
-
Run one of the following commands to delete old and unused Edge Xpert images:
Note
You have to manually remove third-party software depending on your usage, including vault
, consul
, nodered
, influxdb
,grafana
, redis
, portainer
, timescaledb
, kuiper
and eclipse-mosquitto
.
docker image rm $(docker images | grep edgexpert)
Note
You have to manually remove third-party software depending on your usage, including vault
, consul
, nodered
, influxdb
,grafana
, redis
, portainer
, timescaledb
, kuiper
and eclipse-mosquitto
.
podman image rm $(podman images | grep edgexpert)