Fix: PV metric is not namespaced

This commit is contained in:
Konstantinos Tsakalozos 2017-07-21 13:55:17 +03:00
parent acc19cafa4
commit 0faf5bf4b0

View File

@ -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