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: keps/sig-network/5311-relaxed-validation-for-service-names/README.md
+30-59Lines changed: 30 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ Items marked with (R) are required *prior to targeting to a milestone / release*
105
105
-[ ] (R) Minimum Two Week Window for GA e2e tests to prove flake free
106
106
-[X] (R) Graduation criteria is in place
107
107
-[ ] (R) [all GA Endpoints](https://github.com/kubernetes/community/pull/1806) must be hit by [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
108
-
-[] (R) Production readiness review completed
108
+
-[X] (R) Production readiness review completed
109
109
-[ ] (R) Production readiness review approved
110
110
-[X] "Implementation History" section is up-to-date for milestone
111
111
-[ ] User-facing documentation has been created in [kubernetes/website], for publication to [kubernetes.io]
@@ -192,51 +192,26 @@ Tests which validate Service creation/update and Ingress creation/update to be u
192
192
193
193
##### Integration tests
194
194
195
-
<!--
196
-
Integration tests are contained in https://git.k8s.io/kubernetes/test/integration.
197
-
Integration tests allow control of the configuration parameters used to start the binaries under test.
198
-
This is different from e2e tests which do not allow configuration of parameters.
199
-
Doing this allows testing non-default options and multiple different and potentially conflicting command line options.
200
-
For more details, see https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/testing-strategy.md
201
-
202
-
If integration tests are not necessary or useful, explain why.
203
-
-->
204
-
205
-
<!--
206
-
This question should be filled when targeting a release.
207
-
For Alpha, describe what tests will be added to ensure proper quality of the enhancement.
208
-
209
-
For Beta and GA, document that tests have been written,
210
-
have been executed regularly, and have been stable.
211
-
This can be done with:
212
-
- permalinks to the GitHub source code
213
-
- links to the periodic job (typically https://testgrid.k8s.io/sig-release-master-blocking#integration-master), filtered by the test name
214
-
- a search in the Kubernetes bug triage tool (https://storage.googleapis.com/k8s-triage/index.html)
215
-
-->
195
+
**Alpha:**
216
196
217
197
1. With the feature gate enabled, test that Services can be created with both new and previous validation
218
198
1. With the feature gate disabled, test that Services can be created with the previous validation, and fail when using the new validation
219
199
1. Disable the feature gate and ensure that the Service can be edited without a validation error being returned
220
200
201
+
**Beta:**
202
+
203
+
Tests have been written: https://github.com/kubernetes/kubernetes/blob/v1.34.0/test/integration/service/service_test.go#L1219-L1309
204
+
221
205
##### e2e tests
222
206
223
-
<!--
224
-
This question should be filled when targeting a release.
225
-
For Alpha, describe what tests will be added to ensure proper quality of the enhancement.
226
-
227
-
For Beta and GA, document that tests have been written,
228
-
have been executed regularly, and have been stable.
229
-
This can be done with:
230
-
- permalinks to the GitHub source code
231
-
- links to the periodic job (typically a job owned by the SIG responsible for the feature), filtered by the test name
232
-
- a search in the Kubernetes bug triage tool (https://storage.googleapis.com/k8s-triage/index.html)
233
-
234
-
We expect no non-infra related flakes in the last month as a GA graduation criteria.
235
-
If e2e tests are not necessary or useful, explain why.
236
-
-->
207
+
**Alpha:**
237
208
238
209
- Create a Service that requires the new validation and test if a DNS lookup works for it
239
210
211
+
**Beta:**
212
+
213
+
An e2e exists: https://github.com/kubernetes/kubernetes/blob/v1.34.0/test/e2e/network/dns.go#L659-L686
214
+
240
215
### Graduation Criteria
241
216
242
217
#### Alpha
@@ -255,18 +230,6 @@ If e2e tests are not necessary or useful, explain why.
255
230
256
231
### Upgrade / Downgrade Strategy
257
232
258
-
<!--
259
-
If applicable, how will the component be upgraded and downgraded? Make sure
260
-
this is in the test plan.
261
-
262
-
Consider the following in developing an upgrade/downgrade strategy for this
263
-
enhancement:
264
-
- What changes (in invocations, configurations, API use, etc.) is an existing
265
-
cluster required to make on upgrade, in order to maintain previous behavior?
266
-
- What changes (in invocations, configurations, API use, etc.) is an existing
267
-
cluster required to make on upgrade, in order to make use of the enhancement?
268
-
-->
269
-
270
233
### Version Skew Strategy
271
234
272
235
Not applicable - only a single component is being changed.
@@ -318,18 +281,21 @@ probably need to delete them and recreate them with new names.
318
281
319
282
###### What specific metrics should inform a rollback?
320
283
321
-
There are no metrics that would inform anyone that the feature was
322
-
failing, symptoms may include an increased level of failed Service creation.
323
-
Since the feature is opt-in, individual users can simply
324
-
stop using the feature if it is not working for them.
284
+
The following metrics could indicate that this feature is failing:
0 commit comments