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/2681-pod-host-ip/README.md
+116-5
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ N/A
261
261
262
262
###### Does enabling the feature change any default behavior?
263
263
264
-
No.
264
+
It changes default behavior of k8s itself by automatically propagating HostIPs field.
265
265
266
266
###### Can the feature be disabled once it has been enabled (i.e. can we roll back the enablement)?
267
267
@@ -273,7 +273,7 @@ The feature should continue to work just fine.
273
273
274
274
###### Are there any tests for feature enablement/disablement?
275
275
276
-
No, these will be introduced in the Alpha phase.
276
+
There are tests for feature enablement/disablement in [util_test.go](https://github.com/kubernetes/kubernetes/blob/83f2d89dc987e152f27b31bf630c58ce855d954d/pkg/api/pod/util_test.go#L1168-L1264) and [validation_test.go](https://github.com/kubernetes/kubernetes/blob/83f2d89dc987e152f27b31bf630c58ce855d954d/pkg/apis/core/validation/validation_test.go#L23068-L23113).
277
277
278
278
### Rollout, Upgrade and Rollback Planning
279
279
@@ -284,11 +284,107 @@ The field is only informative, it doesn't affect running workloads.
284
284
285
285
###### What specific metrics should inform a rollback?
286
286
287
-
The `status.hostIPs` field in Pod is empty, or frequently updated, or cause any other to crash.
287
+
It will immediately update all running Pods on the node where this feature is enabled.
288
+
289
+
If any of these phenomena imply that the feature is abnormal and needs to be rolled back, the `status.hostIPs` field in the pod is empty, or it is updated frequently, or it causes other Pods to crash.
290
+
291
+
So if the `apiserver_requests_total` for pods increases significantly, this may indicate a problem.
288
292
289
293
###### Were upgrade and rollback tested? Was the upgrade->downgrade->upgrade path tested?
290
294
291
-
TBD.
295
+
It will test upgrade and rollback in e2e tests if it can be done in e2e.
296
+
297
+
Upgrade->downgrade->upgrade testing was done manually using the following steps:
0 commit comments