-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feature(main): join nodes for k3s #3944
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🤖 Generated by lychee actionSummary
Errors per inputErrors in docs/4.0/i18n/zh-Hans/examples/baas/install-fireboom.md
Errors in docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-a-template.md
Errors in docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-app-launchpad.md
Errors in docs/4.0/i18n/zh-Hans/quick-start/app-deployments/use-terminal.md
Errors in docs/4.0/docs/examples/baas/install-fireboom.md
Errors in docs/4.0/i18n/zh-Hans/quick-start/app-deployments/install-db-with-database.md
Full action output |
8 tasks
Codecov ReportPatch has no changes to coverable lines. 📢 Thoughts on this report? Let us know!. |
cuisongliu
force-pushed
the
join_nodes
branch
2 times, most recently
from
September 23, 2023 03:28
72d8713
to
f75317b
Compare
cuisongliu
force-pushed
the
join_nodes
branch
from
September 23, 2023 07:08
199d135
to
fdb26f1
Compare
fengxsong
reviewed
Sep 25, 2023
cuisongliu
force-pushed
the
join_nodes
branch
from
September 25, 2023 09:26
3327e34
to
dcaf41f
Compare
Signed-off-by: cuisongliu <cuisongliu@qq.com>
Signed-off-by: cuisongliu <cuisongliu@qq.com>
Signed-off-by: cuisongliu <cuisongliu@qq.com>
cuisongliu
force-pushed
the
join_nodes
branch
from
September 25, 2023 10:14
dcaf41f
to
afdbdcb
Compare
Signed-off-by: cuisongliu <cuisongliu@qq.com>
fengxsong
approved these changes
Sep 25, 2023
/cherry-pick release-v4.4 |
🤖 says: cherry pick action finished successfully 🎉! |
sealos-ci-robot
pushed a commit
that referenced
this pull request
Sep 25, 2023
cuisongliu
pushed a commit
that referenced
this pull request
Sep 25, 2023
bxy4543
pushed a commit
to bxy4543/sealos
that referenced
this pull request
Oct 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Generated by Copilot at 14e472d
Summary
✨♻️🔧
This pull request adds IPVS load balancing for the API server in the
k3s
runtime and makes some code quality improvements. It updates thek3s
package to sync the IPVS load balancer with the master IP list and to use a constant for the static pod path. It also modifies thekubeadm
package to use the same static pod path parameter for the IPVS load balancer. It affects the filespkg/runtime/k3s/*
andpkg/ssh/remote.go
andpkg/runtime/kubernetes/runtime_getter.go
.Walkthrough
iputils
package to use its functions for IP address handling (link)/etc/hosts
file on master nodes with API server domain name and IP address usingremoteUtil.HostsAdd
andiputils.GetHostIP
(link, link)K3s
struct to get API server port, master IP list with port, and VIP with port fromk3s-init.yaml
file orconstants
package (link)remoteUtil.IPVS
orremoteUtil.StaticPod
withlvscare
image andk3sEtcStaticPod
path (link, link, link, link, link)6443
withconstants.DefaultAPIServerPort
forHTTPSPort
field ofConfig
struct (link)Config
struct (link)k3sEtcStaticPod
tok3s
package (link)admin.config
file as it is already set ink3s-init.yaml
file and/etc/hosts
file (link)