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

Skip to content

Using kubelet to improve performance of api-server watcher #1714

@ariknem

Description

@ariknem

Would you like to work on this feature?

None

What problem are you trying to solve?

Some api-server watcher such as fluentbit have a feature that really helps with performance on large clusters:
https://docs.fluentbit.io/manual/pipeline/filters/kubernetes#optional-feature-using-kubelet-to-get-metadata

They use kubelet to query all pods on the node, as it has a local cache.

Describe the solution you'd like

In case we are only interested in pods on our node, consulting kubelet can be integrated into the initial LIST operation of the watcher and substantially reduce load in large and busy cluster.

Describe alternatives you've considered

Using the standard watcher

Documentation, Adoption, Migration Strategy

No response

Target crate for feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientkube Client relatedhelp wantedNot immediately prioritised, please help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions