Flink Standalone Server Deployment (Non-Cross-Version Upgrade)
1. Image Pull
Pull the target version of the application image based on the architecture on the Flink node (offline package download).
- AMD64
- ARM64
docker pull nocoly/flink:1.19.720
docker pull nocoly/flink-arm64:-
2. Modify Configuration
Edit the flink.yaml configuration file and update the image version tag for the flink service to the target version:
- AMD64
- ARM64
# Sample configuration snippet
flink:
image: nocoly/flink:1.19.720
# Sample configuration snippet
flink:
image: nocoly/flink-arm64:-
3. Restart Flink Service
Execute the following scripts to redeploy the service:
1. Stop the current service
docker stack rm flink
2. Start the new version service
Wait until the docker ps command no longer outputs the flink container, then execute the start command:
docker stack deploy -c flink.yaml flink
Once the service startup is complete and all services are ready, the deployment is successful.