- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for podUsesPVC (0.09 sec)
-
pkg/controller/volume/pvcprotection/pvc_protection_controller.go
return false, fmt.Errorf("live list of pods failed: %s", err.Error()) } for _, pod := range podsList.Items { if c.podUsesPVC(logger, &pod, pvc) { return true, nil } } logger.V(2).Info("PVC is unused", "PVC", klog.KObj(pvc)) return false, nil } func (c *Controller) podUsesPVC(logger klog.Logger, pod *v1.Pod, pvc *v1.PersistentVolumeClaim) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 14K bytes - Viewed (0)