• Kubernetes Submit Queue's avatar
    Merge pull request #58990 from bsalamat/nominated_node · 21387af0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. 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 NominatedNodeName field to PodStatus
    
    **What this PR does / why we need it**:
    Today, Scheduler uses an annotation called "nominated-node-name" to mark a preemptor Pod. This annotation helps scheduler know about the Pods that are destined to run on the nodes so that the resources made available by preemption is not allocated to a different Pod. In a recent discussion with @bgrant0607, we learned that we should change the annotation to a field as this field can be used by multiple schedulers and other components that may make scheduling-related decisions (descheduler, auto-scaler, kube-arbitrator, ...). 
    
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    
    ref #57471
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    Add "nominatedNodeName" field to PodStatus. This field is set when a pod preempts other pods on the node.
    ```
    /sig scheduling
    21387af0
Name
Last commit
Last update
..
admissionregistration.k8s.io Loading commit data...
apps Loading commit data...
authentication.k8s.io Loading commit data...
authorization.k8s.io Loading commit data...
autoscaling Loading commit data...
batch Loading commit data...
certificates.k8s.io/v1beta1 Loading commit data...
events.k8s.io/v1beta1 Loading commit data...
extensions/v1beta1 Loading commit data...
networking.k8s.io/v1 Loading commit data...
policy/v1beta1 Loading commit data...
rbac.authorization.k8s.io Loading commit data...
scheduling.k8s.io/v1alpha1 Loading commit data...
settings.k8s.io/v1alpha1 Loading commit data...
storage.k8s.io Loading commit data...
v1 Loading commit data...
OWNERS Loading commit data...