Added back multiple extenders
This commit is contained in:
parent
67add52f8a
commit
a459adaed5
|
|
@ -45,7 +45,7 @@ type ExtenderConfig struct {
|
||||||
// TLSConfig specifies the transport layer security config
|
// TLSConfig specifies the transport layer security config
|
||||||
TLSConfig *client.TLSClientConfig `json:"tlsConfig,omitempty"`
|
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
|
// 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"`
|
HTTPTimeout time.Duration `json:"httpTimeout,omitempty"`
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -71,12 +71,13 @@ A sample scheduler policy file with extender configuration:
|
||||||
"weight": 1
|
"weight": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"extender":
|
"extenders": [
|
||||||
{
|
{
|
||||||
"urlPrefix": "http://127.0.0.1:12345/api/scheduler",
|
"urlPrefix": "http://127.0.0.1:12345/api/scheduler",
|
||||||
"filterVerb": "filter",
|
"filterVerb": "filter",
|
||||||
"enableHttps": false
|
"enableHttps": false
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue