Cross Version
- 
Delete the ConfigMap, clean up theJoblist and find theConfigMapconfiguration, as shown in the following example:kubernetes.cluster-id: md-flink
 kubernetes.namespace: defaultExecute the script to batch delete ConfigMap.If something like configmap "md-flink" deletedis not output, it means that the namespace or the prefix ofConfigMapis not correct, check again.# for i in $(kubectl -n [Replaced with value of kubernetes.namespace] get cm | awk '$1~"[Replaced with value of kubernetes.cluster-id]"{print $1}');do kubectl -n [Replaced with value ofkubernetes.namespace] delete cm $i;done
 for i in $(kubectl -n default get cm | awk '$1~"md-flink"{print $1}');do kubectl -n default delete cm $i;done
- 
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># 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>.tar.gzLoad the offline mirror on the server. gunzip -d mingdaoyun-flink-linux-amd64-<version>.tar.gz
 ctr -n k8s.io image import mingdaoyun-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: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:<version>
 - name: taskmanager
 image: registry.cn-hangzhou.aliyuncs.com/mdpublic/mingdaoyun-flink:<version>
- 
Restart service kubectl apply -f flink.yaml
- 
Go to [Integrate] > [Data Pipeline] > [Sync Task] to to re-open or publish the task.