kubernetes/plugin/pkg/scheduler/algorithm/priorities
Kubernetes Submit Queue 0f8eaa45dd Merge pull request #49976 from aveshagarwal/master-pod-affinities-topology-key
Automatic merge from submit-queue (batch tested with PRs 50531, 50853, 49976, 50939, 50607)

Do not allow empty topology key for pod affinities.

**What this PR does / why we need it**:
This PR do not allow empty topology key for all 4 pod affinities.

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

**Special notes for your reviewer**:

**Release note**:

```release-note
Affinity in annotations alpha feature is no longer supported in 1.8. Anyone upgrading from 1.7 with AffinityInAnnotation feature enabled must ensure pods (specifically with pod anti-affinity PreferredDuringSchedulingIgnoredDuringExecution) with empty TopologyKey fields must be removed before upgrading to 1.8.
```
@kubernetes/sig-scheduling-bugs  @bsalamat @davidopp
2017-08-21 15:46:20 -07:00
..
util Merge pull request #49976 from aveshagarwal/master-pod-affinities-topology-key 2017-08-21 15:46:20 -07:00
balanced_resource_allocation_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
balanced_resource_allocation.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
image_locality_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
image_locality.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
interpod_affinity_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
interpod_affinity.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
least_requested_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
least_requested.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
metadata_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
metadata.go Removes alpha feature gate for affinity annotations. Beta fields should be used. 2017-06-23 10:02:14 -05:00
most_requested_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
most_requested.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_affinity_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_affinity.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_label_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_label.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_prefer_avoid_pods_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
node_prefer_avoid_pods.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
selector_spreading_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
selector_spreading.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
taint_toleration_test.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
taint_toleration.go Use const value maxPriority instead of immediate value 10 2017-07-17 10:33:44 +08:00
test_util.go run hack/update-all 2017-06-22 11:31:03 -07:00