Jeff
ks-apiserver 有两个起不来。提示moinitoring service address in configuration MUST not be empty。但是这个值是有的。
ks-apiserver-5c4d8f8dcc-nxfgs 1/1 Running 0 19h
ks-apiserver-69fd98677-5cjts 0/1 CrashLoopBackOff 5 5m25s
ks-apiserver-69fd98677-5q558 0/1 CrashLoopBackOff 6 5m40s
===================================================
[root@ykj-prod-ks-master1 ~]# kubectl logs -n kubesphere-system ks-apiserver-69fd98677-5cjts
W1231 11:35:42.423484 1 client_config.go:543] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
Error: moinitoring service address in configuration MUST not be empty, please check configmap/kubesphere-config in kubesphere-system namespace
2020/12/31 11:35:42 moinitoring service address in configuration MUST not be empty, please check configmap/kubesphere-config in kubesphere-system namespace
=========================================================
`[root@ykj-prod-ks-master1 ~]# kubectl -n kubesphere-system get cm kubesphere-config -o yaml
monitoring:
endpoint: http://prometheus-operated.kubesphere-monitoring-system.svc:9090`