yulibaozi 看到 kubesphere-system ks-account-7db96b4476-nqvls 一直处于 Init:½ 状态, 通过初始化容器发现 他会检查redis 和 openldap.kubesphere-system.svc,看到redis redis 检查通过, 但 openldap 检查失败, 查看到没有, 对应的Service 和 应用,期望一份yaml yaml 手动创建openldap 服务,非常感谢您的帮助
yulibaozi ks-account 状态: kubesphere-system ks-account-7db96b4476-nqvls 0/1 Init:1/2 日志: nc: bad address 'openldap.kubesphere-system.svc' waiting for ldap nc: bad address 'openldap.kubesphere-system.svc'
yulibaozi kubesphere-system 下的服务: etcd ClusterIP 10.100.0.246 <none> 2379/TCP 3h59m ks-account ClusterIP 10.100.116.217 <none> 80/TCP 3h59m ks-apigateway ClusterIP 10.100.197.157 <none> 80/TCP 3h59m ks-apiserver ClusterIP 10.100.160.78 <none> 80/TCP 3h59m ks-console LoadBalancer 10.100.95.45 xx.com 80:30880/TCP 3h59m mysql ClusterIP 10.100.39.141 <none> 3306/TCP 3h59m redis ClusterIP 10.100.160.11 <none>
yulibaozi Feynman ➜ ~ kubectl get pvc --all-namespaces | grep kubes kubesphere-monitoring-system prometheus-k8s-db-prometheus-k8s-0 Bound pvc-fc0d7e07-93fc-11ea-8d5f-0663b807ca16 20Gi RWO gp2 4h54m kubesphere-monitoring-system prometheus-k8s-system-db-prometheus-k8s-system-0 Bound pvc-fc313098-93fc-11ea-8d5f-0663b807ca16 20Gi RWO gp2 4h54m kubesphere-system etcd-pvc Bound pvc-b78f8c43-93fc-11ea-b4c2-0a0f8f391b34 20Gi RWO gp2 4h56m kubesphere-system mysql-pvc Bound pvc-b742d8cd-93fc-11ea-8d5f-0663b807ca16 20Gi RWO gp2 4h56m kubesphere-system redis-pvc Bound pvc-b1c0fc27-93fc-11ea-8d5f-0663b807ca16 2Gi RWO gp2 4h56m