Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ksm to discover by endpoints #66

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

petewall
Copy link
Collaborator

@petewall petewall commented Jan 8, 2025

On very large clusters, kube-state-metrics needs to be sharded across multiple replicas. Discovering by service means we will only get one of those replicas. Changing to endpoints means we'll get all replicas.

@petewall petewall merged commit 32aeea4 into main Jan 8, 2025
24 checks passed
@petewall petewall deleted the fix/kube-state-metrics-by-endpoint branch January 8, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[kube-state-metrics] KSM should be scraped by endpoint, not by service
2 participants