1
0
Fork 0
docker-easy-haproxy/docs/getting-started/index.md
Joao Gilberto Magalhaes 4b7f42473a Fix build error
2026-02-20 14:34:38 -05:00

1.9 KiB

sidebar_position sidebar_label
1 Getting Started

Getting Started with EasyHAProxy

EasyHAProxy dynamically builds haproxy.cfg from metadata on your running workloads — no HAProxy knowledge required.

Choose your runtime

EasyHAProxy runs in two ways:

Runtime When to choose
Docker container (byjg/easy-haproxy) You already run Docker, Swarm, or Kubernetes
Native host (easy-haproxy CLI) You want HAProxy on the host with full OS control — no Docker needed

Choose your discovery mode

Once running, EasyHAProxy discovers your services in one of four ways:

Mode How it works Label/annotation format
Docker Reads labels from running containers on a Docker host Container labels
Swarm Reads labels from services in a Docker Swarm cluster Service labels
Kubernetes Reads ingressClassName: easyhaproxy Ingress resources Ingress annotations
Static Reads a hand-written YAML file you provide YAML file

Quick-start guides

Pick the guide that matches your environment:

Container runtimes (Docker image)

  • Docker — standalone Docker host, container labels
  • Docker Swarm — overlay network, service labels
  • Kubernetes — Ingress controller, DaemonSet/NodePort
  • Static YAML — any environment, config file

Native host (pip/uv package)

What's next?

After you have traffic flowing:

  • Guides — SSL certificates, ACME/Let's Encrypt, plugins
  • Concepts — how service discovery and the config pipeline work
  • Reference — full environment variable and label tables