k3s/pkg/kubelet/types
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
..
BUILD Merge pull request #58835 from ravisantoshgudimetla/critical-pod-with-priority 2018-02-23 11:22:31 -08:00
constants.go Add 'none' option to EnforceNodeAllocatable 2018-02-08 10:24:39 -08:00
doc.go
labels.go Add a container type to the runtime labels 2018-01-23 13:16:36 +01:00
labels_test.go Improved code coverage for pkg/kubelet/types/labels 2017-05-02 23:30:56 +08:00
pod_update.go Critical pods priorityClass addition 2018-02-21 20:53:21 -05:00
pod_update_test.go Critical pods priorityClass addition 2018-02-21 20:53:21 -05:00
types.go Typed static/mirror pod UID translation 2017-08-14 14:51:26 +02:00
types_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00