mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
Issues: Edit suggested in file nodes/scheduling/nodes-scheduler-default.adoc
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
fdc7966ea6
commit
f2e05c4fcf
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user