Review comments 2

Signed-off-by: Aldo Culquicondor <acondor@google.com>
This commit is contained in:
Aldo Culquicondor
2020-07-07 10:41:45 -04:00
parent 34c3537a72
commit 9ed3f427a2
+11 -4
View File
@@ -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
@@ -85,7 +85,7 @@ profiles:
weight: 1 weight: 1
``` ```
You can use `*` as name in the disabled array to disable all default plugins You can use `*` as name in the disabled array to disable all default plugins
for that extension point. This can also be used to rearrange plugins order, if for that extension point. This can also be used to rearrange plugins order, if
desired. desired.
@@ -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: '*'