Ordered by the goroutine start time
- eventBroadcaster
Watching apiserver- garbageCollection(containerGC/imageManager)
- imageManager
- containerManager
oomWatcherresourceAnalyzer//Monitor resource usage- volumeManager
syncNodeStatussyncNetworkStatuscadvisorpodKiller- statusManager //status.Manager is the Source of truth for kubelet pod status
probeManagerevictionManager// Needed to observe and respond to situations that could impact node stability- pleg // The pod lifecycle event generator.
podWorkerssyncLoop//syncLoop is the main loop for processing changes. It watches for changes from three channels (file, apiserver, and http) and creates a union of them.
- Watching apiserver //NewSourceApiserver creates a config source that watches and pulls from the apiserver.
- kl.syncLoopIteration
- kl.HandlePodAdditions
- kl.podWorkers.UpdatePod
- kl.syncPod //syncPod is the transaction script for the sync of a single pod.