[root@k8s-master ~]# kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
2021-03-01T13:51:31Z INFO : shell-operator v1.0.0-beta.5
2021-03-01T13:51:31Z INFO : HTTP SERVER Listening on 0.0.0.0:9115
2021-03-01T13:51:31Z INFO : Use temporary dir: /tmp/shell-operator
2021-03-01T13:51:31Z INFO : Initialize hooks manager ...
2021-03-01T13:51:31Z INFO : Search and load hooks ...
2021-03-01T13:51:31Z INFO : Load hook config from '/hooks/kubesphere/installRunner.py'
2021-03-01T13:51:31Z INFO : Initializing schedule manager ...
2021-03-01T13:51:31Z INFO : KUBE Init Kubernetes client
2021-03-01T13:51:31Z INFO : KUBE-INIT Kubernetes client is configured successfully
2021-03-01T13:51:31Z INFO : MAIN: run main loop
2021-03-01T13:51:31Z INFO : MAIN: add onStartup tasks
2021-03-01T13:51:31Z INFO : Running schedule manager ...
2021-03-01T13:51:31Z INFO : MSTOR Create new metric shell_operator_live_ticks
2021-03-01T13:51:31Z INFO : MSTOR Create new metric shell_operator_tasks_queue_length
2021-03-01T13:51:31Z INFO : QUEUE add all HookRun@OnStartup
2021-03-01T13:51:31Z ERROR : error getting GVR for kind 'ConfigMap': unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
2021-03-01T13:51:31Z ERROR : Enable kube events for hooks error: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
2021-03-01T13:51:34Z INFO : TASK_RUN Exit: program halts.
[root@k8s-master ~]# kubectl get apiservice
NAME SERVICE AVAILABLE AGE
v1. Local True 32h
v1.admissionregistration.k8s.io Local True &n
k8s安装kubesphere错误:unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the s
最新推荐文章于 2025-07-06 22:03:43 发布