1、安装好kubernet之后,新建rc后,里面的容器一直ImagePullBackOff ,镜像无法拉取:
----需要配置docker镜像为国内镜像,记得在各个Node上都要配置!!!
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
1、安装好kubernet之后,新建rc后,里面的容器一直ImagePullBackOff ,镜像无法拉取:
----需要配置docker镜像为国内镜像,记得在各个Node上都要配置!!!
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
转载于:https://www.cnblogs.com/byron0918/p/8837218.html