-
Notifications
You must be signed in to change notification settings - Fork 558
WIP: CNTRLPLANE-371: Clean up gates for 4.20 #2259
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
base: master
Are you sure you want to change the base?
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 |
---|---|---|
|
@@ -44,14 +44,6 @@ var ( | |
enhancementPR("https://github.com/openshift/enhancements/pull/1706"). | ||
mustRegister() | ||
|
||
FeatureGateServiceAccountTokenNodeBinding = newFeatureGate("ServiceAccountTokenNodeBinding"). | ||
reportProblemsToJiraComponent("apiserver-auth"). | ||
contactPerson("stlaz"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/4193"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
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. This gate has been locked on by default in Kubernetes 1.33, so we need to drop it from here. 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. Drop it? you mean we remove it completely, instead of adding |
||
|
||
FeatureGateValidatingAdmissionPolicy = newFeatureGate("ValidatingAdmissionPolicy"). | ||
reportProblemsToJiraComponent("kube-apiserver"). | ||
contactPerson("benluddy"). | ||
|
@@ -92,14 +84,6 @@ var ( | |
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateNodeSwap = newFeatureGate("NodeSwap"). | ||
reportProblemsToJiraComponent("node"). | ||
contactPerson("ehashman"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/2400"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. This is enabled by default since Kubernetes 1.30: https://github.com/kubernetes/kubernetes/blob/7cd7fea30d054efe4f2cc60073a29d2c618258ec/pkg/features/kube_features.go#L1546-L1550 Should this be dropped? 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. Is it locked on yet? Or does this gate existing force it down to TPNU clusters only? 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. the latter, we want to keep this TPNU only |
||
FeatureGateMachineAPIProviderOpenStack = newFeatureGate("MachineAPIProviderOpenStack"). | ||
reportProblemsToJiraComponent("openstack"). | ||
contactPerson("egarcia"). | ||
|
@@ -195,14 +179,6 @@ var ( | |
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateCloudDualStackNodeIPs = newFeatureGate("CloudDualStackNodeIPs"). | ||
reportProblemsToJiraComponent("machine-config-operator/platform-baremetal"). | ||
contactPerson("mkowalsk"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/3705"). | ||
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. This was removed in 1.32: https://github.com/kubernetes/kubernetes/blob/7cd7fea30d054efe4f2cc60073a29d2c618258ec/CHANGELOG/CHANGELOG-1.32.md?plain=1#L962 Should we drop this? 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. I already have a PR open to drop this, but yes, whoever of us gets there first |
||
FeatureGateVSphereHostVMGroupZonal = newFeatureGate("VSphereHostVMGroupZonal"). | ||
reportProblemsToJiraComponent("splat"). | ||
contactPerson("jcpowermac"). | ||
|
@@ -409,14 +385,6 @@ var ( | |
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateDisableKubeletCloudCredentialProviders = newFeatureGate("DisableKubeletCloudCredentialProviders"). | ||
reportProblemsToJiraComponent("cloud-provider"). | ||
contactPerson("jspeed"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/2395"). | ||
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. Removed in 1.33: https://github.com/kubernetes/kubernetes/blob/7cd7fea30d054efe4f2cc60073a29d2c618258ec/CHANGELOG/CHANGELOG-1.33.md?plain=1#L366 @JoelSpeed should we drop it in 4.20? 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. I already have a PR open to drop this, but yes, whoever of us gets there first |
||
FeatureGateOnClusterBuild = newFeatureGate("OnClusterBuild"). | ||
reportProblemsToJiraComponent("MachineConfigOperator"). | ||
contactPerson("dkhater"). | ||
|
@@ -465,14 +433,6 @@ var ( | |
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateTranslateStreamCloseWebsocketRequests = newFeatureGate("TranslateStreamCloseWebsocketRequests"). | ||
reportProblemsToJiraComponent("kube-apiserver"). | ||
contactPerson("akashem"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/4006"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. Enabled by default in 1.30: https://github.com/kubernetes/kubernetes/blob/7cd7fea30d054efe4f2cc60073a29d2c618258ec/pkg/features/kube_features.go#L1823-L1826 @tkashem do you know if we should drop it? 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. We'll keep it for now until these features are GA'ed in upstream. 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. Unless it's locked on by default upstream, we should keep this until we GA the feature |
||
FeatureGateVolumeAttributesClass = newFeatureGate("VolumeAttributesClass"). | ||
reportProblemsToJiraComponent("Storage / Kubernetes External Components"). | ||
contactPerson("dfajmon"). | ||
|
@@ -671,14 +631,6 @@ var ( | |
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateUserNamespacesSupport = newFeatureGate("UserNamespacesSupport"). | ||
reportProblemsToJiraComponent("Node"). | ||
contactPerson("haircommander"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/127"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. This is beta and on by default in 1.33. 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. +1 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. Is it locked on upstream, or just on by default? We may instead want to promote the feature to GA here and retain the ability to disable it if we find issues, for at least 1 more release |
||
FeatureGateUserNamespacesPodSecurityStandards = newFeatureGate("UserNamespacesPodSecurityStandards"). | ||
reportProblemsToJiraComponent("Node"). | ||
contactPerson("haircommander"). | ||
|
@@ -687,14 +639,6 @@ var ( | |
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
FeatureGateProcMountType = newFeatureGate("ProcMountType"). | ||
reportProblemsToJiraComponent("Node"). | ||
contactPerson("haircommander"). | ||
productScope(kubernetes). | ||
enhancementPR("https://github.com/kubernetes/enhancements/issues/4265"). | ||
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade). | ||
mustRegister() | ||
|
||
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. Enabled by default in 1.33: https://github.com/kubernetes/kubernetes/blob/7cd7fea30d054efe4f2cc60073a29d2c618258ec/pkg/features/kube_features.go#L1619-L1623 @haircommander should we drop this? 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. yes we should! 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. Is it locked on upstream, or just on by default? We may instead want to promote the feature to GA here and retain the ability to disable it if we find issues, for at least 1 more release |
||
FeatureGateVSphereMultiNetworks = newFeatureGate("VSphereMultiNetworks"). | ||
reportProblemsToJiraComponent("SPLAT"). | ||
contactPerson("rvanderp"). | ||
|
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.
I think we want to keep this as we only want to turn on swap in certain cases