k3s/pkg/kubelet/eviction
Kubernetes Submit Queue 2accf11f1a
Merge pull request #57849 from dashpole/eviction_test_event
Automatic merge from submit-queue (batch tested with PRs 63865, 57849, 63932, 63930, 63936). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Eviction Node e2e test checks for eviction reason

**What this PR does / why we need it**:
Currently, the eviction test simply ensures that pods are marked `Failed`.  However, this could occur because of an OOM, rather than an eviction.
To ensure that pods are actually being evicted, check for the Reason in the pod status to ensure it is evicted.

**Release note**:
```release-note
NONE
```

cc @kubernetes/sig-node-pr-reviews
2018-05-17 00:28:19 -07:00
..
api cleanup eviction events 2018-05-04 11:02:25 -07:00
BUILD Merge pull request #58580 from k82cn/k8s_58505 2018-05-08 21:45:10 -07:00
OWNERS Update OWNERS approvers and reviewers: pkg/kubelet 2017-01-18 10:27:11 -08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
eviction_manager.go Merge pull request #57849 from dashpole/eviction_test_event 2018-05-17 00:28:19 -07:00
eviction_manager_test.go collect metrics on the /kubepods cgroup on-demand 2018-02-17 12:32:40 -08:00
helpers.go eviction test ensures failed pods are evicted 2018-05-08 16:08:35 -07:00
helpers_test.go cleanup eviction events 2018-05-04 11:02:25 -07:00
threshold_notifier_linux.go refresh eviction interval periodically 2018-03-06 15:14:05 -08:00
threshold_notifier_unsupported.go Fix threshold notifier build tags 2017-08-18 15:54:31 -07:00
types.go add memcg notifications for allocatable cgroup 2018-05-07 17:15:23 -07:00