常用命令
kubectl get pod -n langfus |awk 'NR > 1 {print $1}' |\
while read v1;\
do kubectl get pod -n langfus $v1 -o yaml |grep "image:"| awk '{print $2}'|while read v2;\
do \
ctr -n k8s.io image tag $v2 "10.30.13.175:5000/langfus/$v2"; \
nerdctl push "10.30.13.175:5000/langfus/$v2" ;\
done;\
done;