Skip to content

Conversation

@jatinsu
Copy link

@jatinsu jatinsu commented Dec 2, 2025

This PR is to create an enhancement for the OKD featureset.

For more context: openshift/api#2451

@jatinsu jatinsu marked this pull request as draft December 2, 2025 20:27
@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 Dec 2, 2025
@openshift-ci openshift-ci bot requested review from ashcrow and hasbro17 December 2, 2025 20:27
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 2, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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

@jatinsu jatinsu force-pushed the OKD-featuregates branch 4 times, most recently from a0218a1 to 8808148 Compare December 10, 2025 17:19
- Resource consumption impact should be minimal as the feature set itself only controls which features are enabled, not the features themselves
- Individual features enabled by the OKD feature set may have their own resource implications

**MicroShift:**
Copy link
Author

Choose a reason for hiding this comment

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

OKD featureset shouldn't affect microshift right?

Copy link
Contributor

Choose a reason for hiding this comment

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

i don't think so, would be good to check with someone in the Microshift team

@Prashanth684 Prashanth684 marked this pull request as ready for review December 12, 2025 18:34
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 12, 2025
@openshift-ci openshift-ci bot requested review from tjungblu and travier December 12, 2025 18:34
@Prashanth684 Prashanth684 changed the title Add OKD featureset enhancement WIP: Add OKD featureset enhancement Dec 12, 2025
@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 Dec 12, 2025
- Resource consumption impact should be minimal as the feature set itself only controls which features are enabled, not the features themselves
- Individual features enabled by the OKD feature set may have their own resource implications

**MicroShift:**
Copy link
Contributor

Choose a reason for hiding this comment

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

i don't think so, would be good to check with someone in the Microshift team

@jatinsu jatinsu force-pushed the OKD-featuregates branch 2 times, most recently from 79df581 to f9249fc Compare December 18, 2025 20:52
@jatinsu jatinsu changed the title WIP: Add OKD featureset enhancement Add OKD featureset enhancement Jan 6, 2026
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 6, 2026
@jatinsu
Copy link
Author

jatinsu commented Jan 6, 2026

/retest

- Condensed enhancement to make it more concise
- reworded some features and addressed comments
- made points into paragraphs and fixed long lines
- Removed version.IsOKD() and explained the logic
Comment on lines +53 to +55
As an OKD cluster administrator, I want to enable TechPreview features on my cluster so that I can adopt upcoming
OpenShift functionality and provide feedback, without permanently blocking my ability to upgrade. I also want to
adopt new features earlier in the lifecycle compared to OCP.
Copy link
Contributor

Choose a reason for hiding this comment

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

If we were to promote a feature to the OKD feature set, and then decide we no longer wanted to pursue the feature, would we be ok dropping the feature from these OKD clusters?

How much thought would need to go into these kinds of conversations/decisions?

Copy link
Contributor

Choose a reason for hiding this comment

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

How much thought would need to go into these kinds of conversations/decisions?

Selecting the features that need to go into the OKD featureset needs to be done carefully - ideally, when a feature is at a point where it is close to reaching stable and BU has agreed that this is a feature that will make it into OCP, it should be enabled in OKD - not sure how we quantify this other than the fact that TPNU tests succeeed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps defining a process/criteria in this EP for when a feature is suitable for the OKD featureset would be useful?


#### Hypershift / Hosted Control Planes

The OKD feature set applies equally to Hypershift with minimal resource impact
Copy link
Contributor

Choose a reason for hiding this comment

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

Does HCP use the same CVO logic to know to correctly apply the right manifests for OKD?

Copy link
Contributor

Choose a reason for hiding this comment

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

if CVO is built for OKD, then it will use the OKD featureset. Will that imply that CVO picks the right manifest?

Copy link
Contributor

Choose a reason for hiding this comment

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

Worth asking HCP folks I think, I don't know quite how CVO works in HCP to be able to give you an answer

Copy link
Author

Choose a reason for hiding this comment

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

After looking a bit into it, it seems like featuregates and featuresets as a whole are a bit broken in HCP. HyperShift applies all CVO manifests found in the payload regardless of the actual feature set that is enabled which and there is a band-aid fix but nothing concrete as of now. I'll fix this section to point out that there is a difference in how hypershift uses CVO. Thanks for pointing this out!

Some resources/tickets for hypershifts behavior with CVO in case you wanted to read:
https://issues.redhat.com/browse/CNTRLPLANE-619
https://issues.redhat.com/browse/OTA-1397

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 9, 2026

@jatinsu: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@Prashanth684 Prashanth684 requested review from sdodson and wking January 9, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants