百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
K

kube2haproxy

> 云原生
开源

针对 Kubernetes 的 HAProxy 自动配置和自动服务发现,可实现高可用性。

184 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

针对 Kubernetes 的 HAProxy 自动配置和自动服务发现,可实现高可用性。

kube2haproxy

kube2haproxy is a daemon process that automatically configures Keepalived&HAProxy for services deployed on Kubernetes.

It features:

  • High Availability HAProxy, support ip failover.
  • Auto configure Keepalived&HAProxy configuration files based your template. You can provision your own template in production to enable SSL and notifications.
  • Efficient Keepalived&HAProxy reload with controlled rate.
  • Developed in Golang, deployment on Keepalived&HAProxy instances has no additional dependency.
  • Integrates with Prometheus to monitor metrics.

Theory of Operation

Compared with kube-proxy(also noted as distributed proxy), kube2haproxy runs locally on node of central HAProxy cluster and is responsible for HAProxy configuration update and reload. kube2haproxy watches kube-apiserver for service&endpoints resources change, and reload HAProxy in rate limited manner. To support high availability, we use Keepalived, kube2haproxy is also responsible for Keepalived configuration update and reload. The following diagram demonstrates how this worked in a 2 nodes cluster:

Build

  • Step 1: Git clone the kube2haproxy repo: git clone https://github.com/adohe/kube2haproxy.git
  • Step 2: Build with godep: cd kube2haproxy; godep go build -o kube-haproxy main.go

Key command line options

…

Licensing

kube2haproxy is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gohaproxykeepalivedkubernetesreload-haproxy

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类云原生
定价开源

> 相关工具

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,