Skip to content
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

USHIFT-2245: Add router namespace ownership enhancement #1552

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

pacevedom
Copy link
Contributor

@pacevedom pacevedom commented Jan 31, 2024

Targeting 4.16, include the namespace ownership configuration parameter for the router in MicroShift.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 31, 2024

@pacevedom: This pull request references USHIFT-2245 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 task to target the "4.16.0" version, but no target version was set.

In response to this:

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-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 31, 2024
@pacevedom pacevedom force-pushed the USHIFT-2245 branch 3 times, most recently from b5ce26f to c5010a9 Compare February 1, 2024 21:26
@pacevedom pacevedom force-pushed the USHIFT-2245 branch 4 times, most recently from 775ff0f to fc0b75a Compare February 5, 2024 16:56
@openshift-ci-robot
Copy link

openshift-ci-robot commented Feb 12, 2024

@pacevedom: This pull request references USHIFT-2245 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 task to target the "4.16.0" version, but no target version was set.

In response to this:

Targeting 4.16, include the namespace ownership configuration parameter for the router in MicroShift.

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.

@dhellmann
Copy link
Contributor

#1555 is changing the enhancement template in a way that will cause the header check in the linter job to fail for existing PRs. If this PR is merged within the development period for 4.16 you may override the linter if the only failures are caused by issues with the headers (please make sure the markdown formatting is correct). If this PR is not merged before 4.16 development closes, please update the enhancement to conform to the new template.

@rfredette
Copy link
Contributor

/assign @alebedev87
/assign @Miciah


## Graduation Criteria
### Dev Preview -> Tech Preview
- Ability to utilize the enhancement end to end

Choose a reason for hiding this comment

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

What's the status of this feature for MicroShift 4.16? Tech Preview or GA?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will be GA.


MicroShift is also focused on single-node deployments, and runs without an
external load balancer and in environments without access to deep DNS
integration. The primary means of accessing the apps on the MicroShift host

Choose a reason for hiding this comment

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

Is there a secondary means?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You could have a few of them, but depends on the application. Additional routers, different ingress controllers, direct service exposure, etc.
All of those are out of control for MicroShift, the default router is provided as a helper and a means of easily accessing applications.

### Workflow Description

### API Extensions
To allow configuring the router a new option is exposed through the MicroShift

Choose a reason for hiding this comment

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

Is the user going to add this, or is part of the default config and set to InterNamespaceAllowed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default is InterNamespaceAllowed and will always be present. Users may modify this field to whichever value they need (Strict or InterNamespaceAllowed).

## Upgrade / Downgrade Strategy
N/A

## Version Skew Strategy

Choose a reason for hiding this comment

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

The OCP enhancement notes, "The API defines empty equivalent to Strict, therefore all the clients will have to keep that check to remain backwards compatible."
How will this work in MicroShift with the Y+2 skew? Is it a concern?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

MicroShift will always default this field to InterNamespaceAllowed if not present. In the event of a skew where this field is not present, MicroShift ignores the unknown config parameters and does nothing with them.

Copy link
Contributor

openshift-ci bot commented Mar 7, 2024

@pacevedom: all tests passed!

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/test-infra repository. I understand the commands that are listed here.

Copy link
Contributor

@dhellmann dhellmann left a comment

Choose a reason for hiding this comment

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

/approve

The implementation for this has already started to land. If we end up needing substantial changes we can come back and update the doc.

@pacevedom , please get someone to apply a lgtm when you're ready.

Copy link
Contributor

openshift-ci bot commented Mar 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhellmann

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2024
@pmtk
Copy link
Member

pmtk commented Mar 8, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 8, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 87dc072 into openshift:master Mar 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants