Skip to content

Commit 3693d03

Browse files
committed
update scheduler README
1 parent 5be2cfa commit 3693d03

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cloud/scheduler/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ value(example): node[0-9]+
2828
Score plugins score the nodes based on resource etc. So that we can run qemus on the most appropriate Proxmox node.
2929

3030
- [NodeResource plugin](./plugins/noderesource/node_resrouce.go) (nodes with more resources have higher scores)
31-
- [Random plugin](./plugins/random/random.go) (just a reference implementation of score plugin)
31+
- [Random plugin](./plugins/random/random.go) (diabled by default. just a reference implementation of score plugin)
3232

3333
## How to specify vmid
3434
qemu-scheduler reads context and find key registerd to scheduler. If the context has any value of the registerd key, qemu-scheduler uses the plugin that matchies the key.
@@ -84,12 +84,12 @@ By default, all the plugins are enabled. You can disable specific plugins via pl
8484
# example plugin-config.yaml
8585

8686
# plugin type name (scores, filters, vmids)
87-
scores:
88-
- Random:
89-
enable: false # disable
9087
filters:
91-
- CPUOvercommit:
92-
enable: false # disable
93-
- MemoryOvercommit:
94-
enable: true # enable (can be omitted)
88+
CPUOvercommit:
89+
enable: false # disable
90+
MemoryOvercommit:
91+
enable: true # enable (can be omitted)
92+
vmids:
93+
Regex:
94+
enable: false # disable
9595
```

0 commit comments

Comments
 (0)