//// 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/6f4f5e2b13ab2f92ad503a0139bda3a3 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