Unverified Commit 9ba018e5 authored by zsnmwy's avatar zsnmwy
Browse files

fix(docs): fix images display - dynamic-scheduler-plugin.png && fix list

Showing with 6 additions and 2 deletions
+6 -2
......@@ -2,22 +2,26 @@
## Introduction
Native scheduler of kubernetes can only schedule pods by resource request, which can easily cause a series of load uneven problems:
- for some nodes, the actual load is not much different from the resource request, which will lead to a very high probability of stability problems.
- for others, the actual load is much smaller than the resource request, which will lead to a huge waste of resources.
To solve these problems, Dynamic scheduler builds a simple but efficient model based on actual node utilization data,and filters out those nodes with high load to balance the cluster.
## Design Details
### Architecture
<img src="./../images/dynamic-scheduler-plugin.png" div align=“center” width="600" height="350"/>
![](./../images/dynamic-scheduler-plugin.png)
As shown above, Dynamic scheduler relies on `Prometheus` and `Node-exporter` to collect and aggregate metrics data, and it consists of two components:
!!! note "Note"
`Node-annotator` is currently a module of `Crane-scheduler-controller`.
- `Node-annotator` periodically pulls data from Prometheus and marks them with timestamp on the node in the form of annotations.
>**Note:** `Node-annotator` is currently a module of `Crane-scheduler-controller`.
- `Dynamic plugin` reads the load data directly from the node's annotation, filters and scores candidates based on a simple algorithm.
### Scheduler Policy
Dynamic provides a default [scheduler policy](../deploy/manifests/policy.yaml) and supports user-defined policies. The default policy reies on following metrics:
- `cpu_usage_avg_5m`
- `cpu_usage_max_avg_1h`
- `cpu_usage_max_avg_1d`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment