Skip to content

Commit 49985f6

Browse files
committedOct 9, 2022
fix broken path, and nit typo
1 parent 3d23a3c commit 49985f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Overview
44
Crane-scheduler is a collection of scheduler plugins based on [scheduler framework](https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/), including:
55

6-
- [Dynamic scheuler: a load-aware scheduler plugin](doc/dynamic-scheduler.md)
6+
- [Dynamic scheduler: a load-aware scheduler plugin](doc/dynamic-scheduler.md)
77
## Get Started
88
### 1. Install Prometheus
99
Make sure your kubernetes cluster has Prometheus installed. If not, please refer to [Install Prometheus](https://github.com/gocrane/fadvisor/blob/main/README.md#prerequests).

‎doc/dynamic-scheduler.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ As shown above, Dynamic scheduler relies on `Prometheus` and `Node-exporter` to
1717
- `Dynamic plugin` reads the load data directly from the node's annotation, filters and scores candidates based on a simple algorithm.
1818

1919
### Scheduler Policy
20-
Dynamic provides a default [scheduler policy](../deploy/manifests/policy.yaml) and supports user-defined policies. The default policy reies on following metrics:
20+
Dynamic provides a default [scheduler policy](../deploy/manifests/dynamic/policy.yaml) and supports user-defined policies. The default policy reies on following metrics:
2121
- `cpu_usage_avg_5m`
2222
- `cpu_usage_max_avg_1h`
2323
- `cpu_usage_max_avg_1d`
2424
- `mem_usage_avg_5m`
2525
- `mem_usage_max_avg_1h`
2626
- `mem_usage_max_avg_1d`
2727

28-
At the scheduling `Filter` stage, the node will be filtered if the actual usage rate of this node is greater than the threshold of any of the above metrics. And at the `Score` stage, the final score is the weighted sum of these metrics' values.
28+
At the scheduling `Filter` stage, the node will be filtered if the actual usage rate of this node is greater than the threshold of any the above metrics. And at the `Score` stage, the final score is the weighted sum of these metrics' values.
2929

3030
### Hot Value
3131
In the production cluster, scheduling hotspots may occur frequently because the load of the nodes can not increase immediately after the pod is created. Therefore, we define an extra metrics named `Hot Value`, which represents the scheduling frequency of the node in recent times. And the final priority of the node is the final score minus the `Hot Value`.

0 commit comments

Comments
 (0)
Please sign in to comment.