Skip to content

Commit 913c832

Browse files
committed
update example for reserved network types
1 parent c9f2407 commit 913c832

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

keps/sig-network/4962-network-topology-standard/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -252,31 +252,37 @@ The scheduler will prioritize switches according to the order outlined above, pr
252252

253253
If provided, Network QoS Annotations can be used to refine and enhance the details of link performance, enabling more precise scheduling decisions.
254254

255-
#### Example of Network Topology Labels with reserved network types:
255+
#### Example of network topology representation with reserved network types:
256256

257+
Consider the following network topology:
258+
259+
![Netwotk topology with reserved network types](./img/topo-reserved-labels.png)
260+
261+
Let's examine node `vm12` as an example. This node is connected to NVSwitch `nvl10` and network switch `sw11`, which in turn is connected to switches `sw21` and `sw31`.
262+
In this case, the node labels would be:
257263
```
258-
network.topology.kubernetes.io/accelerator: nvl72-a
259-
network.topology.kubernetes.io/block: block-b
260-
network.topology.kubernetes.io/datacenter: dc-c
261-
network.topology.kubernetes.io/zone: zone-d
264+
network.topology.kubernetes.io/accelerator: nvl10
265+
network.topology.kubernetes.io/block: sw11
266+
network.topology.kubernetes.io/datacenter: sw21
267+
network.topology.kubernetes.io/zone: sw31
262268
```
263269

264-
#### Example of Network QoS Annotations that complements the example above:
270+
If we have additional information such as latency and/or bandwidth between the node and the switches, it can be provided in an annotation:
265271
```
266272
network.qos.kubernetes.io/switches: {
267-
"nvl72-a": {
273+
"nvl10": {
268274
"latency": "2us",
269275
"bandwidth": "100Gbps"
270276
},
271-
"block-b": {
277+
"sw11": {
272278
"latency": "50us",
273279
"bandwidth": "40Gbps"
274280
},
275-
"dc-c": {
281+
"sw21": {
276282
"latency": "500us",
277283
"bandwidth": "20Gbps"
278284
},
279-
"zone-d": {
285+
"sw31": {
280286
"latency": "1ms",
281287
"bandwidth": "10Gbps"
282288
}
Loading

0 commit comments

Comments
 (0)