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

support cluster scale up via sealer apply cli #1818

Merged
merged 2 commits into from
Nov 1, 2022

Conversation

kakaZhou719
Copy link
Member

Describe what this PR does / why we need it

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2022

Codecov Report

Base: 21.75% // Head: 21.75% // No change to project coverage 👍

Coverage data is based on head (fb8a5f9) compared to base (7a23d71).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1818   +/-   ##
=======================================
  Coverage   21.75%   21.75%           
=======================================
  Files          72       72           
  Lines        6554     6554           
=======================================
  Hits         1426     1426           
  Misses       4942     4942           
  Partials      186      186           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kakaZhou719 kakaZhou719 force-pushed the add-scalup-to-sealer-apply branch 2 times, most recently from fb8a5f9 to 1332474 Compare October 27, 2022 03:16
@VinceCui
Copy link
Collaborator

@kakaZhou719 Resolve conflict.

@kakaZhou719 kakaZhou719 force-pushed the add-scalup-to-sealer-apply branch from 1332474 to 2f35650 Compare October 31, 2022 10:18
Copy link
Collaborator

@VinceCui VinceCui left a comment

Choose a reason for hiding this comment

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

Very nice work~

infraDriver, err := infradriver.NewInfraDriver(&cluster)
if err != nil {
return err
if !osi.IsFileExist(common.DefaultKubeConfigFile()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can check if k8s exists here, more security.

Copy link
Member Author

Choose a reason for hiding this comment

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

init k8s client to check ?

@kakaZhou719 kakaZhou719 force-pushed the add-scalup-to-sealer-apply branch from 9c36d33 to e02ba08 Compare November 1, 2022 13:24
Copy link
Collaborator

@VinceCui VinceCui left a comment

Choose a reason for hiding this comment

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

LGTM

@VinceCui VinceCui merged commit 72fafa6 into sealerio:main Nov 1, 2022
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