Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add details for nodegroup doc #2347

Merged
merged 1 commit into from
Jul 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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