k3s/pkg/kubelet
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
..
apis regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
cadvisor Merge pull request #59743 from feiskyer/stats 2018-02-23 20:09:32 -08:00
certificate Merge pull request #59316 from smarterclayton/terminate_early 2018-02-21 15:40:41 -08:00
checkpoint Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cm Merge pull request #61525 from tianshapjq/place-consts-together 2018-03-25 09:51:42 -07:00
config Merge pull request #58714 from dcbw/cni-plugin-dirs 2018-03-19 21:34:39 -07:00
configmap Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
container Merge pull request #61373 from msau42/subpath-reconstruct 2018-03-22 06:20:28 -07:00
custommetrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
dockershim Replace "golang.org/x/net/context" with "context" 2018-03-22 20:57:14 +08:00
envvars Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
events
eviction refresh eviction interval periodically 2018-03-06 15:14:05 -08:00
gpu Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
images Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubeletconfig expunge the word 'manifest' from Kubelet's config API 2018-02-23 11:44:06 -08:00
kuberuntime Merge pull request #60851 from aveshagarwal/master-rhbz-1548987 2018-03-20 15:34:37 -07:00
leaky
lifecycle Support cluster-level extended resources in kubelet and kube-scheduler 2018-02-27 17:25:30 -08:00
logs Generated code 2018-02-23 01:42:35 +00:00
metrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
mountpod Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
network Merge pull request #60912 from m1093782566/refactor-hostport 2018-03-20 17:37:10 -07:00
pleg Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pod Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
preemption Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
prober Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
qos Make a few code paths compile cleanly with 32-bit Go. 2018-02-27 13:53:32 -08:00
remote Replace "golang.org/x/net/context" with "context" 2018-03-22 20:57:14 +08:00
rkt Replace "golang.org/x/net/context" with "context" 2018-03-22 20:57:14 +08:00
secret Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
server regenerated all files and remove all YEAR fields 2018-03-08 17:52:48 +08:00
stats Add CPU/Memory pod stats for CRI stats. 2018-02-26 19:29:47 +00:00
status Fix `PodScheduled` bug for static pod. 2018-03-22 01:04:08 +00:00
sysctl clean up sysctl code 2018-02-23 16:41:53 +08:00
types autogenerated files 2018-03-06 10:06:58 -08:00
util Detect backsteps correctly in base path detection 2018-03-13 02:23:06 -04:00
volumemanager Merge pull request #61373 from msau42/subpath-reconstruct 2018-03-22 06:20:28 -07:00
winstats fix "make test" 2018-02-24 17:39:21 +08:00
BUILD kubelet: make --cni-bin-dir accept a comma-separated list of CNI plugin directories 2018-03-01 10:51:18 -06:00
OWNERS
active_deadline.go
active_deadline_test.go
doc.go
kubelet.go Merge pull request #61078 from hzxuzhonghu/kubelet-clean 2018-03-21 14:15:13 -07:00
kubelet_getters.go Fix issue with race condition during pod deletion 2018-03-15 15:35:37 -07:00
kubelet_getters_test.go
kubelet_network.go
kubelet_network_test.go
kubelet_node_status.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_node_status_test.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_pods.go Merge pull request #61504 from Random-Liu/fix-pod-scheduled-bug 2018-03-24 12:34:28 -07:00
kubelet_pods_test.go Add feature gate for subpath 2018-03-05 09:14:44 +01:00
kubelet_pods_windows_test.go Lock subPath volumes 2018-03-05 09:14:44 +01:00
kubelet_resources.go
kubelet_resources_test.go
kubelet_test.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_volumes.go Fix issue with race condition during pod deletion 2018-03-15 15:35:37 -07:00
kubelet_volumes_test.go update import 2018-02-27 20:23:35 +08:00
oom_watcher.go
oom_watcher_test.go
pod_container_deletor.go
pod_container_deletor_test.go
pod_workers.go fixes document grammar 2018-02-20 10:38:41 -05:00
pod_workers_test.go
reason_cache.go
reason_cache_test.go
runonce.go fix todo:add function getFailContainer to report which containers failed the pod 2018-03-15 09:38:02 +08:00
runonce_test.go
runtime.go
util.go
volume_host.go update import 2018-02-27 20:23:35 +08:00