Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Kubernetes] Tune package's data_streams to leverage leaderelection by default #1311

@ChrsMark

Description

@ChrsMark

Currently the package does not leverage the leaderelection functionality. This means that in a mutlinode k8s cluster, cluster-wide data_streams like state_* should be applied on all of the Daemonset Agent Pods. We can tackle this by adding an extra setting leaderelection: true to the data_streams so as to indicate that that these specific data_streams should be enabled only when leadership lock is obtained. To achieve this we also need to enable the leaderelection provider by default for Agents we deploy on k8s.

@MichaelKatsoulis let me know what you think.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions