zheng1
3.0 也是一个报错。
[zgldh-manjaro output]# kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
2020-10-01T04:20:51+08:00 INFO : shell-operator latest
2020-10-01T04:20:51+08:00 INFO : HTTP SERVER Listening on 0.0.0.0:9115
2020-10-01T04:20:51+08:00 INFO : Use temporary dir: /tmp/shell-operator
2020-10-01T04:20:51+08:00 INFO : Initialize hooks manager ...
2020-10-01T04:20:51+08:00 INFO : Search and load hooks ...
2020-10-01T04:20:51+08:00 INFO : Load hook config from '/hooks/kubesphere/installRunner.py'
2020-10-01T04:20:51+08:00 INFO : Load hook config from '/hooks/kubesphere/schedule.sh'
2020-10-01T04:20:51+08:00 INFO : Initializing schedule manager ...
2020-10-01T04:20:51+08:00 INFO : KUBE Init Kubernetes client
2020-10-01T04:20:51+08:00 INFO : KUBE-INIT Kubernetes client is configured successfully
2020-10-01T04:20:51+08:00 INFO : MAIN: run main loop
2020-10-01T04:20:51+08:00 INFO : MAIN: add onStartup tasks
2020-10-01T04:20:51+08:00 INFO : Running schedule manager ...
2020-10-01T04:20:51+08:00 INFO : MSTOR Create new metric shell_operator_live_ticks
2020-10-01T04:20:51+08:00 INFO : MSTOR Create new metric shell_operator_tasks_queue_length
2020-10-01T04:20:51+08:00 INFO : QUEUE add all HookRun@OnStartup
2020-10-01T04:20:51+08:00 ERROR : error getting GVR for kind 'ClusterConfiguration': Get "https://10.233.0.1:443/api?timeout=32s": dial tcp 10.233.0.1:443: connect: connection refused
2020-10-01T04:20:51+08:00 ERROR : Enable kube events for hooks error: Get "https://10.233.0.1:443/api?timeout=32s": dial tcp 10.233.0.1:443: connect: connection refused
2020-10-01T04:20:54+08:00 INFO : TASK_RUN Exit: program halts.