Skip to content

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bertinatto
Copy link
Member

@bertinatto bertinatto commented Apr 2, 2025

This PR is intended to start discussions about which gates we need to remove in OCP 4.20 due to their counterpart Kubernetes gates being removed or turned on by default in Kubernetes 1.33.

/hold
This can only be merged after branch cut.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 2, 2025
Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

Hello @bertinatto! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@openshift-ci openshift-ci bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 2, 2025
@openshift-ci openshift-ci bot requested review from deads2k and everettraven April 2, 2025 14:17
Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bertinatto
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

productScope(kubernetes).
enhancementPR("https://github.com/kubernetes/enhancements/issues/4193").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()
Copy link
Member Author

@bertinatto bertinatto Apr 2, 2025

Choose a reason for hiding this comment

The 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.
CC @ibihim

enhancementPR("https://github.com/kubernetes/enhancements/issues/2400").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The 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?

enhancementPR("https://github.com/kubernetes/enhancements/issues/3705").
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The 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

enhancementPR("https://github.com/kubernetes/enhancements/issues/2395").
enableIn(configv1.Default, configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The 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

enhancementPR("https://github.com/kubernetes/enhancements/issues/4006").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The 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.

Copy link
Contributor

Choose a reason for hiding this comment

The 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

enhancementPR("https://github.com/kubernetes/enhancements/issues/127").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

@bertinatto bertinatto Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is beta and on by default in 1.33.
@haircommander confirmed on Slack that this will be on by default in 4.20

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

Choose a reason for hiding this comment

The 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

enhancementPR("https://github.com/kubernetes/enhancements/issues/4265").
enableIn(configv1.DevPreviewNoUpgrade, configv1.TechPreviewNoUpgrade).
mustRegister()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we should!

Copy link
Contributor

Choose a reason for hiding this comment

The 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

@bertinatto bertinatto changed the title WIP: Clean up gates for 4.20 WIP: CNTRLPLANE-371: Clean up gates for 4.20 Apr 2, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 2, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 2, 2025

@bertinatto: This pull request references CNTRLPLANE-371 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.19.0" version, but no target version was set.

In response to this:

This PR is intended to start discussions about which gates we need to remove in OCP 4.20 due to their counterpart Kubernetes gates being removed or turned on by default in Kubernetes 1.33.

/hold
This can only be merged after branch cut.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 11, 2025
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Apr 15, 2025

@bertinatto: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-e2e-aws-ovn dcb647a link false /test okd-scos-e2e-aws-ovn
ci/prow/minor-e2e-upgrade-minor dcb647a link true /test minor-e2e-upgrade-minor
ci/prow/unit dcb647a link true /test unit
ci/prow/e2e-aws-ovn-hypershift dcb647a link true /test e2e-aws-ovn-hypershift
ci/prow/verify-deps dcb647a link true /test verify-deps
ci/prow/e2e-aws-serial dcb647a link true /test e2e-aws-serial
ci/prow/verify-client-go dcb647a link true /test verify-client-go
ci/prow/images dcb647a link true /test images
ci/prow/integration dcb647a link true /test integration
ci/prow/verify dcb647a link true /test verify
ci/prow/e2e-upgrade dcb647a link true /test e2e-upgrade
ci/prow/e2e-upgrade-out-of-change dcb647a link true /test e2e-upgrade-out-of-change
ci/prow/okd-scos-images dcb647a link true /test okd-scos-images
ci/prow/e2e-aws-serial-techpreview dcb647a link true /test e2e-aws-serial-techpreview
ci/prow/verify-crd-schema dcb647a link true /test verify-crd-schema
ci/prow/verify-feature-promotion dcb647a link true /test verify-feature-promotion
ci/prow/minor-images dcb647a link true /test minor-images
ci/prow/e2e-aws-ovn-techpreview dcb647a link true /test e2e-aws-ovn-techpreview
ci/prow/e2e-aws-ovn dcb647a link true /test e2e-aws-ovn
ci/prow/lint dcb647a link true /test lint
ci/prow/build dcb647a link true /test build
ci/prow/e2e-aws-ovn-hypershift-conformance dcb647a link true /test e2e-aws-ovn-hypershift-conformance

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants