LLLDDD 2019-12-10T00:53:18Z INFO : shell-operator v1.0.0-beta.5 2019-12-10T00:53:18Z INFO : Use temporary dir: /tmp/shell-operator 2019-12-10T00:53:18Z INFO : Initialize hooks manager … 2019-12-10T00:53:18Z INFO : Search and load hooks … 2019-12-10T00:53:18Z INFO : Load hook config from ‘/hooks/kubesphere/installRunner.py’ 2019-12-10T00:53:18Z INFO : HTTP SERVER Listening on 0.0.0.0:9115 2019-12-10T00:53:18Z INFO : Initializing schedule manager … 2019-12-10T00:53:18Z INFO : KUBE Init Kubernetes client 2019-12-10T00:53:18Z INFO : KUBE-INIT Kubernetes client is configured successfully 2019-12-10T00:53:18Z INFO : MAIN: run main loop 2019-12-10T00:53:18Z INFO : MAIN: add onStartup tasks 2019-12-10T00:53:18Z INFO : QUEUE add all HookRun@OnStartup 2019-12-10T00:53:18Z INFO : Running schedule manager … 2019-12-10T00:53:18Z INFO : MSTOR Create new metric shell_operator_live_ticks 2019-12-10T00:53:18Z INFO : MSTOR Create new metric shell_operator_tasks_queue_length 2019-12-10T00:53:19Z ERROR : error getting GVR for kind ‘ConfigMap’: unable to retrieve the complete list of server APIs: custom.metrics.k8s.io/v1beta1: the server is currently unable to handle the request 2019-12-10T00:53:19Z ERROR : Enable kube events for hooks error: unable to retrieve the complete list of server APIs: custom.metrics.k8s.io/v1beta1: the server is currently unable to handle the request 2019-12-10T00:53:21Z INFO : TASK_RUN Exit: program halts. 我的metrics是好的,我通过kubectl top node 可以观察到我的节点内存 cpu情况
LLLDDD Forest-L [root@k8s-harbor ]# helm list NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE my-harbor 1 Tue Jun 25 15:29:43 2019 DEPLOYED harbor-1.1.1 1.8.1 harbor test-harbor 1 Fri Dec 6 14:42:50 2019 DEPLOYED harbor-1.1.1 1.8.1 harbor-1
LLLDDD calvinyu 我解决了,这个是由于我之前在我集群上部署了一个普罗米修斯,他注册了一个custom.metrics.k8s.io/v1beta1 的apiserver 这个api没法正常工作导致的,我比较好奇的是,安装kubesphere会读取集群的所有api吗?如果是这样的话,感觉不合理,如果是自己自定义的api出问题了,也可能导致kubesphere安装不成功