//// pkg/kubelet/pleg/generic.go - relist()
:
// get a current timestamp
timestamp := g.clock.Now()
// kubelet_pleg_relist_latency_microseconds for prometheus metrics
defer func() {
metrics.PLEGRelistLatency.Observe(metrics.SinceInMicroseconds(timestamp))
}()
// Get all the pods.
podList, err := g.runtime.GetPods(true)
:
Created
October 19, 2019 07:06
-
-
Save bysnupy/67a8267bd13d1a5c2696f9b6aad55350 to your computer and use it in GitHub Desktop.
PLEG is not healthy getpods source code in relist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment