mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-25 03:21:15 +00:00
Fix: PV metric is not namespaced
This commit is contained in:
parent
acc19cafa4
commit
0faf5bf4b0
@ -23,7 +23,7 @@ metrics:
|
||||
persistentvolume:
|
||||
type: gauge
|
||||
description: number of pv
|
||||
command: /snap/bin/kubectl get pv --all-namespaces | tail -n+2 | wc -l
|
||||
command: /snap/bin/kubectl get pv | tail -n+2 | wc -l
|
||||
persistentvolumeclaims:
|
||||
type: gauge
|
||||
description: number of claims
|
||||
|
Loading…
Reference in New Issue
Block a user