Comments (3)
This issue is currently awaiting triage.
If kube-state-metrics contributors determine this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
from kube-state-metrics.
Hello @yummydsky,
I can't reproduce your issue with either v2.10.1
or v2.12.0
(latest):
kube-state-metrics /metrics
kube_pod_spec_volumes_persistentvolumeclaims_info{namespace="default",pod="task-pv-pod",uid="317729a4-7dfa-4f53-8569-a3245e6a6e75",volume="task-pv-storage",persistentvolumeclaim="task-pv-claim"} 1
kube_pod_spec_volumes_persistentvolumeclaims_info{namespace="default",pod="task-pv-pod",uid="317729a4-7dfa-4f53-8569-a3245e6a6e75",volume="task-pv-storage-2",persistentvolumeclaim="task-pv-claim-2"} 1
PromQL
{namespace="default", persistentvolumeclaim="task-pv-claim", pod="task-pv-pod", volume="task-pv-storage"}
{namespace="default", persistentvolumeclaim="task-pv-claim-2", pod="task-pv-pod", volume="task-pv-storage-2"}
Kubernetes
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
Any chance you could try a more recent version of Kubernetes? v1.21 reached End of Life 2022-06-28 [1]
[1] https://kubernetes.io/releases/patch-releases/#support-period
from kube-state-metrics.
@ricardoapl
Thanks for the quick reply.
Yes, you're right. This is not a bug.
That's my fault. It's my pod template issue, I just requested the volume but did not mount it to a specific folder, so the metric works as expected.
from kube-state-metrics.
Related Issues (20)
- Wanted to know the ETA or date for next version release as that has some security vulnerability fixes HOT 3
- Some job metrics are missing if job has no conditions HOT 4
- Duplicate sample for ingress path metrics HOT 2
- Duplicate samples for customResourceState metrics HOT 4
- Support for Gateway API metrics HOT 1
- kube-state-metrics doesn't produce metric for Custom Resources HOT 3
- Version is not applied to the container release binary HOT 2
- Version info missing in v2.13.0 HOT 2
- kube-state-metrics jsonnet format wrong HOT 4
- Use PartialObjectMetadata for ConfigMaps and Secrets HOT 1
- `CustomResourceState` does not produce metrics for the aggregation layer if there is no `CustomResourceDefinition` defined HOT 1
- Add metric(s) for KSM errors HOT 2
- Metric "kube_node_role" missing (AKS) HOT 3
- Amazon Managed Service for Prometheus DataSource not recognized when importing HOT 1
- CustomResourceDefinitions status fields cause spam of errors that cannot be fixed HOT 3
- Add Storage Capacity metrics HOT 1
- labels_allow_list and annotations_allow_list wildcards clobber resource specific configuration HOT 1
- Support for VolumeSnapshot metrics HOT 1
- Export pod ephemeral PVCs metrics HOT 1
- Count volumes attached to a node HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-state-metrics.