kubernetes/test/integration
Kubernetes Submit Queue 34b258ca4b
Merge pull request #55933 from bsalamat/starvation3
Automatic merge from submit-queue (batch tested with PRs 54316, 53400, 55933, 55786, 55794). 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>.

Add support to take nominated pods into account during scheduling to avoid starvation of higher priority pods

**What this PR does / why we need it**:
When a pod preempts lower priority pods, the preemptor gets a "nominated node name" annotation. We call such a pod a nominated pod. This PR adds the logic to take such nominated pods into account when scheduling other pods on the same node that the nominated pod is expected to run. This is needed to avoid starvation of preemptor pods. Otherwise, lower priority pods may fill up the space freed after preemption before the preemptor gets a chance to get scheduled.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #54501

**Special notes for your reviewer**: This PR is built on top of #55109 and includes all the changes there as well.

**Release note**:

```release-note
Add support to take nominated pods into account during scheduling to avoid starvation of higher priority pods.
```

/sig scheduling
ref/ #47604
2017-11-21 15:04:28 -08:00
..
apiserver Update generated files 2017-11-09 12:14:08 +01:00
auth Update generated files 2017-11-09 12:14:08 +01:00
client use core client with explicit version globally 2017-10-27 15:48:32 +08:00
configmap use core client with explicit version globally 2017-10-27 15:48:32 +08:00
daemonset Check RegisterMetricAndTrackRateLimiterUsage error when starting controllers 2017-11-01 12:46:07 +01:00
defaulttolerationseconds Update generated files 2017-11-09 12:14:08 +01:00
deployment convert testScaledRolloutDeployment e2e test to integration test 2017-11-20 15:36:27 -08:00
etcd Merge pull request #51955 from danwinship/update-networkpolicy-storage 2017-11-15 12:03:40 -08:00
evictions use core client with explicit version globally 2017-10-27 15:48:32 +08:00
examples update BUILD files 2017-10-15 18:18:13 -07:00
framework Merge pull request #55392 from sttts/sttts-remove-policy-v1alpha1 2017-11-17 00:18:17 -08:00
garbagecollector Tolerate partial discovery in garbage collector 2017-11-07 16:54:49 -05:00
master Update generated files 2017-11-09 12:14:08 +01:00
metrics update BUILD files 2017-10-15 18:18:13 -07:00
objectmeta update BUILD files 2017-10-15 18:18:13 -07:00
openshift update BUILD files 2017-10-15 18:18:13 -07:00
pods update BUILD files 2017-10-15 18:18:13 -07:00
quota admission: unify plugin constructors 2017-10-30 16:56:38 +01:00
replicaset convert testScaledRolloutDeployment e2e test to integration test 2017-11-20 15:36:27 -08:00
replicationcontroller Add ReplicationController integration tests. 2017-11-07 14:55:47 -08:00
scale Enable scale subresources for apps/v1 2017-11-09 13:42:15 -05:00
scheduler Autogenerated files 2017-11-20 22:17:06 -08:00
scheduler_perf use core client with explicit version globally 2017-10-27 15:48:32 +08:00
secrets use core client with explicit version globally 2017-10-27 15:48:32 +08:00
serviceaccount Merge pull request #53592 from frodenas/bootstrap-controller 2017-11-07 11:21:15 -08:00
storageclasses use core client with explicit version globally 2017-10-27 15:48:32 +08:00
ttlcontroller update BUILD files 2017-10-15 18:18:13 -07:00
volume Validate that PV capacity and PVC capacity requests are greater than zero 2017-11-13 08:57:01 -08:00
benchmark-controller.json build/pause: write in C 2016-05-04 21:45:52 -04:00
BUILD Merge pull request #52192 from liyinan926/ds-tests 2017-10-31 13:22:20 -07:00
doc.go don't use build tags to mark integration tests 2017-04-28 14:19:39 -07:00
utils.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00