Skip to content

Commit

Permalink
add details
Browse files Browse the repository at this point in the history
Signed-off-by: qiankunli <[email protected]>
  • Loading branch information
qiankunli committed Jul 13, 2022
1 parent 292e760 commit 5cefd2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/design/node-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ case2: recommend queue can use private cloud nodes or public cloud nodes, but tt

## Solution

1. First, we need mark out some nodes(by add specific label for nodes) which are the same group.
1. First, we need mark out some nodes(add `volcano.sh/nodegroup-name` labels) which are the same group.
2. Second, we need to express the relationship between queue and nodegroup, such as affinity and anti-affinity, so I add the `queue.spec.affinity` field in Queue.
```yaml
apiVersion: scheduling.volcano.sh/v1beta1
Expand All @@ -27,13 +27,13 @@ case2: recommend queue can use private cloud nodes or public cloud nodes, but tt
requiredDuringSchedulingIgnoredDuringExecution:
- groupname1
- gropuname2
preferredDuringSchedulingIgnoredDuringExecution
preferredDuringSchedulingIgnoredDuringExecution:
- groupname1
nodeGroupAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- groupname3
- gropuname4
preferredDuringSchedulingIgnoredDuringExecution
preferredDuringSchedulingIgnoredDuringExecution:
- groupname3
```
Expand Down

0 comments on commit 5cefd2c

Please sign in to comment.