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

Feat: Install submariner as fleet plugin #660

Merged
merged 8 commits into from
Aug 27, 2024

Conversation

Flying-Tom
Copy link
Contributor

@Flying-Tom Flying-Tom commented Aug 2, 2024

What type of PR is this?

/kind api-change
/kind feature

What this PR does / why we need it:

A PR to track the feat of submariner fleet plugin implementation

Which issue(s) this PR fixes:
Fixes #657

Copy link

netlify bot commented Aug 2, 2024

Deploy Preview for kurator-dev canceled.

Name Link
🔨 Latest commit aad9563
🔍 Latest deploy log https://app.netlify.com/sites/kurator-dev/deploys/66bd78edb047f95008e3d876

@Flying-Tom
Copy link
Contributor Author

/kind api-change
/kind feature

@Flying-Tom Flying-Tom changed the title Feat: Add fleet plugin submariner Feat: Install submariner as fleet plugin Aug 8, 2024
@Flying-Tom Flying-Tom force-pushed the submariner-plugin branch 2 times, most recently from d099e13 to d2137cb Compare August 14, 2024 02:01
Signed-off-by: Tom <[email protected]>
RookClusterComponentName = "rook-ceph"
FlaggerComponentName = "flagger"
TestloaderComponentName = "testloader"
SubMarinerBrokerComponentName = "sm-broker"
Copy link
Contributor

Choose a reason for hiding this comment

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

please use the full name(submariner) if there's no particular reason

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This abbr is due to the fact that helm has a limit on name of release (mentioned in Helm#6006). I will try to revalidate if full name will cause the too long name excepetion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be more specific, when SubMarinerBrokerComponentName is "submariner-broker", broker cannot be installed because helm-controller reconciliation failed: Helm install failed: release name "submariner-k8s-broker-submariner-broker-kurator-member1

FlaggerComponentName = "flagger"
TestloaderComponentName = "testloader"
SubMarinerBrokerComponentName = "sm-broker"
SubMarinerOperatorComponentName = "sm-operator"
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Although I can change the targetNamespace to be shorter (i.e. , submariner), the namespace in operator fixed at [submariner-operator](https://github.com/submariner-io/submariner-charts/blob/cdd86cf19f1f6fc1c6791c51d1e2bf09c479ee36/submariner-operator/templates/submariner.yaml#L5), and submariner-operator-submariner-operator-kurator-member1` is also too long.

Copy link
Contributor

@zirain zirain left a comment

Choose a reason for hiding this comment

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

gerneral LGTM with small nits

@kurator-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

@hzxuzhonghu
Copy link
Member

Will defer to @LiZhenCheng9527

@LiZhenCheng9527
Copy link
Contributor

/lgtm

@kurator-bot kurator-bot merged commit 130f8b4 into kurator-dev:main Aug 27, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add submariner as fleet plugin
5 participants