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

Update file names to support go mod. #2334

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For K8s clutesrs in user's IDC, it is difficult to operate, manage and upgrade t
- More and more users only access their IDC machines to cloud service providers as worker nodes, utilizing the abilities of cloud-edge collaboration provided by OpenYurt. But there are some users needs continuous deployment for offline tasks, depending on strong stability of cloud-edge communication, in this case, they tend to maintain a K8s cluster in their IDC.

We conclude above three solutions in Fig.1. The first and the second solution both face the challenge of operating and upgrading the control plane components, the difference is that the former is difficult to manage the control plane of K8s cluster in IDC, while the latter is difficult to manage the control plane of host-K8s. The third solution is the most popular, users adopt the abilities of cloud-edge collaboration afforded by OpenYurt, easily achieve large-scale application operation, and management on massive edge resources, however, some users prefer to maintain a K8s in their IDC for their needs.
![img.png](../img/enhance-efficiency-of-K8s-cluster-in-user's-IDC/fig1.png)
![img.png](../img/enhance-efficiency-of-K8s-cluster-in-IDC/fig1.png)

This proposal solves the pain points mentioned above, which automates the operation and maintenance of control plane components of tenant-K8s to replace manual user operations, and affords users who needs continuous deployment for offline tasks a efficient operation scheme to manage their IDC K8s cluster.
### Goals
Expand Down Expand Up @@ -75,14 +75,14 @@ This proposal provides a new scheme based on KOK architecture shown as Fig.2, wh
3. Deploy control plane components of tenant-K8s on worker nodes of host-K8s. All components are deployed in form of `pod` and in `HostNetwork` mode.
4. Access the remaining machines in user's IDC to tenant-K8s, as worker nodes of tenant-K8s.
<div align="center">
<img src="../img/enhance-efficiency-of-K8s-cluster-in-user's-IDC/fig2.png" width=40% />
<img src="../img/enhance-efficiency-of-K8s-cluster-in-IDC/fig2.png" width=40% />
</div>

### Architecture

We demonstrate the design of tenant-K8s in Fig.3.
<div align="center">
<img src="../img/enhance-efficiency-of-K8s-cluster-in-user's-IDC/fig3.png" width=90% />
<img src="../img/enhance-efficiency-of-K8s-cluster-in-IDC/fig3.png" width=90% />
</div>

In tenant-K8s, the designed details are as follows:
Expand All @@ -97,7 +97,7 @@ In tenant-K8s, the designed details are as follows:

`local` mode YurtHub gets pod's ip in host-K8s's apiserver, and maintains the loadbalance rule to afford load balancing access to APIServer-pods, which is shown in Fig.4.
<div align="center">
<img src="../img/enhance-efficiency-of-K8s-cluster-in-user's-IDC/fig4.png" width=90% />
<img src="../img/enhance-efficiency-of-K8s-cluster-in-IDC/fig4.png" width=90% />
</div>

### User stories
Expand Down
Loading