kube-state-metrics icon indicating copy to clipboard operation
kube-state-metrics copied to clipboard

When collecting indicators kube_persistentvolume_info, it will fail

Open gitlilei2019 opened this issue 2 years ago • 7 comments

when curl ip:8080/metrics,Execution will get stuck。then prometheus will down kube-state-metrics。 k8s version:1.22,kube-state-metrics version:2.4.2

image image

kube_persistentvolume_info

prometheus

gitlilei2019 avatar Dec 07 '23 06:12 gitlilei2019

Hi, could you help provide detailed steps to reproduce this issue?

CatherineF-dev avatar Dec 09 '23 13:12 CatherineF-dev

Also, could you try latest KSM version to see whether it's still having this issue?

CatherineF-dev avatar Dec 09 '23 13:12 CatherineF-dev

/triage accepted /assign @CatherineF-dev

logicalhan avatar Dec 14 '23 17:12 logicalhan

Ping~ Have you resolved the issue? cc @gitlilei2019

CatherineF-dev avatar Dec 15 '23 01:12 CatherineF-dev

Ping~ Have you resolved the issue? cc @gitlilei2019

use version 2.10.0 is ok

gitlilei2019 avatar Dec 20 '23 01:12 gitlilei2019

Hi @gitlilei2019, could you help find which KSM version starts having this issue, if you're available? Thx

CatherineF-dev avatar Jan 02 '24 15:01 CatherineF-dev

Hi @gitlilei2019, could you help find which KSM version starts having this issue, if you're available? Thx

This problem is occasional, and sometimes curl ip: 8080/metrics may get stuck. But this problem has always existed, from version 2.4.2 to version 2.10.0, it was collected in "kube_persistentvolume_info" indicator will freeze for a few seconds, but it can still be executed in the end. kube_persistentvolume_info

gitlilei2019 avatar Jan 03 '24 01:01 gitlilei2019