Kuberneters 版本信息
kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.11", GitCommit:"c6a2f08fc4378c5381dd948d9ad9d1080e3e6b33", GitTreeState:"clean", BuildDate:"2021-05-12T12:27:07Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.11", GitCommit:"c6a2f08fc4378c5381dd948d9ad9d1080e3e6b33", GitTreeState:"clean", BuildDate:"2021-05-12T12:19:22Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}
kubesphere/ks-installer:v3.1.1
遇到相同的问题 redis-ha-haproxy有三个Pod ,其中两个Pod 是正常的。异常如下
kubectl logs -n kubesphere-system redis-ha-haproxy-5f597cb895-rbhdb config-init
Waiting for service redis-ha-announce-0 to be ready (1) ...
Waiting for service redis-ha-announce-0 to be ready (2) ...
Waiting for service redis-ha-announce-0 to be ready (3) ...
Waiting for service redis-ha-announce-0 to be ready (4) ...
Waiting for service redis-ha-announce-0 to be ready (5) ...
Waiting for service redis-ha-announce-0 to be ready (6) ...
Waiting for service redis-ha-announce-0 to be ready (7) ...
Waiting for service redis-ha-announce-0 to be ready (8) ...
Waiting for service redis-ha-announce-0 to be ready (9) ...
Waiting for service redis-ha-announce-0 to be ready (10) ...
Could not resolve the announce ip for redis-ha-announce-0
正常的如下
kubectl logs -n kubesphere-system redis-ha-haproxy-5f597cb895-4lcnw config-init
10.98.156.184 redis-ha-announce-0.kubesphere-system.svc.cluster.local redis-ha-announce-0.kubesphere-system.svc.cluster.local redis-ha-announce-0
10.98.111.167 redis-ha-announce-1.kubesphere-system.svc.cluster.local redis-ha-announce-1.kubesphere-system.svc.cluster.local redis-ha-announce-1
10.98.149.87 redis-ha-announce-2.kubesphere-system.svc.cluster.local redis-ha-announce-2.kubesphere-system.svc.cluster.local redis-ha-announce-2