Skip to content

Commit

Permalink
Merge pull request kubernetes#205 from resouer/preemption
Browse files Browse the repository at this point in the history
Add preempt verb for scheduler
  • Loading branch information
k8s-ci-robot authored Apr 9, 2018
2 parents 59bc6cd + 07c7db0 commit 9e7cedb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions scheduler/scheduler-policy-config-with-extender.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"kind" : "Policy",
"apiVersion" : "v1",
"predicates" : [
{"name" : "PodFitsHostPorts"},
{"name" : "PodFitsResources"},
{"name" : "NoDiskConflict"},
{"name" : "MatchNodeSelector"},
{"name" : "HostName"}
],
"priorities" : [
{"name" : "LeastRequestedPriority", "weight" : 1},
{"name" : "BalancedResourceAllocation", "weight" : 1},
{"name" : "ServiceSpreadingPriority", "weight" : 1},
{"name" : "EqualPriority", "weight" : 1}
],
"extenders" : [
{
"urlPrefix": "http://127.0.0.1:12346/scheduler",
"filterVerb": "filter",
"bindVerb": "bind",
"prioritizeVerb": "prioritize",
"preemptVerb": "preempt",
"weight": 5,
"enableHttps": false,
"nodeCacheCapable": false
}
],
"hardPodAffinitySymmetricWeight" : 10,
"alwaysCheckAllPredicates" : false
}

0 comments on commit 9e7cedb

Please sign in to comment.