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

Bugfix/disconnect cause failure #32

Merged
merged 12 commits into from
Aug 31, 2021
Merged

Conversation

weilaaa
Copy link
Member

@weilaaa weilaaa commented Aug 24, 2021

Ⅰ. Describe what this PR does

  1. reconnect retry if member cluster is unreachable when startup kubecube
  2. fast fail return if cluster is unhealthy
  3. cluster status refresh when member cluster is disconnected

Ⅱ. Does this pull request fix one issue?
#18

@weilaaa weilaaa requested a review from fusidamj August 24, 2021 09:46
pkg/scout/scout.go Show resolved Hide resolved
pkg/scout/scout.go Show resolved Hide resolved
pkg/warden/reporter/reporter.go Show resolved Hide resolved
Copy link
Contributor

@JiahuiZhao11 JiahuiZhao11 left a comment

Choose a reason for hiding this comment

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

should it delete cluster cr when retry timeout?

Copy link
Contributor

@fusidamj fusidamj left a comment

Choose a reason for hiding this comment

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

LGTM

@zhujf1989 zhujf1989 merged commit bed9d65 into main Aug 31, 2021
@zhujf1989 zhujf1989 deleted the bugfix/disconnect-cause-failure branch August 31, 2021 08:18
@weilaaa weilaaa linked an issue Oct 13, 2021 that may be closed by this pull request
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.

[Bug] member cluster connect failed cause to kubecube startup failure
4 participants