Kubesphere Events Plugin is failed in the installation when you don't enable opensearch or elasticsearch
How to reproduce the issue:
This is the cluster configuration file:
apiVersion: installer.kubesphere.io/v1alpha1
kind: ClusterConfiguration
metadata:
name: ks-installer
namespace: kubesphere-system
labels:
version: v3.4.1
spec:
persistence:
storageClass: "" # If there is no default StorageClass in your cluster, you need to specify an existing StorageClass here.
authentication:
jwtSecret: ""
local_registry: ""
etcd:
monitoring: false # Enable or disable etcd monitoring dashboard installation. You have to create a Secret for etcd before you enable it.
endpointIps: localhost # etcd cluster EndpointIps. It can be a bunch of IPs here.
port: 2379 # etcd port.
tlsEnable: true
common:
[...]
es: # Storage backend for logging, events and auditing.
enabled: false
logMaxAge: 7 # Log retention time in built-in Elasticsearch. It is 7 days by default.
elkPrefix: logstash # The string making up index names. The index name will be formatted as ks-<elk_prefix>-log.
basicAuth:
enabled: false
username: ""
password: ""
opensearch:
enabled: false
logMaxAge: 7 # Log retention time in built-in Opensearch. It is 7 days by default.
basicAuth:
enabled: true
username: "admin"
password: "admin"
[...]
events: # Provide a graphical web console for Kubernetes Events exporting, filtering and alerting in multi-tenant Kubernetes clusters.
enabled: true # Enable or disable the KubeSphere Events System.
ruler:
enabled: true
replicas: 2
[...]
What is the issue
Kubesphere Events Plugin is failed in the installation when you don't enable
opensearch
orelasticsearch
How to reproduce the issue:
This is the cluster configuration file:
The Logs from ks-installer: