From a459adaed5d9ef8963cae619299a11b1c143265c Mon Sep 17 00:00:00 2001 From: Ravi Gadde Date: Fri, 16 Jun 2017 16:18:30 -0700 Subject: [PATCH] Added back multiple extenders --- contributors/design-proposals/scheduler_extender.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contributors/design-proposals/scheduler_extender.md b/contributors/design-proposals/scheduler_extender.md index b42726643..d944f2d56 100644 --- a/contributors/design-proposals/scheduler_extender.md +++ b/contributors/design-proposals/scheduler_extender.md @@ -45,7 +45,7 @@ type ExtenderConfig struct { // TLSConfig specifies the transport layer security config TLSConfig *client.TLSClientConfig `json:"tlsConfig,omitempty"` // HTTPTimeout specifies the timeout duration for a call to the extender. Filter timeout fails the scheduling of the pod. Prioritize - // timeout is ignored, k8s priorities are used to select the node. + // timeout is ignored, k8s/other extenders priorities are used to select the node. HTTPTimeout time.Duration `json:"httpTimeout,omitempty"` } ``` @@ -71,12 +71,13 @@ A sample scheduler policy file with extender configuration: "weight": 1 } ], - "extender": + "extenders": [ { "urlPrefix": "http://127.0.0.1:12345/api/scheduler", "filterVerb": "filter", "enableHttps": false } + ] } ```