[root@ks-allinone ]# kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=‘{.items[0].metadata.name}’) -f
2020-07-14T01:27:41Z INFO : shell-operator v1.0.0-beta.5
2020-07-14T01:27:41Z INFO : HTTP SERVER Listening on 0.0.0.0:9115
2020-07-14T01:27:41Z INFO : Use temporary dir: /tmp/shell-operator
2020-07-14T01:27:41Z INFO : Initialize hooks manager …
2020-07-14T01:27:41Z INFO : Search and load hooks …
2020-07-14T01:27:41Z INFO : Load hook config from ‘/hooks/kubesphere/installRunner.py’
2020-07-14T01:27:41Z INFO : Initializing schedule manager …
2020-07-14T01:27:41Z INFO : KUBE Init Kubernetes client
2020-07-14T01:27:41Z INFO : KUBE-INIT Kubernetes client is configured successfully
2020-07-14T01:27:41Z INFO : MAIN: run main loop
2020-07-14T01:27:41Z INFO : MAIN: add onStartup tasks
2020-07-14T01:27:41Z INFO : QUEUE add all HookRun@OnStartup
2020-07-14T01:27:41Z INFO : Running schedule manager …
2020-07-14T01:27:41Z INFO : MSTOR Create new metric shell_operator_live_ticks
2020-07-14T01:27:41Z INFO : MSTOR Create new metric shell_operator_tasks_queue_length
2020-07-14T01:27:42Z ERROR : error getting GVR for kind ‘ConfigMap’: Get https://10.233.0.1:443/api?timeout=32s: dial tcp 10.233.0.1:443: connect: no route to host
2020-07-14T01:27:42Z 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: no route to host
2020-07-14T01:27:44Z INFO : TASK_RUN Exit: program halts.