只启动一个主节点
k8s原本有2个master2个work node,现在只启动一个主节点,执行命令显示
# kubectl get pod
E0719 09:43:11.337292 4693 memcache.go:265] couldn't get current server API group list: Get "https://10.0.1.201:6443/api?timeout=32s": dial tcp 10.0.1.201:6443: connect: connection refused - error from a previous attempt: read tcp 10.0.1.201:42614->10.0.1.201:6443: read: connection reset by peer
E0719 09:43:11.339107 4693 memcache.go:265] couldn't get current server API group list: Get "https://10.0.1.201:6443/api?timeout=32s": dial tcp 10.0.1.201:6443: connect: connection refused
E0719 09:43:11.339343 4693 memcache.go:265] couldn't get current server API group list: Get "https://10.0.1.201:6443/api?timeout=32s": dial tcp 10.0.1.201:6443: connect: connection refused
E0719 09:43:11.340823 4693 memcache.go:265] couldn't get current server API group list: Get "https://10.0.1.201:6443/api?timeout=32s": dial tcp 10.0.1.201:6443: connect: connection refused
E0719 09:43:11.343356 4693 memcache.go:265] couldn't get current server API group list: Get "https://10.0.1.201:6443/api?timeout=32s": dial tcp 10.0.1.201:6443: connect: connection refused
The connection to the server 10.0.1.201:6443 was refused - did you specify the right host or port?
原创大约 13 分钟