-
Notifications
You must be signed in to change notification settings - Fork 6
revise failover scenario #13
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Summary of ChangesHello @zhzhuang-zju, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the Karmada failover scenario examples, ensuring proper setup and clearer demonstration of multi-cluster failover capabilities. It integrates necessary SSH key management for inter-cluster communication and explicitly enables the Failover feature gate along with eviction mechanisms in the Karmada initialization process. The changes also enhance the user experience by providing more descriptive guidance and robust verification steps within the example documentation. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Please take a look @XiShanYongYe-Chang |
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.
Code Review
This pull request revises the Karmada failover scenario. My review has identified a critical issue with command-line arguments that would prevent the failover feature from enabling correctly. I have also provided suggestions to improve the robustness of a verification script, pointed out a recurring security weakness in the use of ssh-keyscan across several example scripts, and corrected a minor typo. Overall, the changes improve the failover example, but the identified issues should be addressed to ensure correctness and security best practices.
|
Thanks @zhzhuang-zju |
XiShanYongYe-Chang
left a comment
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.
test link: https://killercoda.com/zhzhuang-zju/scenario/karmada-Failover-example
It test well, thanks~
4dac6a3 to
bb550ee
Compare
Signed-off-by: zhzhuang-zju <[email protected]>
bb550ee to
5d076d5
Compare
|
/hold cancel |
|
Hi @zhzhuang-zju, compared to previous submissions, are there any adjustments to the demonstration behavior in the example? |
No, there were just some rebasing operations. |
revise failover scenario
/hold for #11
test link: https://killercoda.com/zhzhuang-zju/scenario/karmada-Failover-example