Skip to content

Hidden performance problem inside volumeManager #63274

@mlmhl

Description

@mlmhl

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:

Currently Kubelet synchronizes each pod periodically, inside each loop VolumeManager reprocesses each pod's volumes. If a volume refers to a PVC, it will fetch the latest PV/PVC object from apiserver, see here and here. So it will increase the load on apiserver/etcd if cluster scale becomes large.

A possible solution is introducing a PV/PVC cache with TTL, like what ConfigMap and Secret do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.sig/storageCategorizes an issue or PR as relevant to SIG Storage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions