Skip to main content

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).

docker pull nocoly/flink:1.19.720

2. Modify Configuration

Edit the flink.yaml configuration file and update the image version tag for the flink service to the target version:

# Sample configuration snippet
flink:
image: nocoly/flink:1.19.720

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.