ravisantoshgudimetla 
							
						 
					 
					
						
						
							
						
						e64576af0a 
					 
					
						
						
							
							Only system-node-critical pods should be OOM Killed last  
						
						
						
						
					 
					
						2021-03-03 16:34:27 -05:00 
						 
				 
			
				
					
						
							
							
								Benjamin Elder 
							
						 
					 
					
						
						
							
						
						56e092e382 
					 
					
						
						
							
							hack/update-bazel.sh  
						
						
						
						
					 
					
						2021-02-28 15:17:29 -08:00 
						 
				 
			
				
					
						
							
							
								Kubernetes Prow Robot 
							
						 
					 
					
						
						
							
						
						48329e7d91 
					 
					
						
						
							
							Merge pull request  #71269  from DeliangFan/adjust_oom_score_adj  
						
						... 
						
						
						
						Set the oom_score_adj of guaranteed pod to -997 
						
						
					 
					
						2020-09-21 19:40:47 -07:00 
						 
				 
			
				
					
						
							
							
								DeliangFan 
							
						 
					 
					
						
						
							
						
						0b80c43f76 
					 
					
						
						
							
							Set the oom_score_adj of guaranteed pod to -997  
						
						... 
						
						
						
						When oom happens, the sandbox maybe killed first, so set the oom score of guaranteed pod to -997. 
						
						
					 
					
						2020-07-10 15:13:15 +08:00 
						 
				 
			
				
					
						
							
							
								YuikoTakada 
							
						 
					 
					
						
						
							
						
						a80564dbdd 
					 
					
						
						
							
							Fix non-ascii characters in pkg/kubelet/qos/doc.go  
						
						
						
						
					 
					
						2020-02-19 05:07:26 +00:00 
						 
				 
			
				
					
						
							
							
								mattjmcnaughton 
							
						 
					 
					
						
						
							
						
						73b2d83125 
					 
					
						
						
							
							Refactor docker specific oom const out of qos pkg  
						
						... 
						
						
						
						Previously, `pkg/kubelet/qos` contained two different docker-specific
