master node1 node2 安装好后,发现
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
client 1/1 Running 0 21h 10.233.96.61 node2 <none> <none>
nginx-c5b8f75cf-2pgdx 1/1 Running 0 22h 10.233.96.53 node2 <none> <none>
nginx-c5b8f75cf-dmlgd 0/1 ImagePullBackOff 0 19s 10.233.90.42 node1 <none> <none>
nginx-c5b8f75cf-f5cp4 1/1 Running 0 2d1h 10.233.96.50 node2 <none> <none>
nginx-c5b8f75cf-sn667 0/1 ImagePullBackOff 0 19s 10.233.90.43 node1 <none> <none>
都是node1的问题,让后去node直接运行docker,确出现docker search nginx
Error response from daemon: Get https://index.docker.io/v1/search?q=nginx&n=25: dial tcp: lookup index.docker.io on [::1]:53: read udp [::1]:49178->[::1]:53: re ad: connection refused
,请问我是需要把node1先去掉,再加上吗?