Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for podUIDAndRefForUpdate (0.32 sec)

  1. pkg/kubelet/pod_workers.go

    	// Leaving it here complicates a particularly important loop.
    	metrics.ContainersPerPodCount.Observe(float64(len(update.Options.Pod.Spec.Containers)))
    
    	return ctx, update, true, true, true
    }
    
    func podUIDAndRefForUpdate(update UpdatePodOptions) (types.UID, klog.ObjectRef) {
    	if update.RunningPod != nil {
    		return update.RunningPod.ID, klog.KObj(update.RunningPod.ToAPIPod())
    	}
    	return update.Pod.UID, klog.KObj(update.Pod)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
Back to top