grep image /root/kubernetes-metrics-server/kubernetes-metrics-server/metrics-server-deployment.yaml

# mount in tmp so we can safely use from-scratch images and/or read-only containers
image: k8s.gcr.io/metrics-server-amd64:v0.3.1
imagePullPolicy: Always

#从阿里下载镜像并tag 镜像

docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.1

docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.1 k8s.gcr.io/metrics-server-amd64:v0.3.1

just again

05-11 20:47