resmoio / kubernetes-event-exporter

Export Kubernetes events to multiple destinations with routing and filtering
Apache License 2.0
753 stars 149 forks source link

ES shards and copies parameters #147

Closed rookie-z closed 9 months ago

rookie-z commented 9 months ago

Hello, how to specify the number of shards and replicas when using ES

mustafaakin commented 9 months ago

You can leverage index templates https://www.elastic.co/guide/en/elasticsearch/reference/current/index-templates.html the implementation does not create index for you at startup, which can be an option but it would be limited. Templates offer more flexibility on your usage.