Scheduler Policy File: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[ | * [[OpenShift_Concepts#Scheduler_Policy_File|OpenShift Concepts]] | ||
=Overview= | =Overview= | ||
The default scheduler policy file: {{Internal|/etc/origin/master/scheduler.json|/etc/origin/master/scheduler.json}} | |||
=Example= | =Example= |
Latest revision as of 01:46, 6 July 2017
Internal
Overview
The default scheduler policy file:
Example
{ "kind" : "Policy", "version" : "v1", "predicates" : [ {"name" : "PodFitsPorts"}, {"name" : "PodFitsResources"}, {"name" : "NoDiskConflict"}, {"name" : "MatchNodeSelector"}, {"name" : "HostName"} ], "priorities" : [ {"name" : "LeastRequestedPriority", "weight" : 1}, {"name" : "BalancedResourceAllocation", "weight" : 1}, {"name" : "ServiceSpreadingPriority", "weight" : 1} ] }