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: contributors/devel/sig-architecture/conformance-tests.md
+75-12Lines changed: 75 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,21 +68,21 @@ Examples of features which are not currently eligible for conformance tests:
68
68
- anything that requires a non-default admission plugin
69
69
- features that are pending deprecation, eg: componentstatus
70
70
71
-
Conformance tests are intended to be stable and backwards compatible according to
72
-
the standard API deprecation policies. Therefore any test that relies on specific
73
-
output that is not subject to the deprecation policy cannot be promoted to conformance.
71
+
Conformance tests are intended to be stable and backwards compatible according to
72
+
the standard API deprecation policies. Therefore any test that relies on specific
73
+
output that is not subject to the deprecation policy cannot be promoted to conformance.
74
74
Examples of tests which are not eligible to conformance:
75
75
- anything that checks specific Events are generated, as we make no guarantees
76
76
about the contents of events, nor their delivery
77
-
- If a test depends on events it is recommended to change the test to
77
+
- If a test depends on events it is recommended to change the test to
78
78
use an informer pattern and watch specific resource changes instead.
79
-
- An exception to this is tests that generates synthetic events themselves
79
+
- An exception to this is tests that generates synthetic events themselves
80
80
to verify that the API is capable of being exercised
81
81
- anything that checks optional Condition fields, such as Reason or Message, as
82
82
these may change over time (however it is reasonable to verify these fields
83
83
exist or are non-empty)
84
-
- If the test is checking for specific conditions or reasons, it is considered
85
-
overly specific and it is recommended to simply look for pass/failure criteria
84
+
- If the test is checking for specific conditions or reasons, it is considered
85
+
overly specific and it is recommended to simply look for pass/failure criteria
86
86
where possible, and output the condition/reason for debugging purposes only.
87
87
88
88
Examples of areas we may want to relax these requirements once we have a
@@ -105,7 +105,7 @@ Generally speaking, the goals are to:
105
105
106
106
- Make sure tests that are already passing remain passing. If new OS-specific
107
107
functionality is added, it should be in a new test.
108
-
- Ensure that new tests covering Linux-specific functionality are tagged with `[LinuxOnly]`
108
+
- Ensure that new tests covering Linux-specific functionality are tagged with `[LinuxOnly]`
109
109
(see: [Kinds of Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/e2e-tests.md#kinds-of-tests),
110
110
- Give future reviewers a reference to an active issue or documentation clarifying why a test
111
111
cannot run on Windows.
@@ -116,7 +116,7 @@ The tests that are running today:
116
116
including Windows versions, or have been ported by SIG-Windows
117
117
(see [kubernetes-sigs/windows-testing/images](https://github.com/kubernetes-sigs/windows-testing/tree/master/images)
118
118
- Do not depend on any functionality that is different or not available on Windows. The full list
119
-
is available in the Windows Kubernetes docs under [api](https://kubernetes.io/docs/setup/windows/intro-windows-in-kubernetes/#api).
119
+
is available in the Windows Kubernetes docs under [api](https://kubernetes.io/docs/setup/windows/intro-windows-in-kubernetes/#api).
120
120
A brief summary is included here as a starting point. If the docs are insufficient
121
121
or there are more questions, please contact #SIG-Windows on Slack to get another
122
122
reviewer.
@@ -139,13 +139,13 @@ implicitly by Docker or ContainerD, not by the kubelet. Do not check properties
139
139
- Networking
140
140
- Pods set `HostNetwork=true`. Is not supported on Windows, and the Pod will not start.
141
141
- Network and DNS settings must be passed through CNI. Windows does not use `/etc/resolv.conf`, so tests should not rely on reading that file to check DNS settings.
142
-
- If you to check network settings such as dns search lists, please use [agnhost](https://github.com/kubernetes/kubernetes/tree/master/test/images/agnhost) to output needed data from the container.
142
+
- If you to check network settings such as dns search lists, please use [agnhost](https://github.com/kubernetes/kubernetes/tree/master/test/images/agnhost) to output needed data from the container.
143
143
- Windows treats all DNS lookups with a `.` to be FQDN, not PQDN. For example `kubernetes` will resolve as a PQDN,
144
144
but `kubernetes.default` will be resolved as a FQDN and fail.
145
145
- ICMP only works between pods on the same network, and are not routable to external networks. TCP/UDP are routable.
146
146
- Windows containers do not support IPv6.
147
147
148
-
The existing tests which are affected by one of those criteria are tagged with `[LinuxOnly]`
148
+
The existing tests which are affected by one of those criteria are tagged with `[LinuxOnly]`
149
149
(see: [Kinds of Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/e2e-tests.md#kinds-of-tests).
150
150
151
151
## Conformance Test Version Skew Policy
@@ -169,7 +169,7 @@ with the following versions must pass conformance tests built from the
0 commit comments