- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for boundNumberByNamespace (0.12 sec)
-
pkg/controller/volume/persistentvolume/metrics/metrics.go
func (collector *pvAndPVCCountCollector) pvcCollect(ch chan<- metrics.Metric) { boundNumberByNamespace := make(map[string]int) unboundNumberByNamespace := make(map[string]int) for _, pvcObj := range collector.pvcLister.List() { pvc, ok := pvcObj.(*v1.PersistentVolumeClaim) if !ok { continue } if pvc.Status.Phase == v1.ClaimBound { boundNumberByNamespace[pvc.Namespace]++ } else { unboundNumberByNamespace[pvc.Namespace]++
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 25 13:09:16 UTC 2022 - 10.5K bytes - Viewed (0)