莫名其妙啊 先记录下,解决再记录解决方案
重启过,重装过,helm 删除过 logging-fluentbit-operator
还是不行,
kubectl get all kubesphere-logging-system
error: you must specify only one resource
Task 'logging' failed:
******************************************************************************************************************************************************
{
"counter": 125,
"created": "2020-09-18T05:54:39.344673",
"end_line": 128,
"event": "runner_on_failed",
"event_data": {
"event_loop": null,
"host": "localhost",
"ignore_errors": null,
"play": "localhost",
"play_pattern": "localhost",
"play_uuid": "362e7970-0d5b-a451-3040-000000000005",
"playbook": "/kubesphere/playbooks/logging.yaml",
"playbook_uuid": "b9ff4590-b7f1-452b-8626-41736daf2eef",
"remote_addr": "127.0.0.1",
"res": {
"_ansible_no_log": false,
"attempts": 5,
"changed": true,
"cmd": "/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-crd.yaml",
"delta": "0:00:00.611064",
"end": "2020-09-18 05:54:39.315872",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-crd.yaml",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2020-09-18 05:54:38.704808",
"stderr": "error: unable to recognize \"/etc/kubesphere/logging/fluentbit-crd.yaml\": no matches for kind \"FluentBit\" in version \"logging.kubesphere.io/v1alpha1\"",
"stderr_lines": [
"error: unable to recognize \"/etc/kubesphere/logging/fluentbit-crd.yaml\": no matches for kind \"FluentBit\" in version \"logging.kubesphere.io/v1alpha1\""
],
"stdout": "",
"stdout_lines": []
},
"role": "ks-logging",
"task": "ks-logging | Create fluentbit-crd",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/ks-logging/tasks/main.yaml:157",
"task_uuid": "362e7970-0d5b-a451-3040-000000000037",
"uuid": "eee65f30-5064-43be-be5d-5c6bbe12ba9f"
},
"parent_uuid": "362e7970-0d5b-a451-3040-000000000037",
"pid": 22626,
"runner_ident": "logging",
"start_line": 127,
"stdout": "fatal: [localhost]: FAILED! => {\"attempts\": 5, \"changed\": true, \"cmd\": \"/usr/local/bin/kubectl apply -f /etc/kubesphere/logging/fluentbit-crd.yaml\", \"delta\": \"0:00:00.611064\", \"end\": \"2020-09-18 05:54:39.315872\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2020-09-18 05:54:38.704808\", \"stderr\": \"error: unable to recognize \\\"/etc/kubesphere/logging/fluentbit-crd.yaml\\\": no matches for kind \\\"FluentBit\\\" in version \\\"logging.kubesphere.io/v1alpha1\\\"\", \"stderr_lines\": [\"error: unable to recognize \\\"/etc/kubesphere/logging/fluentbit-crd.yaml\\\": no matches for kind \\\"FluentBit\\\" in version \\\"logging.kubesphere.io/v1alpha1\\\"\"], \"stdout\": \"\", \"stdout_lines\": []}",
"uuid": "eee65f30-5064-43be-be5d-5c6bbe12ba9f"
}