logging:
host: http://10.203.98.104:9200
basicAuth: True
username: "admin"
password: "admin"
indexPrefix: ks-whizard-logging
events:
host: http://10.203.98.104:9200
basicAuth: True
username: "admin"
password: "admin"
indexPrefix: ks-whizard-events
auditing:
enable: true
webhookURL: https://kube-auditing-webhook-svc.kubesphere-logging-system.svc:6443/audit/webhook/event
host: http://10.203.98.104:9200
basicAuth: True
username: "admin"
password: "admin"
indexPrefix: ks-whizard-auditing
你把kubesphere-config中的这些配置删除一下,这里默认引用了opensearch的配置,没有加载进es的配置。改成类似
events:
host: http://xxx:9200
indexPrefix: ks-dev-events
就可以了,其余修改类似,然后重启ks-apiserver。