Kubernetes版本: AWS eks 1.17,
KubeSphere版本: v3.0.0,离线安装
alerting选项设置的true,notification一直出现问题,报错如下
"res": {
"_ansible_no_log": false,
"changed": true,
"cmd": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/notification/notification-db-init-job.yaml",
"delta": "0:00:10.579689",
"end": "2021-02-04 08:02:50.661437",
"invocation": {
"module_args": {
"_raw_params": "/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/notification/notification-db-init-job.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": "2021-02-04 08:02:40.081748",
"stderr": "Error from server (NotFound): error when creating \"/kubesphere/kubesphere/notification/notification-db-init-job.yaml\": namespaces \"kubesphere-alerting-system\" not found",
"stderr_lines": [
"Error from server (NotFound): error when creating \"/kubesphere/kubesphere/notification/notification-db-init-job.yaml\": namespaces \"kubesphere-alerting-system\" not found"
],
"stdout": "",
"stdout_lines": []
},