HAProxy vs Kubernetes

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

HAProxy
HAProxy

1.7K
1.1K
+ 1
475
Kubernetes
Kubernetes

7.3K
5.9K
+ 1
544
Add tool

HAProxy vs Kubernetes: What are the differences?

Developers describe HAProxy as "The Reliable, High Performance TCP/HTTP Load Balancer". HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. On the other hand, Kubernetes is detailed as "Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops". Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.

HAProxy and Kubernetes are primarily classified as "Load Balancer / Reverse Proxy" and "Container" tools respectively.

"Load balancer", "High performance" and "Very fast" are the key factors why developers consider HAProxy; whereas "Leading docker container management solution", "Simple and powerful" and "Open source" are the primary reasons why Kubernetes is favored.

Kubernetes is an open source tool with 55.1K GitHub stars and 19.1K GitHub forks. Here's a link to Kubernetes's open source repository on GitHub.

According to the StackShare community, Kubernetes has a broader approval, being mentioned in 1046 company stacks & 1096 developers stacks; compared to HAProxy, which is listed in 457 company stacks and 211 developer stacks.

- No public GitHub repository available -

What is HAProxy?

HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

What is Kubernetes?

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose HAProxy?
Why do developers choose Kubernetes?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use HAProxy?
What companies use Kubernetes?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with HAProxy?
What tools integrate with Kubernetes?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to HAProxy and Kubernetes?
nginx
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
Traefik
A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.
Envoy
Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.
Squid
Squid reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.
Varnish
Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
See all alternatives
Decisions about HAProxy and Kubernetes
No stack decisions found
Interest over time
Reviews of HAProxy and Kubernetes
Review ofKubernetesKubernetes

It's a little bit complex to onboard, but once you grasp all the different concepts the platform is really powerful, and infrastructure stops being an issue.

Service discovery, auto-recovery, scaling and orchestration are just a few of the features you get.

How developers use HAProxy and Kubernetes
Avatar of Matt Welke
Matt Welke uses KubernetesKubernetes

Just tinkering with it for personal use at this stage based on positive experience using it at work. Plan to use it for high traffic distributed systems if not using a managed hosting service like Heroku, AWS Lambda, or Google Cloud Functions. Reasons for using instead of these alternatives would be cheaper cost at higher scale.

Avatar of Trello
Trello uses HAProxyHAProxy

We use HAProxy to load balance between our webservers. It balances TCP between the machines round robin and leaves everything else to Node.js, leaving the connections open with a reasonably long time to live to support WebSockets and re-use of a TCP connection for AJAX polling.

Avatar of realcloudratics
realcloudratics uses KubernetesKubernetes

Good existential question. Kubernetes is painful in the extreme - especially when combined with Ansible. The layers of indirection are truly mind altering. But hey - containers are kewl!

Avatar of The Independent
The Independent uses HAProxyHAProxy

HAProxy manages internal and origin load balancing using KeepaliveD. Two small servers host the entire site, never moving about 15% load even during the largest load spikes.

Avatar of Japan Digital Design
Japan Digital Design uses KubernetesKubernetes

Our developer experience system is on Kubernetes (Google Kubernetes Engine at the moment). We would like to expand our Kubernetes clusters over other Kubernetes engine.

Avatar of Packet
Packet uses HAProxyHAProxy

We use HAProxy to balance traffic at various points in our stack, includgin nginx nodes on different physical machines, and api nodes on the backend.

Avatar of ssshake
ssshake uses HAProxyHAProxy

I use HAproxy primarily for application routing and SSL termination. I also use its logs and statistics to visualize incoming traffic in Kibana.

Avatar of ShareThis
ShareThis uses KubernetesKubernetes

Kubernetes is used for managing microclusters within our AWS infrastructure. This allows us to deploy new infrastructure in seconds.

Avatar of Clarabridge Engage
Clarabridge Engage uses HAProxyHAProxy

We use HAProxy to load balance web requests for our web application, but also for some internal load balancing of microservices.

Avatar of papaver
papaver uses KubernetesKubernetes

minor experience with kubernetes. helped a client setup a kubernetes infrastructure. love the elegance of the system.

How much does HAProxy cost?
How much does Kubernetes cost?
Pricing unavailable
Pricing unavailable