Scheduler Policy File: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
The default scheduler policy file: {{Internal|/etc/origin/master/scheduler.json|/etc/origin/master/scheduler.json}} | |||
=Example= | =Example= |
Revision as of 01:45, 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} ] }