Merge pull request #21274 from derekwaynecarr/kubelet_eviction
Automatic merge from submit-queue out of resource killing (memory) Adds the core framework for low-resource killing in the kubelet. Implements support for out of memory killing. Related: https://github.com/kubernetes/kubernetes/pull/18724 <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/21274) <!-- Reviewable:end -->
This commit is contained in:
@@ -1889,6 +1889,8 @@ const (
|
||||
// NodeOutOfDisk means the kubelet will not accept new pods due to insufficient free disk
|
||||
// space on the node.
|
||||
NodeOutOfDisk NodeConditionType = "OutOfDisk"
|
||||
// NodeMemoryPressure means the kubelet is under pressure due to insufficient available memory.
|
||||
NodeMemoryPressure NodeConditionType = "MemoryPressure"
|
||||
)
|
||||
|
||||
type NodeCondition struct {
|
||||
|
@@ -2273,6 +2273,8 @@ const (
|
||||
// NodeOutOfDisk means the kubelet will not accept new pods due to insufficient free disk
|
||||
// space on the node.
|
||||
NodeOutOfDisk NodeConditionType = "OutOfDisk"
|
||||
// NodeMemoryPressure means the kubelet is under pressure due to insufficient available memory.
|
||||
NodeMemoryPressure NodeConditionType = "MemoryPressure"
|
||||
)
|
||||
|
||||
// NodeCondition contains condition infromation for a node.
|
||||
|
Reference in New Issue
Block a user