mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Clarify eviction based on allocated pods
This commit is contained in:
parent
c75a3e717e
commit
b186c160ca
@ -1568,6 +1568,7 @@ func (kl *Kubelet) initializeRuntimeDependentModules() {
|
|||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
// eviction manager must start after cadvisor because it needs to know if the container runtime has a dedicated imagefs
|
// eviction manager must start after cadvisor because it needs to know if the container runtime has a dedicated imagefs
|
||||||
|
// Eviction decisions are based on the allocated (rather than desired) pod resources.
|
||||||
kl.evictionManager.Start(kl.StatsProvider, kl.getAllocatedPods, kl.PodIsFinished, evictionMonitoringPeriod)
|
kl.evictionManager.Start(kl.StatsProvider, kl.getAllocatedPods, kl.PodIsFinished, evictionMonitoringPeriod)
|
||||||
|
|
||||||
// container log manager must start after container runtime is up to retrieve information from container runtime
|
// container log manager must start after container runtime is up to retrieve information from container runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user