Skip to content

Commit

Permalink
Optimize capacity-scheduler.md document description.
Browse files Browse the repository at this point in the history
Signed-off-by: wongearl <[email protected]>
  • Loading branch information
wongearl committed Jan 11, 2023
1 parent 4ee3e1d commit 2f10009
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/manual/capacity-scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

carina-scheduler can scheduling pods based on usage and capacity of nodes' disks.

```json
```yaml
config.json: |-
{
"diskScanInterval": "300", # disk scan intervals in seconds. Zero will disable scanning.
Expand Down
4 changes: 2 additions & 2 deletions docs/manual_zh/capacity-scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ carina-scheduler实现了基于磁盘capacity容量的调度

配置文件

```json
```yaml
config.json: |-
{
"diskScanInterval": "300", # 300s 磁盘扫描间隔,0表示关闭本地磁盘扫描
Expand All @@ -19,4 +19,4 @@ carina-scheduler实现了基于磁盘capacity容量的调度
- `schedulerStrategy`在`storageclass volumeBindingMode:WaitForFirstConsumer`模式pvc受pod调度影响,它影响的只是调度策略评分,这个评分可以通过自定义调度器日志查看`kubectl logs -f carina-scheduler-6cc9cddb4b-jdt68 -n kube-system`
- 当多个节点磁盘容量大于请求容量10倍,则这些节点的调度评分是相同的

备注:carina存在`admissionregistration`会将所有使用carina提供存储卷的POD,调度器更改该carina-scheduler
备注:carina存在`admissionregistration`,会将所有使用carina提供存储卷的POD的调度器更改为carina-scheduler

0 comments on commit 2f10009

Please sign in to comment.