k3s/pkg/apis
Kubernetes Submit Queue 21387af0b4
Merge pull request #58990 from bsalamat/nominated_node
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
2018-02-02 07:26:16 -08:00
..
abac Regenerate all generated code 2018-01-02 00:21:07 -08:00
admission Update generated files 2018-01-02 22:13:19 -08:00
admissionregistration Merge pull request #56874 from caesarxuchao/fail-open-doc 2018-01-25 11:44:42 -08:00
apps Fix PodPidsLimit and ConfigTrialDuration on internal KubeletConfig type 2018-01-30 11:43:41 -08:00
authentication Update generated files 2018-01-02 22:13:19 -08:00
authorization Update generated files 2018-01-02 22:13:19 -08:00
autoscaling Update generated files 2018-01-02 22:13:19 -08:00
batch Update generated files 2018-01-02 22:13:19 -08:00
certificates Update generated files 2018-01-02 22:13:19 -08:00
componentconfig Update generated files 2018-01-02 22:13:19 -08:00
core Merge pull request #58990 from bsalamat/nominated_node 2018-02-02 07:26:16 -08:00
events Update generated files 2018-01-02 22:13:19 -08:00
extensions Update generated files 2018-01-02 22:13:19 -08:00
imagepolicy Update generated files 2018-01-02 22:13:19 -08:00
networking Update generated files 2018-01-02 22:13:19 -08:00
policy Update generated files 2018-01-02 22:13:19 -08:00
rbac Update generated files 2018-01-02 22:13:19 -08:00
scheduling Update generated files 2018-01-02 22:13:19 -08:00
settings Update generated files 2018-01-02 22:13:19 -08:00
storage update all 2018-01-31 18:45:49 +08:00
OWNERS