Flink Same-Server Deployment (Non-Cross-Version Upgrade)
1. Image Pulling
Pull the target version application image on the Flink nodes according to the architecture (Offline Package Download).
- AMD64
- ARM64
docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:1.19.720
docker pull registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink-arm64:1.19.720
2. Configuration Modification
Edit the /data/mingdao/script/docker-compose.yaml configuration file and update the image version tag of the flink service to the target version:
- AMD64
- ARM64
# Example configuration snippet
flink:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:1.19.720
# Example configuration snippet
flink:
image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink-arm64:1.19.720
3. Service Restart
Execute the following script in the manager root directory to restart the services:
bash ./service.sh restartall
If the location of the service.sh file is forgotten, click to view the search command.
find / -path /proc -prune -o -name "service.sh" -print
After the restart is complete, the services will be ready for use.