Skip to content

[Feature] Leader election settings should be increased and made configurable in chart manifests #85

@amshuman-kr

Description

@amshuman-kr

Feature (What you would like to be added):
Leader election settings should be increased and made configurable in chart manifests.

Motivation (Why is this needed?):
The default leader election settings in controller-runtime seem to create too much load on the apiserver. It should be possible to configure them to reduce load on the apiserver without having to make any changes to etcd-druid.

Approach/Hint to the implement solution (optional):
We can introduce command-line flags and chart manifest flags along the lines of gardener/gardener#2667.

Also, it would be desirable to switch to Lease for leader election rather than ConfigMap. But controller-runtime still uses ConfigMap. So, for this, we either have to wait till controller-runtime move to Lease or we override with a custom newResourceLock factory function in the options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementEnhancement, improvement, extensionlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions