• 安装部署
  • 最小化安装 unable to retrieve the complete list of server APIs

各位大佬请问如何解决!

#kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
2020-06-11T06:48:41Z INFO     : shell-operator v1.0.0-beta.5
2020-06-11T06:48:41Z INFO     : HTTP SERVER Listening on 0.0.0.0:9115
2020-06-11T06:48:41Z INFO     : Use temporary dir: /tmp/shell-operator
2020-06-11T06:48:41Z INFO     : Initialize hooks manager ...
2020-06-11T06:48:41Z INFO     : Search and load hooks ...
2020-06-11T06:48:41Z INFO     : Load hook config from '/hooks/kubesphere/installRunner.py'
2020-06-11T06:48:41Z INFO     : Initializing schedule manager ...
2020-06-11T06:48:41Z INFO     : KUBE Init Kubernetes client
2020-06-11T06:48:41Z INFO     : KUBE-INIT Kubernetes client is configured successfully
2020-06-11T06:48:41Z INFO     : MAIN: run main loop
2020-06-11T06:48:41Z INFO     : MAIN: add onStartup tasks
2020-06-11T06:48:41Z INFO     : Running schedule manager ...
2020-06-11T06:48:41Z INFO     : QUEUE add all HookRun@OnStartup
2020-06-11T06:48:41Z INFO     : MSTOR Create new metric shell_operator_tasks_queue_length
2020-06-11T06:48:41Z INFO     : MSTOR Create new metric shell_operator_live_ticks
2020-06-11T06:48:41Z 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
2020-06-11T06:48:41Z 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
2020-06-11T06:48:44Z INFO     : TASK_RUN Exit: program halts.
1 年 后
3 个月 后