Scheduler Policy File: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Kubernetes Concepts =Overview= =Example= <pre> { "kind" : "Policy", "version" : "v1", "predicates" : [ {"na...") |
|||
Line 9: | Line 9: | ||
<pre> | <pre> | ||
{ | { | ||
"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} | |||
] | |||
} | } | ||
</pre> | </pre> |
Revision as of 01:25, 10 May 2017
Internal
Overview
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} ] }