From 9880ceceb943b8e5dd91f9b0e7b7613bd9eb381e Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 1 Jun 2021 12:49:36 -0700 Subject: [PATCH] Add KEP links to sig-net feature gates Adjust 1 removal and comment another. --- pkg/features/kube_features.go | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index 2427b194fc6..efac5022358 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -27,6 +27,7 @@ const ( // Every feature gate should add method here following this template: // // // owner: @username + // // kep: http://kep.k8s.io/NNN // // alpha: v1.X // MyFeature featuregate.Feature = "MyFeature" @@ -147,6 +148,7 @@ const ( LegacyNodeRoleBehavior featuregate.Feature = "LegacyNodeRoleBehavior" // owner @brendandburns + // kep: http://kep.k8s.io/1143 // alpha: v1.9 // beta: v1.19 // ga: v1.21 @@ -275,6 +277,7 @@ const ( NodeLease featuregate.Feature = "NodeLease" // owner: @rikatz + // kep: http://kep.k8s.io/2079 // alpha: v1.21 // // Enables the endPort field in NetworkPolicy to enable a Port Range behavior in Network Policies. @@ -440,6 +443,7 @@ const ( PodOverhead featuregate.Feature = "PodOverhead" // owner: @khenidak + // kep: http://kep.k8s.io/563 // alpha: v1.15 // beta: v1.21 // @@ -447,6 +451,7 @@ const ( IPv6DualStack featuregate.Feature = "IPv6DualStack" // owner: @robscott @freehan + // kep: http://kep.k8s.io/752 // alpha: v1.16 // beta: v1.18 // ga: v1.21 @@ -455,6 +460,7 @@ const ( EndpointSlice featuregate.Feature = "EndpointSlice" // owner: @robscott @freehan + // kep: http://kep.k8s.io/752 // alpha: v1.18 // beta: v1.19 // @@ -462,6 +468,7 @@ const ( EndpointSliceProxying featuregate.Feature = "EndpointSliceProxying" // owner: @robscott @kumarvin123 + // kep: http://kep.k8s.io/752 // alpha: v1.19 // beta: v1.21 // @@ -513,6 +520,7 @@ const ( ServiceTopology featuregate.Feature = "ServiceTopology" // owner: @robscott + // kep: http://kep.k8s.io/1507 // alpha: v1.18 // beta: v1.19 // ga: v1.20 @@ -551,6 +559,7 @@ const ( AnyVolumeDataSource featuregate.Feature = "AnyVolumeDataSource" // owner: @javidiaz + // kep: http://kep.k8s.io/1797 // alpha: v1.19 // beta: v1.20 // @@ -586,12 +595,14 @@ const ( HPAContainerMetrics featuregate.Feature = "HPAContainerMetrics" // owner: @andrewsykim + // kep: http://kep.k8s.io/1672 // alpha: v1.20 // // Enable Terminating condition in Endpoint Slices. EndpointSliceTerminatingCondition featuregate.Feature = "EndpointSliceTerminatingCondition" // owner: @robscott + // kep: http://kep.k8s.io/752 // alpha: v1.20 // // Enable NodeName field on Endpoint Slices. @@ -639,12 +650,14 @@ const ( GracefulNodeShutdown featuregate.Feature = "GracefulNodeShutdown" // owner: @andrewsykim @uablrek + // kep: http://kep.k8s.io/1864 // alpha: v1.20 // // Allows control if NodePorts shall be created for services with "type: LoadBalancer" by defining the spec.AllocateLoadBalancerNodePorts field (bool) ServiceLBNodePortControl featuregate.Feature = "ServiceLBNodePortControl" // owner: @janosi + // kep: http://kep.k8s.io/1435 // alpha: v1.20 // // Enables the usage of different protocols in the same Service with type=LoadBalancer @@ -662,6 +675,7 @@ const ( PodDeletionCost featuregate.Feature = "PodDeletionCost" // owner: @robscott + // kep: http://kep.k8s.io/2433 // alpha: v1.21 // // Enables topology aware hints for EndpointSlices @@ -681,6 +695,7 @@ const ( PodAffinityNamespaceSelector featuregate.Feature = "PodAffinityNamespaceSelector" // owner: @andrewsykim @xudongliuharold + // kep: http://kep.k8s.io/1959 // alpha: v1.21 // // Enable support multiple Service "type: LoadBalancer" implementations in a cluster by specifying LoadBalancerClass @@ -693,12 +708,14 @@ const ( LogarithmicScaleDown featuregate.Feature = "LogarithmicScaleDown" // owner: @hbagdi + // kep: http://kep.k8s.io/2365 // alpha: v1.21 // // Enable Scope and Namespace fields on IngressClassParametersReference. IngressClassNamespacedParams featuregate.Feature = "IngressClassNamespacedParams" // owner: @maplain @andrewsykim + // kep: http://kep.k8s.io/2086 // alpha: v1.21 // // Enables node-local routing for Service internal traffic @@ -717,6 +734,7 @@ const ( KubeletPodResourcesGetAllocatable featuregate.Feature = "KubeletPodResourcesGetAllocatable" // owner: @jayunit100 @abhiraut @rikatz + // kep: http://kep.k8s.io/2161 // beta: v1.21 // ga: v1.22 // @@ -742,6 +760,7 @@ const ( StatefulSetMinReadySeconds featuregate.Feature = "StatefulSetMinReadySeconds" // owner: @gjkim42 + // kep: http://kep.k8s.io/2595 // alpha: v1.22 // // Enables apiserver and kubelet to allow up to 32 DNSSearchPaths and up to 2048 DNSSearchListChars. @@ -772,7 +791,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS MemoryManager: {Default: false, PreRelease: featuregate.Alpha}, CPUCFSQuotaPeriod: {Default: false, PreRelease: featuregate.Alpha}, TopologyManager: {Default: true, PreRelease: featuregate.Beta}, - ServiceNodeExclusion: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22 + ServiceNodeExclusion: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23 NodeDisruptionExclusion: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22 StorageObjectInUseProtection: {Default: true, PreRelease: featuregate.GA}, SupportPodPidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23 @@ -823,7 +842,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS CronJobControllerV2: {Default: true, PreRelease: featuregate.Beta}, DaemonSetUpdateSurge: {Default: true, PreRelease: featuregate.Beta}, // on by default in 1.22 ServiceTopology: {Default: false, PreRelease: featuregate.Alpha}, - ServiceAppProtocol: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, + ServiceAppProtocol: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22 ImmutableEphemeralVolumes: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.24 HugePageStorageMediumSize: {Default: true, PreRelease: featuregate.Beta}, DownwardAPIHugePages: {Default: false, PreRelease: featuregate.Beta}, // on by default in 1.22