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/hap-flink:<version>
# Download link for flink offline mirror file. After downloading, upload it to the deployment server.
https://pdpublic.nocoly.com/offline/hap-flink-linux-amd64-<version>.tar.gzLoad the offline mirror on the server.
gunzip -d hap-flink-linux-amd64-<version>.tar.gz
ctr -n k8s.io image import hap-flink-linux-amd64-<version>.tar -
Modify the configuration file
Modify the version of the mirrors used by the
flink-jobmanager
andflink-taskmanager
services inflink. yaml
.- name: jobmanager
image: nocoly/hap-flink:<version>
- name: taskmanager
image: nocoly/hap-flink:<version> -
Restart service
kubectl apply -f flink.yaml