环境如下,所有前置条件已就绪。
k8s 1.16.6 , etcd 3.4.3, flannel 0.12.0
2020-05-26T09:20:19Z INFO : shell-operator v1.0.0-beta.5
2020-05-26T09:20:19Z INFO : HTTP SERVER Listening on 0.0.0.0:9115
2020-05-26T09:20:19Z INFO : Use temporary dir: /tmp/shell-operator
2020-05-26T09:20:19Z INFO : Initialize hooks manager ...
2020-05-26T09:20:19Z INFO : Search and load hooks ...
2020-05-26T09:20:19Z INFO : Load hook config from '/hooks/kubesphere/installRunner.py'
2020-05-26T09:20:20Z INFO : Initializing schedule manager ...
2020-05-26T09:20:20Z INFO : KUBE Init Kubernetes client
2020-05-26T09:20:20Z INFO : KUBE-INIT Kubernetes client is configured successfully
2020-05-26T09:20:20Z INFO : MAIN: run main loop
2020-05-26T09:20:20Z INFO : MAIN: add onStartup tasks
2020-05-26T09:20:20Z INFO : QUEUE add all HookRun@OnStartup
2020-05-26T09:20:20Z INFO : Running schedule manager ...
2020-05-26T09:20:20Z INFO : MSTOR Create new metric shell_operator_live_ticks
2020-05-26T09:20:20Z INFO : MSTOR Create new metric shell_operator_tasks_queue_length
2020-05-26T09:20:50Z ERROR : error getting GVR for kind 'ConfigMap': Get https://10.254.0.1:443/api?timeout=32s: dial tcp 10.254.0.1:443: i/o timeout
2020-05-26T09:20:50Z ERROR : Enable kube events for hooks error: Get https://10.254.0.1:443/api?timeout=32s: dial tcp 10.254.0.1:443: i/o timeout
2020-05-26T09:20:50Z INFO : TASK_RUN Exit: program halts.