Repository navigation
k10y 2.4.0
HAProxy in k10y now works the way you write HAProxy config, with guided setups, live IP blocking, longer history, and a fix for Data Plane API crashes.
Your config, read and written your way
- Routes like
use_backend inbound-order if { path /order } || { path_beg /order/ }are editable (shown as "/order and /order/…"), and new routes are written the same way.use_backend xwithout a condition,X-Forwarded-Port, certificate files (bind 0.0.0.0:443 ssl crt /etc/haproxy/new-tls.pem),option redispatch+retries,check inter 1s rise 3 fall 1,stick-table … stick on srcand TCP keep-alive are all understood. - A change writes only the part that changed (one route, one timeout, one server), so the rest of your config stays as you wrote it. New servers copy the check timing of the others.
Guided setups
- New frontend starts from what you're setting up: Microservices by path, Web app over HTTPS (e.g. Mattermost), RabbitMQ, REST API, WebSocket, PostgreSQL, MySQL, Redis, MongoDB, other TCP. One reviewed change creates the frontend and all its backends with their servers.
- Every balancing method and health check, sticky sessions, timeouts, server TLS and max connections, each explained.
- Add a route in one step (path → new backend with servers), placed before shorter paths.
Operate
- Block an IP instantly (no reload after the first time) from Rate limits & blocks or a log line; unblock a rate-limited client.
- Maintenance page per frontend, with addresses that still get through.
- Live numbers per route, live traffic on the topology, and charts up to 7 days.
- Copy a frontend or backend to another HAProxy, and compare configs in a group.
Fix
- The Data Plane API could crash ("concurrent map iteration and map write") when two changes ran at once, e.g. a preview during a Kubernetes sync. k10y now sends changes to each HAProxy one at a time, retries reads while it restarts, and cleans up transactions a crash left open. Tested with 450 parallel previews.
Upgrade
- Hub:
docker compose pull && docker compose up -d(image2.4.0). A new table for one-minute history is created automatically. - Agents: no agent changes; updating is optional:
kubectl apply -f https://github.com/chhayserver/k10y-agent/releases/download/v2.4.0/install.yaml
The project now lives at https://github.com/chhayserver/k10y-agent. Image: docker.io/k10y/k10y-agent:2.4.0 (amd64 + arm64). Website and docs: https://k10y.pages.dev