-
Notifications
You must be signed in to change notification settings - Fork 2k
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
CustomResource: no metrics if CRD apply after ksm starts #2296
Comments
Could you try KSM v2.8.2? There are some big changes around CRD after v2.8.2. |
But I used commit(eac6d3b) after v2.8.2 |
v2.8.2+ has some bugs, you can find them in issues. I guess this might be related as well. Is v2.8.2 working for you? |
Unfortunately, v2.8.2 is not working :(
|
This feature is working in my cluster. Could you try examples here https://github.com/kubernetes/kube-state-metrics/blob/main/docs/customresourcestate-metrics.md? I guess user configuration is not correct, you can add logs and rebuild KSM to debug. #2299 |
/assign @CatherineF-dev |
Hi @ZhangsongLee, is this issue resolved or not? |
What happened:
There is a issues when a CRD is not applied before starting ksm
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Used Configuration:
Anything else we need to know?:
I found a related issue #2142, this issue is before starting ksm, CRD already existed.
Environment:
The text was updated successfully, but these errors were encountered: