kubernetes/pkg/apis
Kubernetes Submit Queue 71050b6f2d
Merge pull request #60519 from bsalamat/auto_prio_class
Automatic merge from submit-queue (batch tested with PRs 60519, 61099, 61218, 61166, 61714). 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>.

Automatically add system critical priority classes at cluster boostrapping

**What this PR does / why we need it**:
We had two PriorityClasses that were hardcoded and special cased in our code base. These two priority classes never existed in API server. Priority admission controller had code to resolve these two names. This PR removes the hardcoded PriorityClasses and adds code to create these PriorityClasses automatically when API server starts.

**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 #60178

ref/ #57471

**Special notes for your reviewer**:

**Release note**:

```release-note
Automatically add system critical priority classes at cluster boostrapping.
```

/sig scheduling
2018-03-26 23:20:05 -07:00
..
abac regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
admission regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
admissionregistration regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
apps regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
authentication regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
authorization regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
autoscaling regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
batch regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
certificates regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
componentconfig regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
core Merge pull request #59172 from fisherxu/removeyear 2018-03-21 12:44:37 -07:00
events regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
extensions Merge pull request #60792 from php-coder/psp_tiny_godoc_fix 2018-03-21 14:15:21 -07:00
imagepolicy regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
networking Merge pull request #60452 from danwinship/networkpolicy-pod-plus-ns 2018-03-24 13:34:27 -07:00
policy regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
rbac regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
scheduling Merge pull request #60519 from bsalamat/auto_prio_class 2018-03-26 23:20:05 -07:00
settings regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
storage regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
OWNERS Remove myself (timothysc) from OWNERS files on areas that I do not 2018-02-12 18:56:41 -06:00