Skip to content

Commit 8f9bfda

Browse files
update
Signed-off-by: LiZhenCheng9527 <[email protected]>
1 parent 6ba63d4 commit 8f9bfda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/proposal/network-topology.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ spec:
127127
name: task
128128
labelSelector:
129129
modelserving.volcano.sh/name: sample
130-
modelserving.volcano.sh/role: prefill
130+
modelserving.volcano.sh/role: gang-example
131131
matchLabelKeys:
132-
modelserving.volcano.sh/role-id
132+
- modelserving.volcano.sh/role-id
133133
networkTopology:
134134
mode: hard
135135
highestTierAllowed: 1
@@ -142,7 +142,7 @@ A `subGroupPolicy` has been added to the `podGroup` to ensure task-level gang sc
142142
- `matchLabelKeys`: The label key used to match pods.
143143
- `networkTopology`: The network topology of a subGroup.
144144

145-
This YAML specifies that the PodGroup requires six pods to be deployed together, and all six pods must be scheduled on nodes with a maximum network topology distance of 2. Among these, the six pods are divided into two subGroups of three based on the value of the `volcano.sh/task-subgroup-id` label, and each group must be strictly scheduled on nodes with a network topology distance of 1.
145+
This YAML specifies that the PodGroup requires six pods to be deployed together, and all six pods must be scheduled on nodes with a maximum network topology distance of 2. Among these, the six pods are divided into two subGroups of three based on the value of the `modelserving.volcano.sh/role-id` label, and each group must be strictly scheduled on nodes with a network topology distance of 1.
146146

147147
**Note:** You can refer to [network topology](https://volcano.sh/en/docs/network_topology_aware_scheduling/) know more about network topology details.
148148

@@ -174,9 +174,9 @@ spec:
174174
- name: network-topology
175175
labelSelector:
176176
modelserving.volcano.sh/name: sample
177-
modelserving.volcano.sh/role: prefill
177+
modelserving.volcano.sh/role: gang-example
178178
matchLabelKeys:
179-
modelserving.volcano.sh/role-id
179+
- modelserving.volcano.sh/role-id
180180
networkTopology:
181181
mode: hard
182182
highestTierAllowed: 1

0 commit comments

Comments
 (0)