You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kep/594-resourcepolicy/README.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The machines in a Kubernetes cluster are typically heterogeneous, with varying C
29
29
30
30
### Goals
31
31
32
-
1.Delvelop a filter plugin to restrict the resource consumption on each unit for different workloads.
32
+
1.Develop a filter plugin to restrict the resource consumption on each unit for different workloads.
33
33
2. Develop a score plugin to favor nodes matched by a high priority unit.
34
34
3. Automatically setting deletion costs on Pods to control the scaling in sequence of workloads through a controller.
35
35
@@ -110,12 +110,15 @@ and write this information into cycleState.
110
110
Filter check if the node belongs to an available unit. If the node doesn't belong to any unit, we will return
111
111
success if the strategy is `prefer`, otherwise we will return unschedulable.
112
112
113
+
Besides, filter will check if the pods that was scheduled on the unit has already violated the quantity constraint.
114
+
If the number of pods has reach the `maxCount`, all the nodes in unit will be marked unschedulable.
115
+
113
116
##### Score
114
-
If `priority` and `weight` is set in resource policy, we will schedule pod based on `priority` first. For units with the same `priority`, we will spread pods based on `weight`.
117
+
If `priority` is set in resource policy, we will schedule pod based on `priority`. Default priority is 1, and minimum priority is 1.
0 commit comments