Vishnu Kannan
a3ae8c2b21
Revert "assign -998 as the oom_score_adj for critical pods."
...
This reverts commit 53931fbce4
.
2017-02-02 10:41:21 -08:00
Kubernetes Submit Queue
3f9f7471af
Merge pull request #38989 from sjenning/set-qos-field
...
Automatic merge from submit-queue (batch tested with PRs 39684, 39577, 38989, 39534, 39702)
Set PodStatus QOSClass field
This PR continues the work for https://github.com/kubernetes/kubernetes/pull/37968
It converts all local usage of the `qos` package class types to the new API level types (first commit) and sets the pod status QOSClass field in the at pod creation time on the API server in `PrepareForCreate` and in the kubelet in the pod status update path (second commit). This way the pod QOS class is set even if the pod isn't scheduled yet.
Fixes #33255
@ConnorDoyle @derekwaynecarr @vishh
2017-01-10 22:24:13 -08:00
Seth Jennings
4c30459e49
switch from local qos types to api types
2017-01-10 10:54:30 -06:00
Harry Zhang
9712fe8455
Revert "Small improve for GetContainerOOMScoreAdjust"
2017-01-05 09:54:11 +08:00
Jun Gong
e417fd2faa
Small improve for GetContainerOOMScoreAdjust
2016-12-29 21:25:43 +08:00
Dawn Chen
b03fca9783
Fixed an import cycle issue:
...
import cycle not allowed in test
package k8s.io/kubernetes/pkg/client/restclient (test)
imports k8s.io/kubernetes/pkg/api/testapi
imports k8s.io/kubernetes/pkg/apis/componentconfig/install
imports k8s.io/kubernetes/pkg/apis/componentconfig/v1alpha1
imports k8s.io/kubernetes/pkg/kubelet/qos
imports k8s.io/kubernetes/pkg/kubelet/pod
imports k8s.io/kubernetes/pkg/client/clientset_generated/clientset
imports k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/apps/v1beta1
imports k8s.io/kubernetes/pkg/client/restclient
2016-12-21 16:34:24 -08:00
Dawn Chen
53931fbce4
assign -998 as the oom_score_adj for critical pods.
2016-12-21 16:07:49 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Random-Liu
2141e230a6
Add oom score adj in new CRI implementation.
2016-09-26 11:39:02 -07:00
Vish Kannan
a1fe3adbc7
Revert "Revert "[kubelet] Fix oom-score-adj policy in kubelet""
2016-09-16 16:32:58 -07:00
Vish Kannan
492ca3bc9c
Revert "[kubelet] Fix oom-score-adj policy in kubelet"
2016-09-15 19:28:59 -07:00
Vishnu kannan
e4acad7afb
Fix oom-score-adj policy in kubelet.
...
Docker daemon and kubelet needs to be protected by setting oom-score-adj to -999.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-14 11:56:10 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Buddha Prakash
4acb64f8bd
Make Qos naming consistent across the codebase
2016-06-26 16:19:47 -07:00
Buddha Prakash
c3551ae6cd
Refactor qos package
...
Signed-off-by: Buddha Prakash <buddhap@google.com>
2016-06-24 15:36:04 -07:00
Vishnu kannan
f884180deb
Update kubelet to use per-pod QoS policy.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-20 11:52:17 -07:00
Vishnu kannan
f48c83600c
Updating QoS policy to be per-pod instead of per-resource.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-20 11:52:16 -07:00