From f2e05c4fcf72826cc2b3bfbb29477e882512cd2e Mon Sep 17 00:00:00 2001 From: Michael Burke Date: Fri, 28 Feb 2020 13:51:49 -0500 Subject: [PATCH] Issues: Edit suggested in file nodes/scheduling/nodes-scheduler-default.adoc --- modules/nodes-scheduler-default-modifying.adoc | 8 ++++---- modules/nodes-scheduler-default-predicates.adoc | 4 ++-- modules/nodes-scheduler-default-priorities.adoc | 6 ++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/modules/nodes-scheduler-default-modifying.adoc b/modules/nodes-scheduler-default-modifying.adoc index 3f244e0892..776d5fa2d7 100644 --- a/modules/nodes-scheduler-default-modifying.adoc +++ b/modules/nodes-scheduler-default-modifying.adoc @@ -13,7 +13,7 @@ Add and remove predicates and priorities to the ConfigMap to create a _scheduler .Procedure -To modify the current custom schedluling: +To modify the current custom schedluling, use one of the following methods: * Edit the scheduler policy ConfigMap: + @@ -64,10 +64,10 @@ data: kind: ConfigMap metadata: creationTimestamp: "2019-09-17T17:44:19Z" - name: policy-configmap - namespace: openshift-kube-scheduler + name: scheduler-policy + namespace: openshift-config resourceVersion: "15370" - selfLink: /api/v1/namespaces/openshift-kube-scheduler/configmaps/policy-configmap + selfLink: /api/v1/namespaces/openshift-config/configmaps/scheduler-policy ---- <1> Add or remove predicates as needed. <2> Add, remove, or change the weight of predicates as needed. diff --git a/modules/nodes-scheduler-default-predicates.adoc b/modules/nodes-scheduler-default-predicates.adoc index 9f7ca5ed84..c84e15fbc1 100644 --- a/modules/nodes-scheduler-default-predicates.adoc +++ b/modules/nodes-scheduler-default-predicates.adoc @@ -166,8 +166,8 @@ defined in the pod. // per sjenning Nope -You can configure these predicates in the scheduler policy Configmap, -`policy-configmap` in the `openshift-config` project, to add labels to affect +You can configure these predicates in the scheduler policy Configmap +in the `openshift-config` project, to add labels to affect how the predicate functions. Since these are configurable, multiple predicates diff --git a/modules/nodes-scheduler-default-priorities.adoc b/modules/nodes-scheduler-default-priorities.adoc index 65dcf5da27..e0cdd9f42d 100644 --- a/modules/nodes-scheduler-default-priorities.adoc +++ b/modules/nodes-scheduler-default-priorities.adoc @@ -19,8 +19,7 @@ can be given to each in order to impact the prioritization. Static priorities do not take any configuration parameters from the user, except weight. A weight is required to be specified and cannot be 0 or negative. -These are specified in the scheduler policy Configmap, -`policy-configmap` in the `openshift-config` project. +These are specified in the scheduler policy Configmap in the `openshift-config` project. [id="default-priorities_{context}"] === Default Priorities @@ -108,8 +107,7 @@ belonging to the same service onto the same machine. == Configurable Priorities You can configure these priorities in the scheduler policy Configmap, -`policy-configmap` in the `openshift-config` project, to add labels to affect -how the priorities. +in the `openshift-config` project, to add labels to affect how the priorities. The type of the priority function is identified by the argument that they take. Since these are