-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pod一直是ContainerCreating的状态 #18
Comments
查看详情发现是创建sandbox失败 Normal Scheduled 58m default-scheduler Successfully assigned calico-kube-controllers-6756bbbb4d-7k77s to 190.190.190.23 |
@nfmomo 这个安装需要连接外网的,所有docker 镜像都是要从外网下载的 |
@gjmzj 感谢提醒 |
@nfmomo 还有一个所有容器的基础镜像 |
@nfmomo 请问你能默认让docker要 image 的时候直接从私有仓库拉吗? 我以前一直是手动拉到node本地,总觉得不方便. |
@gjmzj 问题解决了,确实是镜像问题。 |
@evenye |
我是在openstack的ubuntu16.04虚机上起的allinone,部署脚本没有问题,只有两个警告:
TASK [prepare : 写入环境变量$PATH] ***********************************************************************************************************
[WARNING]: Consider using template or lineinfile module rather than running sed
TASK [prepare : 分发CA 证书] ***************************************************************************************************************
ok: [190.190.190.23] => (item=ca.pem)
changed: [190.190.190.23] => (item=ca-key.pem)
ok: [190.190.190.23] => (item=ca.csr)
ok: [190.190.190.23] => (item=ca-config.json)
[WARNING]: Could not match supplied host pattern, ignoring: lb
但是完成后,状态一直是ContainerCreating
root@zte-host:~# kubectl get pod --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-6756bbbb4d-7k77s 0/1 ContainerCreating 0 13m
我环境连不了外网,会不会是这个原因。应该怎么修改呢?有些资源我可以提下下好传到虚机上的。
The text was updated successfully, but these errors were encountered: