k3s/pkg/registry
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
..
admissionregistration refactor resource_config.go thoroughly and remove useless code in registry 2018-01-27 16:10:58 +08:00
apps Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
authentication refactor resource_config.go thoroughly and remove useless code in registry 2018-01-27 16:10:58 +08:00
authorization Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
autoscaling Merge pull request #60362 from lcfang/test0224 2018-03-01 07:42:48 -08:00
batch Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cachesize update BUILD files 2017-10-15 18:18:13 -07:00
certificates Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
core Replace "golang.org/x/net/context" with "context" 2018-03-22 20:57:14 +08:00
events refactor resource_config.go thoroughly and remove useless code in registry 2018-01-27 16:10:58 +08:00
extensions Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
networking Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
policy Merge pull request #54933 from php-coder/psp_introduce_new_api_group 2018-02-20 15:44:50 -08:00
rbac Merge pull request #61461 from WanLinghao/cluster_role_error_fix 2018-03-22 03:37:22 -07:00
registrytest registry: move generic registry tester into k8s.io/apiserver 2017-11-16 09:03:42 +01:00
scheduling Allow system critical priority classes in API validation 2018-03-06 10:06:58 -08:00
settings Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
storage Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
BUILD Move workload registries to apps package 2018-02-07 13:29:06 -05:00
OWNERS Add liggitt to registry approvers 2017-09-04 11:20:38 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00