K8s创建或启动pod报错failed pulling image "k8s.gcr.io/pause:3.1"解决方案(三)

创建pod的时候遇到如下报错

Warning FailedCreatePodSandBox 3m (x422 over 3h) kubelet, 192.168.1.90 Failed create pod sandbox: rpc error: code = Unknown desc = failed pulling image “k8s.gcr.io/pause:3.1”: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

这是k8s.gcr.io被GFW墙了

到所有节点上把pause:3.1取下来,然后做个标签,这样就可以解决问题了

1
2
docker pull ibmcom/pause:3.1
docker tag ibmcom/pause:3.1 k8s.gcr.io/pause:3.1
博主QQ:1012405802
技术交流QQ群:830339411
版权声明:网站内容有原创和转载,如有侵权,请联系删除,谢谢!!
感谢打赏,93bok因你们而精彩!!(支付宝支持花呗)
0%