OOM constants. One set the oom adj for sandbox docker containers and the
other set the oom adj for the docker daemon. Move both to be closer to
their actual usages in `dockershim`.
This change addresses a TODO and leads us towards the overall goal of
making `pkg/kubelet` runtime agnostic except for `dockershim`. 
						
						
					 
					
						2020-01-20 10:22:31 -05:00 
						 
				 
			
				
					
						
							
							
								Mark Janssen 
							
						 
					 
					
						
						
							
						
						e58b4d4324 
					 
					
						
						
							
							Fix golint failures of pkg/kubelet/qos  
						
						
						
						
					 
					
						2019-08-05 15:54:15 +02:00 
						 
				 
			
				
					
						
							
							
								Seth Jennings 
							
						 
					 
					
						
						
							
						
						7dcf1fe5f8 
					 
					
						
						
							
							kubelet: set low oom_score_adj for containers in critical pods  
						
						
						
						
					 
					
						2019-02-05 14:28:36 -06:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						23ceebac22 
					 
					
						
						
							
							Run hack/update-bazel.sh  
						
						
						
						
					 
					
						2018-06-22 16:22:57 -07:00 
						 
				 
			
				
					
						
							
							
								Ryan Hitchman 
							
						 
					 
					
						
						
							
						
						0067002db8 
					 
					
						
						
							
							Make a few code paths compile cleanly with 32-bit Go.  
						
						
						
						
					 
					
						2018-02-27 13:53:32 -08:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						ef56a8d6bb 
					 
					
						
						
							
							Autogenerated: hack/update-bazel.sh  
						
						
						
						
					 
					
						2018-02-16 13:43:01 -08:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						efee0704c6 
					 
					
						
						
							
							Autogenerate BUILD files  
						
						
						
						
					 
					
						2017-12-23 13:12:11 -08:00 
						 
				 
			
				
					
						
							
							
								Dr. Stefan Schimanski 
							
						 
					 
					
						
						
							
						
						bec617f3cc 
					 
					
						
						
							
							Update generated files  
						
						
						
						
					 
					
						2017-11-09 12:14:08 +01:00 
						 
				 
			
				
					
						
							
							
								Dr. Stefan Schimanski 
							
						 
					 
					
						
						
							
						
						012b085ac8 
					 
					
						
						
							
							pkg/apis/core: mechanical import fixes in dependencies  
						
						
						
						
					 
					
						2017-11-09 12:14:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						aee5f457db 
					 
					
						
						
							
							update BUILD files  
						
						
						
						
					 
					
						2017-10-15 18:18:13 -07:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						a7f49c906d 
					 
					
						
						
							
							Use buildozer to delete licenses() rules except under third_party/  
						
						
						
						
					 
					
						2017-08-11 09:32:39 -07:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						33276f06be 
					 
					
						
						
							
							Use buildozer to remove deprecated automanaged tags  
						
						
						
						
					 
					
						2017-08-11 09:31:50 -07:00 
						 
				 
			
				
					
						
							
							
								Chao Xu 
							
						 
					 
					
						
						
							
						
						60604f8818 
					 
					
						
						
							
							run hack/update-all  
						
						
						
						
					 
					
						2017-06-22 11:31:03 -07:00 
						 
				 
			
				
					
						
							
							
								Chao Xu 
							
						 
					 
					
						
						
							
						
						f4989a45a5 
					 
					
						
						
							
							run root-rewrite-v1-..., compile  
						
						
						
						
					 
					
						2017-06-22 10:25:57 -07:00 
						 
				 
			
				
					
						
							
							
								Klaus Ma 
							
						 
					 
					
						
						
							
						
						83b7f77ee2 
					 
					
						
						
							
							Moved qos to api.helpers.  
						
						
						
						
					 
					
						2017-05-20 07:17:57 -04:00 
						 
				 
			
				
					
						
							
							
								ravisantoshgudimetla 
							
						 
					 
					
						
						
							
						
						39403f3aca 
					 
					
						
						
							
							Clean up for qos  
						
						
						
						
					 
					
						2017-04-27 19:06:10 -04:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						a05c3c0efd 
					 
					
						
						
							
							autogenerated  
						
						
						
						
					 
					
						2017-04-14 10:40:57 -07:00 
						 
				 
			
				
					
						
							
							
								Vishnu Kannan 
							
						 
					 
					
						
						
							
						
						c967ab7b99 
					 
					
						
						
							
							Avoid evicting critical pods in Kubelet if a special feature gate is enabled  
						
						... 
						
						
						
						Signed-off-by: Vishnu Kannan <vishnuk@google.com > 
						
						
					 
					
						2017-02-02 11:32:20 -08:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Dr. Stefan Schimanski 
							
						 
					 
					
						
						
							
						
						44ea6b3f30 
					 
					
						
						
							
							Update generated files  
						
						
						
						
					 
					
						2017-01-29 21:41:45 +01:00 
						 
				 
			
				
					
						
							
							
								Dr. Stefan Schimanski 
							
						 
					 
					
						
						
							
						
						bc6fdd925d 
					 
					
						
						
							
							pkg/api/resource: move to apimachinery  
						
						
						
						
					 
					
						2017-01-29 21:41:44 +01:00 
						 
				 
			
				
					
						
							
							
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						9a2a50cda7 
					 
					
						
						
							
							refactor: use metav1.ObjectMeta in other types  
						
						
						
						
					 
					
						2017-01-17 16:17:19 -05:00 
						 
				 
			
				
					
						
							
							
								deads2k 
							
						 
					 
					
						
						
							
						
						6a4d5cd7cc 
					 
					
						
						
							
							start the apimachinery repo  
						
						
						
						
					 
					
						2017-01-11 09:09:48 -05: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 
						 
				 
			
				
					
						
							
							
								Kubernetes Submit Queue 
							
						 
					 
					
						
						
							
						
						65d6a5c6a8 
					 
					
						
						
							
							Merge pull request  #39455  from kubernetes/revert-39306-oom_score_adj  
						
						... 
						
						
						
						Automatic merge from submit-queue (batch tested with PRs 39486, 37288, 39477, 39455, 39542)
Revert "Small improve for GetContainerOOMScoreAdjust"
Reverts kubernetes/kubernetes#39306 
This does not help current code healthy, let's revert it to avoid further confusing. 
						
						
					 
					
						2017-01-10 14:33:17 -08:00 
						 
				 
			
				
					
						
							
							
								Seth Jennings 
							
						 
					 
					
						
						
							
						
						e2402b781b 
					 
					
						
						
							
							set qos class field in pod status  
						
						
						
						
					 
					
						2017-01-10 16:31:52 -06:00 
						 
				 
			
				
					
						
							
							
								Seth Jennings 
							
						 
					 
					
						
						
							
						
						4c30459e49 
					 
					
						
						
							
							switch from local qos types to api types  
						
						
						
						
					 
					
						2017-01-10 10:54:30 -06:00 
						 
				 
			
				
					
						
							
							
								Jeff Grafton 
							
						 
					 
					
						
						
							
						
						20d221f75c 
					 
					
						
						
							
							Enable auto-generating sources rules  
						
						
						
						
					 
					
						2017-01-05 14:14:13 -08:00 
						 
				 
			
				
					
						
							
							
								Harry Zhang 
							
						 
					 
					
						
						
							
						
						9712fe8455 
					 
					
						
						
							
							Revert "Small improve for GetContainerOOMScoreAdjust"  
						
						
						
						
					 
					
						2017-01-05 09:54:11 +08:00 
						 
				 
			
				
					
						
							
							
								Kubernetes Submit Queue 
							
						 
					 
					
						
						
							
						
						2cc9650e7e 
					 
					
						
						
							
							Merge pull request  #39306  from hex108/oom_score_adj  
						
						... 
						
						
						
						Automatic merge from submit-queue (batch tested with PRs 38084, 39306)
Small improve for GetContainerOOMScoreAdjust
In `GetContainerOOMScoreAdjust`, make logic more clear for the case `oomScoreAdjust >= besteffortOOMScoreAdj`. If `besteffortOOMScoreAdj`  is defined to another value(e.g. 996), suppose `oomScoreAdjust` is 999, the function will return 998(which equals 999 - 1) instead of 995(996 -1). 
						
						
					 
					
						2017-01-04 07:18:07 -08:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						161c391f44 
					 
					
						
						
							
							autogenerated  
						
						
						
						
					 
					
						2016-12-29 13:04:10 -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 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						c87de85347 
					 
					
						
						
							
							autoupdate BUILD files  
						
						
						
						
					 
					
						2016-12-12 13:30:07 -08:00 
						 
				 
			
				
					
						
							
							
								Chao Xu 
							
						 
					 
					
						
						
							
						
						bcc783c594 
					 
					
						
						
							
							run hack/update-all.sh  
						
						
						
						
					 
					
						2016-11-23 15:53:09 -08:00 
						 
				 
			
				
					
						
							
							
								Chao Xu 
							
						 
					 
					
						
						
							
						
						5e1adf91df 
					 
					
						
						
							
							cmd/kubelet  
						
						
						
						
					 
					
						2016-11-23 15:53:09 -08:00 
						 
				 
			
				
					
						
							
							
								Mike Danese 
							
						 
					 
					
						
						
							
						
						3b6a067afc 
					 
					
						
						
							
							autogenerated  
						
						
						
						
					 
					
						2016-10-21 17:32:32 -07:00 
						 
				 
			
				
					
						
							
							
								derekwaynecarr 
							
						 
					 
					
						
						
							
						
						aeed9cab5e 
					 
					
						
						
							
							Fix edge case in qos evaluation  
						
						
						
						
					 
					
						2016-10-10 18:46:06 -04:00 
						 
				 
			
				
					
						
							
							
								Random-Liu 
							
						 
					 
					
						
						
							
						
						2141e230a6 
					 
					
						
						
							
							Add oom score adj in new CRI implementation.  
						
						
						
						
					 
					
						2016-09-26 11:39:02 -07:00 
						 
				 
			
				
					
						
							
							
								Vishnu kannan 
							
						 
					 
					
						
						
							
						
						5d4ee244d3 
					 
					
						
						
							
							ignore non first class QoS resources from computing Pod Qos  
						
						... 
						
						
						
						Signed-off-by: Vishnu kannan <vishnuk@google.com > 
						
						
					 
					
						2016-09-20 11:19:31 -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 
						 
				 
			
				
					
						
							
							
								Davanum Srinivas 
							
						 
					 
					
						
						
							
						
						2b0ed014b7 
					 
					
						
						
							
							Use Go canonical import paths  
						
						... 
						
						
						
						Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports 
Fixes  #29014  
						
						
					 
					
						2016-07-16 13:48:21 -04:00