Skip to content

Current status of sharding functionality #2688

Open
@rashmichandrashekar

Description

@rashmichandrashekar

Hi, We are planning to take dependency of sharding capabilities of kube-state-metrics and have a few questions before we do so.
What is the current status of sharding functionality? Is it still in preview or is it ready for production purposes?
I see note that says "Sharding should be used carefully and additional monitoring should be set up in order to ensure that sharding is set up and functioning as expected (eg. instances for each shard out of the total shards are configured)." Is this for the considerations of network traffic and resource consumption only? Or does it mean that it can have potential issues and should be carefully monitored?

Also, I see To optimize this further, the Kubernetes API would need to support sharded list/watch capabilities. In the optimal case, memory consumption for each shard will be 1/n compared to an unsharded setup - Currently this doesn't exist. Is there any work happening in this stream to help with kube-state-metrics sharding?

Thanks in advance!

Metadata

Metadata

Labels

needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions