-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: add agent proxy #125
Conversation
Codecov Report
@@ Coverage Diff @@
## master #125 +/- ##
==========================================
+ Coverage 11.78% 11.82% +0.03%
==========================================
Files 98 100 +2
Lines 15108 15204 +96
==========================================
+ Hits 1781 1798 +17
- Misses 13092 13171 +79
Partials 235 235
|
/assign @x893675 |
/milestone v1.2.0 |
/lgtm |
LGTM label has been added. Git tree hash: 6d539047353104e36625fb6c4203ba9fd8d75372
|
Under the current scheme, we can independently deploy kc-agent for nodes with an unconnected network, and only need to deploy kc-proxy on a node with an unobstructed network, so that kc-proxy can proxy kc-agent with an unconnected network, so that it can communicate with kc-server. kc-server and kc-agent are imperceptible. |
Signed-off-by: lixd <xueduan.li@gmail.com>
1.metadata add ProxyServer、ProxyAPIServer、ProxySSH 2.nats server cert san add proxy.kubeclipper.io 3.mq and static server address replace by proxy if specify. 4.update address in kubeconfig. Signed-off-by: lixd <xueduan.li@gmail.com>
Signed-off-by: lixd <xueduan.li@gmail.com>
Signed-off-by: lixd <xueduan.li@gmail.com>
Signed-off-by: lixd <xueduan.li@gmail.com>
/lgtm |
LGTM label has been added. Git tree hash: 8846a9ea1cafcfb7a27d0c9a9c0c7d1ab3e7e552
|
@@ -17,15 +17,18 @@ deps: | |||
CLIENT_GEN=$(shell which client-gen) | |||
endif | |||
|
|||
.PHONY: build build-server build-agent build-cli openapi |
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.
hack/lib/golang.sh need update
.github/workflows/build-kc.yml
Outdated
@@ -46,7 +46,7 @@ jobs: | |||
run: | | |||
pushd dist | |||
tar -zcvf kc-linux-arm64.tar.gz linux_arm64/ | |||
tar -zcvf kc-linux-amd64.tar.gz kubeclipper-server kubeclipper-agent kcctl | |||
tar -zcvf kc-linux-amd64.tar.gz linux_amd64/ |
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.
when the host is linux-amd64 , build scripts don't create linux_amd64 directory
Signed-off-by: lixd <xueduan.li@gmail.com>
/cc @x893675 |
/lgtm |
LGTM label has been added. Git tree hash: d53a22d072d98429521a225592b40e249bba7b69
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lixd, x893675 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
add kc-proxy to resolve network issues in edge scenarios.
Which issue(s) this PR fixes:
Fixes #
Special notes for reviewers:
Does this PR introduced a user-facing change?
Additional documentation, usage docs, etc.: