• Kubernetes Submit Queue's avatar
    Merge pull request #49976 from aveshagarwal/master-pod-affinities-topology-key · 0f8eaa45
    Kubernetes Submit Queue authored
    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
    0f8eaa45
Name
Last commit
Last update
..
endpoints Loading commit data...
events Loading commit data...
fuzzer Loading commit data...
helper Loading commit data...
install Loading commit data...
persistentvolume Loading commit data...
pod Loading commit data...
ref Loading commit data...
resource Loading commit data...
service Loading commit data...
testapi Loading commit data...
testing Loading commit data...
unversioned Loading commit data...
util Loading commit data...
v1 Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
annotation_key_constants.go Loading commit data...
conversion_test.go Loading commit data...
copy_test.go Loading commit data...
deep_copy_test.go Loading commit data...
defaulting_test.go Loading commit data...
doc.go Loading commit data...
field_constants.go Loading commit data...
json.go Loading commit data...
meta_test.go Loading commit data...
node_example.json Loading commit data...
objectreference.go Loading commit data...
register.go Loading commit data...
replication_controller_example.json Loading commit data...
resource.go Loading commit data...
serialization_proto_test.go Loading commit data...
serialization_test.go Loading commit data...
taint.go Loading commit data...
taint_test.go Loading commit data...
toleration.go Loading commit data...
types.go Loading commit data...
unstructured_test.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...