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

set lvscare health path and health schem for registry server #1926

Merged

Conversation

kakaZhou719
Copy link
Member

Describe what this PR does / why we need it

for registry server health path :choose "/" as default.
for registry server health schem: if registry deployed as insecure mode, health schem is "http", otherwise ,it is "https".

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added the test label Dec 21, 2022
@kakaZhou719 kakaZhou719 force-pushed the bugfix-set-lvscare-healthPath-for-registry branch 2 times, most recently from 1f654c3 to 9814c45 Compare December 21, 2022 07:18
@codecov-commenter
Copy link

Codecov Report

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

Coverage data is based on head (9814c45) compared to base (0a06259).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1926   +/-   ##
=======================================
  Coverage   17.56%   17.56%           
=======================================
  Files         103      103           
  Lines        9113     9113           
=======================================
  Hits         1601     1601           
  Misses       7299     7299           
  Partials      213      213           
Impacted Files Coverage Δ
pkg/ipvs/ipvs.go 79.66% <100.00%> (ø)

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.

@@ -191,7 +191,8 @@ func (k *Runtime) configureLvs(masterHosts, clientHosts []net.IP) error {
}
vs := net.JoinHostPort(k.getAPIServerVIP().String(), "6443")
ipvsCmd := fmt.Sprintf("seautil ipvs --vs %s %s --health-path /healthz --health-schem https --run-once", vs, strings.Join(rs, " "))
Copy link
Collaborator

Choose a reason for hiding this comment

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

here?

@kakaZhou719 kakaZhou719 force-pushed the bugfix-set-lvscare-healthPath-for-registry branch 2 times, most recently from 5546307 to cfda4e5 Compare December 22, 2022 01:46
set lvscare health path for registry server
@kakaZhou719 kakaZhou719 force-pushed the bugfix-set-lvscare-healthPath-for-registry branch from cfda4e5 to 668b9f6 Compare December 22, 2022 02:52
Copy link
Collaborator

@starnop starnop left a comment

Choose a reason for hiding this comment

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

LGTM

@starnop starnop merged commit fbb35bf into sealerio:main Dec 22, 2022
@kakaZhou719 kakaZhou719 deleted the bugfix-set-lvscare-healthPath-for-registry branch March 8, 2023 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants