Flink upgrade (non-cross version)
-
Download the mirror of the new version
Operations are required on each node server in a kubernetes cluster.
- Internet Access Available
- Internet Access Unavailable
crictl pull nocoly/flink:<version># Download link for flink offline mirror file. After downloading, upload it to the deployment server.
https://pdpublic.nocoly.com/offline/flink-linux-amd64-<version>.tar.gzLoad the offline mirror on the server.
gunzip -d flink-linux-amd64-<version>.tar.gz
ctr -n k8s.io image import flink-linux-amd64-<version>.tar -
Modify the configuration file
Modify the version of the mirrors used by the
flink-jobmanagerandflink-taskmanagerservices inflink. yaml.- name: jobmanager
image: nocoly/flink:<version>
- name: taskmanager
image: nocoly/flink:<version> -
Restart service
kubectl apply -f flink.yaml