You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# HELP kube_customresource_status_conditions The condition of the resource
# TYPE kube_customresource_status_conditions stateset
kube_customresource_status_conditions{customresource_group="azure.tnnova.io",customresource_kind="UserAssignedIdentity",customresource_version="v1alpha1",namespace="s01234-example-system",status="False",type="Ready"} 0
kube_customresource_status_conditions{customresource_group="azure.tnnova.io",customresource_kind="UserAssignedIdentity",customresource_version="v1alpha1",namespace="s01234-example-system",status="True",type="Ready"} 1
kube_customresource_status_conditions{customresource_group="azure.tnnova.io",customresource_kind="UserAssignedIdentity",customresource_version="v1alpha1",namespace="s01234-example-system",status="Unknown",type="Ready"} 0
However, when I replace kind="UserAssignedIdentity" to kind="*" , like:
What happened:
Metrics from custom resource is not produced when wildcard is used in kind field.
What you expected to happen:
The wildcard should produce metrics for all kinds.
How to reproduce it (as minimally and precisely as possible):
I have the following helm chart values file
It produces the following metrics:
However, when I replace
kind="UserAssignedIdentity"
tokind="*"
, like:Then it no longer produces any metrics. I have verified that the kube-state-metrics service account has list,watch,get on customresourcedefintions.
Anything else we need to know?:
Environment:
kubectl version
): v1.30.0The text was updated successfully, but these errors were encountered: