You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Standards/scs-0214-w1-k8s-node-distribution-implementation-testing.md
+5-15Lines changed: 5 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,25 +16,15 @@ Worker nodes can also be distributed over "failure zones", but this isn't a requ
16
16
Distribution must be shown through labelling, so that users can access these information.
17
17
18
18
Node distribution metadata is provided through the usage of the labels
19
-
`topology.kubernetes.io/region`, `topology.kubernetes.io/zone` and
20
-
`topology.scs.community/host-id` respectively.
21
-
22
-
At the moment, not all labels are set automatically by most K8s cluster utilities, which incurs
23
-
additional setup and maintenance costs.
19
+
`topology.kubernetes.io/region` and `topology.kubernetes.io/zone`.
24
20
25
21
## Automated tests
26
22
27
-
### Notes
28
-
29
-
The test for the [SCS K8s Node Distribution and Availability](https://github.com/SovereignCloudStack/standards/blob/main/Standards/scs-0214-v2-k8s-node-distribution.md)
30
-
checks if control-plane nodes are distributed over different failure zones (distributed into
31
-
physical machines, zones and regions) by observing their labels defined by the standard.
32
-
33
-
### Implementation
23
+
Currently, automated testing is not readily possible because we cannot access information about
24
+
the underlying host of a node (as opposed to its region and zone). Therefore, the test will only output
25
+
a tentative result.
34
26
35
-
The script [`k8s_node_distribution_check.py`](https://github.com/SovereignCloudStack/standards/blob/main/Tests/kaas/k8s-node-distribution/k8s_node_distribution_check.py)
36
-
connects to an existing K8s cluster and checks if a distribution can be detected with the labels
37
-
set for the nodes of this cluster.
27
+
The current implementation can be found in the script [`k8s_node_distribution_check.py`](https://github.com/SovereignCloudStack/standards/blob/main/Tests/kaas/k8s-node-distribution/k8s_node_distribution_check.py).
0 commit comments