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

[feature request] How about implementing an application load balancer for OpenYurt? #400

Open
LindaYu17 opened this issue Jul 29, 2021 · 13 comments
Labels

Comments

@LindaYu17
Copy link
Member

What would you like to be added:

An application load balancer that handles requests taking consideration of the current loads (CPU/MEM/GPU/...) of cluster.

Why is this needed:

To get good performance and optimal utilization of nodes.

others
/kind feature

@rambohe-ch
Copy link
Member

@LindaYu17 Thank you for filing issue.

An application load balancer that handles requests taking consideration of the current loads (CPU/MEM/GPU/...) of cluster.

application load balancer is used for pods on edge node or used for kube-apiserver on master nodes? would you describe load balancer requirements in more detail?

@LindaYu17
Copy link
Member Author

It is used for pods on edge node.

Existing load balancer in K8S are mainly distributing requests from user by traffic randomly, the application load balancer I mentioned here should be able to distribute requests according to current system conditions and user defined rules. When the workloads the client requests for are sustaining resource/time consuming, such as video analytics, cloud gaming... if we dispatch such kind of workloads randomly, we don't guarantee to gain optimal performance. When dispatching this kind of request, we need to consider more, such as CPU/GPU/MEM usage. The application load balancer is designed to bridge this gap.

@rambohe-ch
Copy link
Member

It is used for pods on edge node.

Existing load balancer in K8S are mainly distributing requests from user by traffic randomly, the application load balancer I mentioned here should be able to distribute requests according to current system conditions and user defined rules. When the workloads the client requests for are sustaining resource/time consuming, such as video analytics, cloud gaming... if we dispatch such kind of workloads randomly, we don't guarantee to gain optimal performance. When dispatching this kind of request, we need to consider more, such as CPU/GPU/MEM usage. The application load balancer is designed to bridge this gap.

@LindaYu17 Thank you for feedback.
In K8s ecosystem, Service is used as load balancer for pods on nodes. Do you have ideas that how to integrate k8s service with application load balancer?

@gnunu
Copy link
Member

gnunu commented Aug 10, 2021

Sounds App LB is a kind of enhancement to K8s Service? The two components have some overlap in terms of doing reverse proxy for incoming requests. However, for ALB, user can add rules through API (CR) to explicitly specify how to do load balancing, such as what devices to prioritize, what algorithm to use, etc. For scenarios like numrous channels of video analytics, dispaching requests to right nodes/pods needs a sophisticated LB.

@rambohe-ch
Copy link
Member

Sounds App LB is a kind of enhancement to K8s Service? The two components have some overlap in terms of doing reverse proxy for incoming requests. However, for ALB, user can add rules through API (CR) to explicitly specify how to do load balancing, such as what devices to prioritize, what algorithm to use, etc. For scenarios like numrous channels of video analytics, dispaching requests to right nodes/pods needs a sophisticated LB.

@LindaYu17 Based on the above the comments from you and @gnunu , application load balancer sounds like a valuable feature in the edge scenario.
Would you like to make a proposal of application Load Balancer? so we can make a detailed discussion about it based on the proposal.

@LindaYu17
Copy link
Member Author

Sounds App LB is a kind of enhancement to K8s Service? The two components have some overlap in terms of doing reverse proxy for incoming requests. However, for ALB, user can add rules through API (CR) to explicitly specify how to do load balancing, such as what devices to prioritize, what algorithm to use, etc. For scenarios like numrous channels of video analytics, dispaching requests to right nodes/pods needs a sophisticated LB.

@LindaYu17 Based on the above the comments from you and @gnunu , application load balancer sounds like a valuable feature in the edge scenario.
Would you like to make a proposal of application Load Balancer? so we can make a detailed discussion about it based on the proposal.

sure, we are preparing ALB proposal right now, and will submit once it is done.

LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Oct 21, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 8, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 8, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 8, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 9, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 9, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 9, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 9, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 9, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 10, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 10, 2021
LindaYu17 added a commit to LindaYu17/openyurt that referenced this issue Nov 10, 2021
@stale
Copy link

stale bot commented Dec 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 29, 2021
@rambohe-ch
Copy link
Member

/pinned

@stale stale bot removed the wontfix label Dec 30, 2021
@stale
Copy link

stale bot commented Mar 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 30, 2022
@rambohe-ch
Copy link
Member

/pinned

@stale stale bot removed the wontfix label Mar 30, 2022
@stale
Copy link

stale bot commented Jun 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 28, 2022
@stale stale bot closed this as completed Jul 5, 2022
@rambohe-ch rambohe-ch reopened this Jul 5, 2022
@stale stale bot closed this as completed Jul 13, 2022
@rambohe-ch rambohe-ch reopened this Jul 13, 2022
@stale stale bot removed the wontfix label Jul 13, 2022
@rambohe-ch
Copy link
Member

/pinned

@stale
Copy link

stale bot commented Oct 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 11, 2022
@rambohe-ch rambohe-ch added pinned and removed wontfix labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants