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

Default disable KSM #2573

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Default disable KSM #2573

merged 1 commit into from
Sep 8, 2023

Conversation

thomasvn
Copy link
Member

@thomasvn thomasvn commented Sep 5, 2023

What does this PR change?

Proposal to default disable kube-state-metrics (KSM) for all users moving forward. Users still have the option to enable the bundled KSM if they choose.

This has the advantage of simplifying the user's install process, and reducing likelihood they would need to troubleshoot Prometheus metrics during install. Especially in cases where users already have KSM running in their environment. And especially in cases where users are bringing their own Prometheus which already houses some KSMv2 metrics.

Does this PR rely on any other PRs?

No

How does this PR impact users? (This is the kind of thing that goes in release notes!)

Kubecost's bundled kube-state-metrics deployment is now disabled by default.

Links to Issues or tickets this PR addresses or fixes

None

What risks are associated with merging this PR? What is required to fully test this PR?

Low risk. We do not lose anything significant when KSM is disabled. Users are able to re-enable Kubecost's bundled KSM if they wish.

Note, that this change impacts users who are intentionally running Kubecost's bundled KSM for the purposes of higher availability metrics. I suggest we widely announce the default disabling of KSM in release notes.

How was this PR tested?

Running Kubecost without KSM has been common practice and tested for many releases now. It is also what is recommended in the poc-common-configurations repo.

Have you made an update to documentation? If so, please provide the corresponding PR.

kubecost/docs#752

@chipzoller chipzoller merged commit 19f7f49 into develop Sep 8, 2023
8 checks passed
@chipzoller chipzoller deleted the thomasn/default-disable-ksm branch September 8, 2023 19:10
@dwbrown2
Copy link
Contributor

dwbrown2 commented Sep 8, 2023

@AjayTripathy I remember there was a reason why you wanted to keep this enabled for some period. Any risks to consider?

@jessegoodier
Copy link
Collaborator

@dwbrown2
We have been disabling this for POCs since August of last year: kubecost/poc-common-configurations#22

I haven't found any missing metrics since then. But happy to dig in if Ajay has concerns.

@AjayTripathy
Copy link
Contributor

No major concerns. We kept it enabled to bake but since august we have moved further away from our reliance on KSM.

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.

5 participants