New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move IPv6DualStack to k8s.io/controller-manager #96872
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,14 +32,23 @@ const ( | |
// beta: v1.19 | ||
// | ||
// Enable legacy behavior to vary cluster functionality on the node-role.kubernetes.io labels. On by default (legacy), will be turned off in 1.18. | ||
// Original copy from k8s.io/kubernetes/pkg/features/kube_features.go | ||
LegacyNodeRoleBehavior featuregate.Feature = "LegacyNodeRoleBehavior" | ||
|
||
// owner @brendandburns | ||
// alpha: v1.9 | ||
// beta: v1.19 | ||
// | ||
// Enable nodes to exclude themselves from service load balancers | ||
// Original copy from k8s.io/kubernetes/pkg/features/kube_features.go | ||
ServiceNodeExclusion featuregate.Feature = "ServiceNodeExclusion" | ||
|
||
// owner: @khenidak | ||
// alpha: v1.15 | ||
// | ||
// Enables ipv6 dual stack | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be nice to keep a reference to the authoritative version of the key/feature (// Original copy from pkg/features/kube_features.go) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the review. Also added comments for the other features. |
||
// Original copy from k8s.io/kubernetes/pkg/features/kube_features.go | ||
IPv6DualStack featuregate.Feature = "IPv6DualStack" | ||
) | ||
|
||
func SetupCurrentKubernetesSpecificFeatureGates(featuregates featuregate.MutableFeatureGate) error { | ||
|
@@ -51,4 +60,5 @@ func SetupCurrentKubernetesSpecificFeatureGates(featuregates featuregate.Mutable | |
var cloudPublicFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{ | ||
LegacyNodeRoleBehavior: {Default: true, PreRelease: featuregate.Beta}, | ||
ServiceNodeExclusion: {Default: true, PreRelease: featuregate.Beta}, | ||
IPv6DualStack: {Default: false, PreRelease: featuregate.Alpha}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @khenidak we have to update this feature gate as well when we promote dual-stack to beta