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