-
Notifications
You must be signed in to change notification settings - Fork 902
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
helm install karmada components in order #5010
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #5010 +/- ##
==========================================
- Coverage 53.32% 53.30% -0.02%
==========================================
Files 253 253
Lines 20560 20560
==========================================
- Hits 10964 10960 -4
- Misses 8870 8875 +5
+ Partials 726 725 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
706ffed
to
a66dcf1
Compare
/assign |
Now, our This means the installation time of |
it's a big promote! |
Signed-off-by: chaosi-zju <[email protected]>
/lgtm |
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.
@a7i Can you help to take a look?
The issue we are trying to address is that the components launched by Helm don't have a solid order, which will lead to components crashing during the installation, such as karmada-controller-manager crashes if it starts before the karmada-apiserver.
The approach of this PR is trying to add an init container to the components if it reply on others. I'm not sure if this is the best practice for Helm chart dealing with many components.
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango 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 |
@RainbowMango apologies for the delay in my response as I was traveling for work. I reviewed the linked Issue and the approach here makes sense. Additionally, in my organization, we don't use Helm so the solution proposed addresses it in a generic fashion that works for all. Thank you @chaosi-zju for this! |
What type of PR is this?
/kind feature
/kind flake
What this PR does / why we need it:
helm install karmada components in order, for detailed discussion, see issue #4917
Which issue(s) this PR fixes:
Fixes #4917
Special notes for your reviewer:
Does this PR introduce a user-facing change?: