Skip to content

Commit a122c62

Browse files
authored
Merge pull request kubernetes#2962 from bridgetkromhout/dual-stack-kep
KEP-563: PRR updates for dual-stack move to stable
2 parents ee57478 + fe9d64e commit a122c62

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
kep-number: 563
22
beta:
33
approver: "@johnbelamaric"
4+
stable:
5+
approver: "@johnbelamaric"

keps/sig-network/563-dual-stack/README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ This capability will move to beta when the following criteria have been met.
13771377
* Service resource supports pods with multi-IP
13781378
* Kubenet to support multi-IPs
13791379
1380-
This capability will move to stable when the following criteria have been met.
1380+
This capability will move to stable when the following criteria have been met:
13811381
13821382
* Support of at least one CNI plugin to provide multi-IP ([Cilium](https://cilium.io/blog/2021/05/20/cilium-110) and [Calico](https://www.tigera.io/blog/dual-stack-operation-with-calico-on-kubernetes/))
13831383
* e2e test successfully running on two platforms (Azure and kind)
@@ -1404,6 +1404,11 @@ This capability will move to stable when the following criteria have been met.
14041404
to only one address block.
14051405
14061406
* **Does enabling the feature change any default behavior?**
1407+
When this feature moves to stable, the dual-stack feature is available in
1408+
all clusters. However, Pods and Services will default to single-stack unless
1409+
ipFamilyPolicy field is modified in a Service to be either PreferDualStack
1410+
or RequireDualStack.
1411+
14071412
Pods and Services will remain single-stack until cli flags have been modified
14081413
as described in this KEP. Existing and new Services will remain single-stack
14091414
until the ipFamilyPolicy field is modified in a Service to be either
@@ -1413,7 +1418,11 @@ This capability will move to stable when the following criteria have been met.
14131418
* **Can the feature be disabled once it has been enabled (i.e. can we roll back
14141419
the enablement)?**
14151420
1416-
Yes. If you decide to turn off dual-stack after turning on:
1421+
The feature gate will be removed for the stable release, so this feature is
1422+
always available. However, single-stack is the default until dual-stack is
1423+
configured.
1424+
1425+
In beta, if you decide to turn off dual-stack after turning on:
14171426
1. Ensure all services are converted to single-stack first (downgraded to
14181427
single-stack as described in this KEP)
14191428
2. Remove the CLI parameters.
@@ -1433,6 +1442,8 @@ This capability will move to stable when the following criteria have been met.
14331442
14341443
* **What happens if we reenable the feature if it was previously rolled back?**
14351444
1445+
When the feature is stable, it will always be available.
1446+
14361447
If the system has no existing dual-stack services, then it will be treated
14371448
as a new enablement. However, if dual-stack services exist in the cluster,
14381449
the controller manager will automatically update endpoints and endpointSlices
@@ -1464,7 +1475,7 @@ This capability will move to stable when the following criteria have been met.
14641475
cluster networking was configured.
14651476
14661477
Existing workloads are not expected to be impacted during rollout. When you
1467-
disable dual-stack, existing services aren't deleted, but routes for
1478+
set a cluster to single-stack, existing services aren't deleted, but routes for
14681479
alternative families are disabled. A component restart during rollout might
14691480
delay generating endpoints and endpointSlices for alternative IP families.
14701481
If there are *new* workloads that depend on the endpointSlices, these
@@ -1573,6 +1584,10 @@ resource usage (CPU, RAM, disk, IO, ...) in any components?**
15731584
15741585
### Troubleshooting
15751586
1587+
When the feature is stable, the feature gate is no longer present, so no
1588+
disabling of the feature gate is applicable, and the feature is always
1589+
enabled; it may be used or not used as desired.
1590+
15761591
* **How does this feature react if the API server and/or etcd is unavailable?**
15771592
This feature will not be operable if either kube-apiserver or etcd is unavailable.
15781593

keps/sig-network/563-dual-stack/kep.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ prr-approvers:
1919
- "@johnbelamaric"
2020
editor: TBD
2121
creation-date: "2018-05-21"
22-
last-updated: "2021-08-13"
23-
status: implemented
22+
last-updated: "2021-09-08"
23+
status: implementable
2424
stage: stable
2525
latest-milestone: v1.23
2626
milestone:

0 commit comments

Comments
 (0)