kube-state-metrics doesn't produce metric for Custom Resources #2453
Labels
kind/support
Categorizes issue or PR as a support question.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
I defined configuration for Custom Resource State Metrics for my three CRD's (
ReplicationGroup
,ClusterInstance
,RDSInstance
)After deploying it to cluster where I have kubernetes objects of all above types kube-state-metric is producing me expected
crossplane_engine_version
metricBut when I deploy same configuration to the cluster where I have only objects of
RDSInstance
type,crossplane_engine_version
metric is missingWhat you expected to happen:
Metric should be produced by kube-state-metric even if there are no real Objects of one type/kind listed in configuration below
How to reproduce it (as minimally and precisely as possible):
Environment:
2.12.0
v1.28.9
AWS
The text was updated successfully, but these errors were encountered: