Kubernetes Submit Queue 
							
						 
					 
					
						
						
							
						
						3ec7487c0f 
					 
					
						
						
							
							Merge pull request  #55263  from anfernee/refactor_reduce  
						
						 
						
						... 
						
						
						
						Automatic merge from submit-queue (batch tested with PRs 55254, 55525, 50108, 54674, 55263). 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>.
Refactor Priority Reduce functions
- Reducing the duplicated reduce function by introducing a reduce
  function generator that generates common reduce functions.
- Remove logs from reduce function, so it's purely calculating scores.
- Optimize the reduce functions by removing unnecessary conversion to
  float64.
**Release note**:
```release-note
None
``` 
						
						
					 
					
						2017-11-17 13:34:17 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dr. Stefan Schimanski 
							
						 
					 
					
						
						
							
						
						012b085ac8 
					 
					
						
						
							
							pkg/apis/core: mechanical import fixes in dependencies  
						
						 
						
						
						
						
					 
					
						2017-11-09 12:14:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yongkun Anfernee Gui 
							
						 
					 
					
						
						
							
						
						4be6a60df2 
					 
					
						
						
							
							Refactor Priority Reduce functions  
						
						 
						
						... 
						
						
						
						- Reducing the duplicated reduce function by introducing a reduce
  function generator that generates common reduce functions.
- Remove logs from reduce function, so it's purely calculating scores.
- Optimize the reduce functions by removing unnecessary conversion to
  float64. 
						
						
					 
					
						2017-11-08 10:00:23 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sakeven 
							
						 
					 
					
						
						
							
						
						0420c8f048 
					 
					
						
						
							
							[Scheduler] regroup packages  
						
						 
						
						... 
						
						
						
						Signed-off-by: sakeven <jc5930@sina.cn > 
						
						
					 
					
						2017-08-30 11:14:44 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sakeven 
							
						 
					 
					
						
						
							
						
						6aeb77aa6a 
					 
					
						
						
							
							Use const value maxPriority instead of immediate value 10  
						
						 
						
						... 
						
						
						
						Signed-off-by: sakeven <jc5930@sina.cn > 
						
						
					 
					
						2017-07-17 10:33:44 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Timothy St. Clair 
							
						 
					 
					
						
						
							
						
						4aea626944 
					 
					
						
						
							
							Removes alpha feature gate for affinity annotations.  Beta fields should be used.  
						
						 
						
						
						
						
					 
					
						2017-06-23 10:02:14 -05: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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chao Xu 
							
						 
					 
					
						
						
							
						
						d4850b6c2b 
					 
					
						
						
							
							move pkg/api/v1/helpers.go to subpackage  
						
						 
						
						
						
						
					 
					
						2017-04-14 14:25:11 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Timothy St. Clair 
							
						 
					 
					
						
						
							
						
						2bcd63c524 
					 
					
						
						
							
							Cleanup work to enable feature gating annotations  
						
						 
						
						
						
						
					 
					
						2017-02-18 09:25:57 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Robert Rati 
							
						 
					 
					
						
						
							
						
						32c4683242 
					 
					
						
						
							
							Feature-Gate affinity in annotations  
						
						 
						
						
						
						
					 
					
						2017-02-18 09:08:38 -06:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								deads2k 
							
						 
					 
					
						
						
							
						
						6a4d5cd7cc 
					 
					
						
						
							
							start the apimachinery repo  
						
						 
						
						
						
						
					 
					
						2017-01-11 09:09:48 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Robert Rati 
							
						 
					 
					
						
						
							
						
						91931c138e 
					 
					
						
						
							
							[scheduling] Moved node affinity from annotations to api fields.  #35518  
						
						 
						
						
						
						
					 
					
						2016-12-16 11:42:43 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Chao Xu 
							
						 
					 
					
						
						
							
						
						f782aba56e 
					 
					
						
						
							
							plugin/scheduler  
						
						 
						
						
						
						
					 
					
						2016-11-23 15:53:09 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								gmarek 
							
						 
					 
					
						
						
							
						
						3971553298 
					 
					
						
						
							
							Scheduler Reduce function can use nodeNameToNodeInfo map  
						
						 
						
						
						
						
					 
					
						2016-11-03 10:07:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								gmarek 
							
						 
					 
					
						
						
							
						
						c80d308128 
					 
					
						
						
							
							Scheduler Reduce functions can use PriorityMetadata  
						
						 
						
						
						
						
					 
					
						2016-11-02 16:33:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						4ccb27202c 
					 
					
						
						
							
							Migrate priority functions with non-trivial reduce function.  
						
						 
						
						
						
						
					 
					
						2016-09-27 11:27:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						898a6444e3 
					 
					
						
						
							
							Return pointer for Affinity in api helper  
						
						 
						
						
						
						
					 
					
						2016-07-28 16:57:28 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						cab7db3a64 
					 
					
						
						
							
							Use []*api.Node instead of NodeLister in priority functions.  
						
						 
						
						
						
						
					 
					
						2016-07-21 08:21:07 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						d14fe0f269 
					 
					
						
						
							
							Change storeToNodeConditionLister to return []*api.Node instead of api.NodeList for performance  
						
						 
						
						
						
						
					 
					
						2016-07-11 21:02:33 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						d02e8d2885 
					 
					
						
						
							
							Avoid unnecessary conversions  
						
						 
						
						
						
						
					 
					
						2016-07-11 15:41:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						dcb2ca54ad 
					 
					
						
						
							
							Avoid unnecessary copies  
						
						 
						
						
						
						
					 
					
						2016-07-11 15:41:27 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						e8e8e2d086 
					 
					
						
						
							
							Remove unneeded factories  
						
						 
						
						
						
						
					 
					
						2016-07-11 15:41:26 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						6c77c01f24 
					 
					
						
						
							
							Avoid copying nodes in priority functions  
						
						 
						
						
						
						
					 
					
						2016-07-07 14:38:09 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								David McMahon 
							
						 
					 
					
						
						
							
						
						ef0c9f0c5b 
					 
					
						
						
							
							Remove "All rights reserved" from all the headers.  
						
						 
						
						
						
						
					 
					
						2016-06-29 17:47:36 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Clayton Coleman 
							
						 
					 
					
						
						
							
						
						fdb110c859 
					 
					
						
						
							
							Fix the rest of the code  
						
						 
						
						
						
						
					 
					
						2016-04-29 17:12:10 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wojciech Tyczynski 
							
						 
					 
					
						
						
							
						
						a4b3f47347 
					 
					
						
						
							
							Add RC and container pors to scheduler benchmark  
						
						 
						
						
						
						
					 
					
						2016-04-20 15:10:57 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hongchao Deng 
							
						 
					 
					
						
						
							
						
						9236e4a0b4 
					 
					
						
						
							
							scheduler: change fit predicates and priority func as needed for optimization  
						
						 
						
						
						
						
					 
					
						2016-02-09 09:38:28 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kevin 
							
						 
					 
					
						
						
							
						
						c8c82c1d8f 
					 
					
						
						
							
							implement Node affinity and NodeSelector  
						
						 
						
						
						
						
					 
					
						2016-02-04 01:53:14 +00:00