Same-server Deployment of Data Pipeline Service
If your environment is deployed with data pipeline service along with microservices according to the document How to Enable Data Pipeline, follow the steps here when upgrading data pipeline services.
-
Download the mirror of the new version
- Internet Access Available
- Internet Access Unavailable
docker pull nocoly/hap-flink:version number
https://pdpublic.nocoly.com/offline/hap-flink-linux-amd64-version number.tar.gz
#Execute the following after downloading to the server:
docker load -i hap-flink-linux-amd64-version number.tar.gz -
Modify the version number of the mirror corresponding to the flink service in the
docker-compose.yaml
file.flink:
image: nocoly/hap-flink:version number -
Execute
bash . /service.sh restartall
in the root directory of the manager to restart the service and wait for it to complete execution.