kubesphere / kubesphere/website

HA Kubernetes Cluster : Do we really need HAproxy as L4 LB

Open
#2,810 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SCSS
Stars
97
Forks
418
PR merge metrics
No merged PRs in 30d

Description

Hi,

In [**Set up an HA Kubernetes Cluster Using Keepalived and HAproxy**](https://kubesphere.io/docs/v3.3/installing-on-linux/high-availability-configurations/set-up-ha-cluster-using-keepalived-haproxy/), the docs explain how to set up KeepAlived AND HAproxy.

In the example, HAproxy is configured with **mode tcp** option, making it act as a Layer4 Load Balancer.
Since KeepAlived can completely act as a L4 LB, do we really need HAproxy in this example ?

If the answer's yes, which feature does HAproxy L4 provides, which is not available in KeepAlived ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked “Set up an HA Kubernetes Cluster Using Keepalived and HAproxy” documentation page, especially its mode tcp configuration. Research the roles of Keepalived and HAProxy in this setup, then clarify whether both are required and document the relevant distinction or revise the example. Done means the page answers the question accurately.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
documentation, infrastructure
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.