Review comments 2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
@@ -28,12 +28,12 @@ clientConnection:
|
|||||||
|
|
||||||
A scheduling Profile allows you to configure the different stages of scheduling
|
A scheduling Profile allows you to configure the different stages of scheduling
|
||||||
in the {{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}}.
|
in the {{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}}.
|
||||||
Each stage is exposed in a [extension point](#extension-points).
|
Each stage is exposed in an [extension point](#extension-points).
|
||||||
[Plugins](#scheduling-plugins) provide scheduling behaviors by implementing one
|
[Plugins](#scheduling-plugins) provide scheduling behaviors by implementing one
|
||||||
or more of these extension points.
|
or more of these extension points.
|
||||||
|
|
||||||
You can configure a single instance of `kube-scheduler` to run
|
You can configure a single instance of `kube-scheduler` to run
|
||||||
[multiple profiles](#multiple-profiles)
|
[multiple profiles](#multiple-profiles).
|
||||||
|
|
||||||
### Extension points
|
### Extension points
|
||||||
|
|
||||||
@@ -186,7 +186,11 @@ that are not enabled by default:
|
|||||||
|
|
||||||
You can configure `kube-scheduler` to run more than one profile.
|
You can configure `kube-scheduler` to run more than one profile.
|
||||||
Each profile has an associated scheduler name and can have a different set of
|
Each profile has an associated scheduler name and can have a different set of
|
||||||
plugins configured in its [extension points](#extension-points). For example:
|
plugins configured in its [extension points](#extension-points).
|
||||||
|
|
||||||
|
With the following sample configuration, the scheduler will run with two
|
||||||
|
profiles: one with the default plugins and one with all scoring plugins
|
||||||
|
disabled.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
||||||
@@ -195,6 +199,9 @@ profiles:
|
|||||||
- schedulerName: default-scheduler
|
- schedulerName: default-scheduler
|
||||||
- schedulerName: no-scoring-scheduler
|
- schedulerName: no-scoring-scheduler
|
||||||
plugins:
|
plugins:
|
||||||
|
prescore:
|
||||||
|
disabled:
|
||||||
|
- name: '*'
|
||||||
score:
|
score:
|
||||||
disabled:
|
disabled:
|
||||||
- name: '*'
|
- name: '*'
|
||||||
|
|||||||
Reference in New Issue
Block a user