Skip to content

Commit

Permalink
Merge pull request #2347 from qiankunli/feature/node-group-doc
Browse files Browse the repository at this point in the history
add details for nodegroup doc
  • Loading branch information
volcano-sh-bot authored Jul 13, 2022
2 parents 292e760 + 5cefd2c commit 729dca1
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 729dca1

Please sign in to comment.