k3s/pkg/scheduler
Kubernetes Submit Queue 755ab974e1
Merge pull request #58835 from ravisantoshgudimetla/critical-pod-with-priority
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>.

Critical pod priorityClass addition

**What this PR does / why we need it**:
@bsalamat - Apologies for the delay. This PR is to ensure that all pods with priorityClassName `system-node-critical` and `system-cluster-critical` will be critical pods while preserving backwards compatibility.

**Special notes for your reviewer**:

- Moved some constants and other data structures to scheduler/api/types.go where other constants are present.
- An automatic assignment of critical priorities to pods based on critical pod annotation for backwards compatibility including some unit tests. 
xref:  https://github.com/kubernetes/kubernetes/issues/57471 

**Release note**:

```release-note
Critical pods to use priorityClasses.
```
2018-02-23 11:22:31 -08:00
..
algorithm Merge pull request #59952 from resouer/consts-handler 2018-02-22 15:45:16 -08:00
algorithmprovider Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
api Merge pull request #58835 from ravisantoshgudimetla/critical-pod-with-priority 2018-02-23 11:22:31 -08:00
core Merge pull request #60263 from tossmilestone/reuse-minNodes 2018-02-23 02:59:47 -08:00
factory Merge pull request #59952 from resouer/consts-handler 2018-02-22 15:45:16 -08:00
metrics Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
schedulercache Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
testing Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
util Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
volumebinder Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
BUILD Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
OWNERS
scheduler.go format some import statements in scheduler pkg 2018-02-12 09:04:00 +08:00
scheduler_test.go Add VolumeNodeAffinity to PersistentVolumeSpec 2018-02-16 17:54:10 -08:00
testutil.go remove unused func in FakeConfigurator of scheduler 2018-01-25 16:08:13 +08:00