[root@huashan235 tools]# kubectl get pod –all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system calico-kube-controllers-578894d4cd-w7bgt 1/1 Running 0 7m48s
kube-system calico-node-6rs27 1/1 Running 0 7m39s
kube-system calico-node-cm95t 1/1 Running 0 7m39s
kube-system calico-node-cqqbj 1/1 Running 0 7m36s
kube-system calico-node-nvkx7 1/1 Running 0 7m39s
kube-system calico-node-pq2hr 1/1 Running 0 7m34s
kube-system calico-node-z5vk4 1/1 Running 0 7m48s
kube-system coredns-6b55b6764d-h82hh 1/1 Running 0 8m3s
kube-system coredns-6b55b6764d-xrkgr 1/1 Running 0 8m3s
kube-system kube-apiserver-master1 1/1 Running 0 8m12s
kube-system kube-apiserver-master2 1/1 Running 0 7m34s
kube-system kube-apiserver-master3 1/1 Running 0 7m31s
kube-system kube-controller-manager-master1 1/1 Running 0 8m12s
kube-system kube-controller-manager-master2 1/1 Running 0 7m34s
kube-system kube-controller-manager-master3 1/1 Running 0 7m32s
kube-system kube-proxy-67dl6 1/1 Running 0 7m39s
kube-system kube-proxy-8m4bg 1/1 Running 0 7m39s
kube-system kube-proxy-gskdm 1/1 Running 0 7m34s
kube-system kube-proxy-gzwt4 1/1 Running 0 7m39s
kube-system kube-proxy-hnczv 1/1 Running 0 8m3s
kube-system kube-proxy-mlhkq 1/1 Running 0 7m36s
kube-system kube-scheduler-master1 1/1 Running 0 8m12s
kube-system kube-scheduler-master2 1/1 Running 0 7m34s
kube-system kube-scheduler-master3 1/1 Running 0 7m31s
kube-system metrics-server-f47758d8f-8z96z 1/1 Running 0 5m
kube-system nodelocaldns-f9jz6 1/1 Running 0 7m36s
kube-system nodelocaldns-j44w2 1/1 Running 0 7m39s
kube-system nodelocaldns-j5rtc 1/1 Running 0 7m34s
kube-system nodelocaldns-lchlv 1/1 Running 0 7m39s
kube-system nodelocaldns-mwg27 1/1 Running 0 8m3s
kube-system nodelocaldns-rxnpz 1/1 Running 0 7m39s
kube-system openebs-localpv-provisioner-84446d4bd7-hbflf 1/1 Running 0 7m31s
kube-system openebs-ndm-h4vkw 1/1 Running 0 7m19s
kube-system openebs-ndm-nmbp7 1/1 Running 0 7m19s
kube-system openebs-ndm-operator-6456dc9db-wpxts 1/1 Running 1 7m31s
kube-system openebs-ndm-rkz72 1/1 Running 0 7m18s
kube-system snapshot-controller-0 1/1 Running 0 2m45s
kubesphere-controls-system default-http-backend-857d7b6856-x4sfx 1/1 Running 0 64s
kubesphere-system ks-apiserver-675bc84757-dnbck 0/1 ContainerCreating 0 33s
kubesphere-system ks-apiserver-675bc84757-np448 0/1 ContainerCreating 0 33s
kubesphere-system ks-apiserver-675bc84757-nvglk 0/1 ContainerCreating 0 33s
kubesphere-system ks-console-786b9846d4-dz6dv 1/1 Running 0 28s
kubesphere-system ks-console-786b9846d4-r5vnr 1/1 Running 0 28s
kubesphere-system ks-console-786b9846d4-xnt6n 1/1 Running 0 28s
kubesphere-system ks-controller-manager-69586754d4-q4hj9 0/1 ContainerCreating 0 32s
kubesphere-system ks-controller-manager-69586754d4-wdnc2 0/1 ContainerCreating 0 32s
kubesphere-system ks-controller-manager-69586754d4-wfqgf 0/1 ContainerCreating 0 32s
kubesphere-system ks-installer-7cb866bd-fd4c5 1/1 Running 0 7m27s
kubesphere-system openldap-0 0/1 Running 0 101s
kubesphere-system redis-ha-haproxy-5c6559d588-cfbwk 1/1 Running 0 118s
kubesphere-system redis-ha-haproxy-5c6559d588-mhbw5 0/1 Init:0/1 0 118s
kubesphere-system redis-ha-haproxy-5c6559d588-qlwtw 0/1 Init:0/1 0 118s
kubesphere-system redis-ha-server-0 0/2 Init:Error 2 118s

[root@huashan235 tools]# kubectl logs ks-apiserver-5d5dcc7d78-hr47f -n kubesphere-system
W0316 20:58:50.619974 1 client_config.go:543] Neither –kubeconfig nor –master was specified. Using the inClusterConfig. This might not work.
Error: failed to connect to redis service, please check redis status, error: dial tcp: i/o timeout
2021/03/16 20:58:55 failed to connect to redis service, please check redis status, error: dial tcp: i/o timeout

[root@huashan235 tools]#
[root@huashan235 tools]# kubectl logs redis-ha-haproxy-5c6559d588-cfbwk -n kubesphere-system
[NOTICE] 074/125355 (1) : New worker #1 (7) forked
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_0/R0 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1000ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_0/R1 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1000ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_0/R2 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 074/125356 (7) : backend ‘check_if_redis_is_master_0’ has no server available!
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_1/R0 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1000ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_1/R1 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1001ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_1/R2 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 074/125356 (7) : backend ‘check_if_redis_is_master_1’ has no server available!
[WARNING] 074/125356 (7) : Server check_if_redis_is_master_2/R0 is DOWN, reason: Layer4 timeout, info: “ at step 1 of tcp-check (connect)”, check duration: 1001ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125357 (7) : Server check_if_redis_is_master_2/R1 is DOWN, reason: Layer4 connection problem, info: “Connection refused at step 1 of tcp-check (connect)”, check duration: 1001ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125357 (7) : Server check_if_redis_is_master_2/R2 is DOWN, reason: Layer4 timeout, info: “ at step 1 of tcp-check (connect)”, check duration: 1001ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 074/125357 (7) : backend ‘check_if_redis_is_master_2’ has no server available!
[WARNING] 074/125357 (7) : Server bk_redis_master/R0 is DOWN, reason: Layer4 timeout, info: “ at step 1 of tcp-check (connect)”, check duration: 1000ms. 2 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125357 (7) : Server bk_redis_master/R1 is DOWN, reason: Layer4 timeout, info: “ at step 1 of tcp-check (connect)”, check duration: 1001ms. 1 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[WARNING] 074/125357 (7) : Server bk_redis_master/R2 is DOWN, reason: Layer4 timeout, info: “ at step 1 of tcp-check (connect)”, check duration: 1000ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue.
[ALERT] 074/125357 (7) : backend ‘bk_redis_master’ has no server available!
[root@huashan235 tools]#
[root@huashan235 tools]#
[root@huashan235 tools]# kubectl logs redis-ha-server-0 -n kubesphere-system
error: a container name must be specified for pod redis-ha-server-0, choose one of: [redis sentinel] or one of the init containers: [config-init]
