dataplaneapi
dataplaneapi copied to clipboard
HAProxy Data Plane API
uname -a ``` Linux b02.example.com 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ``` haproxy -vv ``` HA-Proxy version 2.0.3 2019/07/23 - https://haproxy.org/ Build options...
Adds support for service discovery via Nomad services. Nomad [recently launched](https://www.hashicorp.com/blog/nomad-1-3-adds-native-service-discovery-and-edge-workload-support) support for registering services for the tasks it's running. It's possible to retrieve the list of services using [HTTP...
``` % curl -X DELETE localhost:5555/v2/services/haproxy/transactions/111 {"code":400,"message":"20: transaction 111 does not exist"} ``` According to the documentation (https://www.haproxy.com/documentation/dataplaneapi/enterprise/#delete-/services/haproxy/transactions/-id- ) and general REST behavior, this should be status 404.
I've tried adding environment variables to my config but it appears they aren't parsed. Example below for a sample yml config. The environment variables work correctly in `haproxy.cfg` as I...
Hi there, there is an issue with ipv6 on version 2.5.3, 2.5.4 and 2.6.0. Here is the scenario : # Creation of backend curl -X POST --user admin:\ http://\:\/v2/services/haproxy/configuration/backends?version=1112 -d...
I ran `go run generate/go-generate.go $(pwd)` to generate updated models and configuration files. It generated a file `configuration_generated.go` (as it seems to be hardcoded here: https://github.com/haproxytech/dataplaneapi/blob/master/generate/go-generate.go#L356) I manually renamed `configuration_generated.go`...
Hi, After reloading haproxy e.g. `sudo systemctl reload haproxy`, a POST to `v2/services/haproxy/runtime/servers?backend=whatever` endpoint will return `{"code":500,"message":"this operation requires HAProxy 2.6 or later"}`. However, I am on haproxy 2.7. This...
Hello, I'll start off by saying that the dataplaneapi is an amazing alternative to the old way of controlling the runtime config! I would love though, if I could use...
Currently we're evaluating haproxy as a LB under kubernetes. Our setup is using the haproxy helm chart (https://github.com/haproxytech/helm-charts/tree/main/haproxy) deployed as daemonset, so there will be as many instances as there...