问题一:

kube-system     calico-etcd-p69cf                                  crashloopbackoff

kube-system     calico-kube-controllers-cd589c58b-qxbcr          containercreating

kube-system     calico-node-ckk5x                      containercreating

解决重启:

systemctl restart kubelet


问题二:

nginx-ingress-controller

app: ingress-nginx

quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.9.0

more_vert

0/1 nodes are available: 1 node(s) had taints that the pod didn't tolerate.

解决:kubectl taint nodes --all node-role.kubernetes.io/master-


在centos7虚拟机遇到问题

启动docker报错:

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

解决方法一:

因为自动使用yum安装版本会比较低:

#rpm -qa |grep docker   查看已经安装的版本

#yum  remove   docker-1.13.1-53.git774336d.el7.centos.x86_64   需要把上面查看出来的版本全部卸载

#curl -fsSL https://get.docker.com/ | sh   安装最新版本

# systemctl restart docker

解决方法二

# yum remove docker

# yum remove docker-selinux

# yum install docker-engine

# service docker start


报错二:

无法拉去镜像,

报错如下: [ERROR ImagePull]: failed to pull image k8s.gcr.io/kube-controller-manager:v1.14.1: output: Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled wile waiting for connection (Client.Timeout exceeded while awaiting headers)

, error: exit status 1

解决方法:

 1、×××

 2、使用脚本



如果遇到其它问题请看我上一篇文章,按照上一篇文章操作,基本上都不会遇到问题


需要探讨的可以加qq:330392305 加好友需要备注来自博客