-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcluster_v1_networklink.yaml
84 lines (84 loc) · 1.82 KB
/
cluster_v1_networklink.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# This example contains network links for a cluster of four nodes.
# The corresponding node topology graph looks like this:
#
# kind-control-plane
# / \
# / \
# / \
# kind-worker kind-worker-2
# \ /
# \ /
# \ /
# kind-worker-3
#
apiVersion: cluster.k8s.rainbow-h2020.eu/v1
kind: NetworkLink
metadata:
name: kind-control-plane-to-kind-worker
spec:
nodeA: kind-control-plane
nodeB: kind-worker
qos:
qualityClass: QC1Gbps
throughput:
bandwidthKbps: 1000000
bandwidthVariance: 0
latency:
packetDelayMsec: 2
packetDelayVariance: 0
packetLoss:
packetLossBp: 0
---
apiVersion: cluster.k8s.rainbow-h2020.eu/v1
kind: NetworkLink
metadata:
name: kind-control-plane-to-kind-worker2
spec:
nodeA: kind-control-plane
nodeB: kind-worker2
qos:
qualityClass: QC1Mbps
throughput:
bandwidthKbps: 1000
bandwidthVariance: 0
latency:
packetDelayMsec: 10
packetDelayVariance: 0
packetLoss:
packetLossBp: 10
---
apiVersion: cluster.k8s.rainbow-h2020.eu/v1
kind: NetworkLink
metadata:
name: kind-worker1-to-kind-worker3
spec:
nodeA: kind-worker1
nodeB: kind-worker3
qos:
qualityClass: QC10Mbps
throughput:
bandwidthKbps: 10000
bandwidthVariance: 0
latency:
packetDelayMsec: 20
packetDelayVariance: 0
packetLoss:
packetLossBp: 0
---
apiVersion: cluster.k8s.rainbow-h2020.eu/v1
kind: NetworkLink
metadata:
name: kind-worker2-to-kind-worker3
spec:
nodeA: kind-worker2
nodeB: kind-worker3
qos:
qualityClass: QC10Mbps
throughput:
bandwidthKbps: 10000
bandwidthVariance: 0
latency:
packetDelayMsec: 10
packetDelayVariance: 0
packetLoss:
packetLossBp: 0