You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would really like to use this Operator with HaProxy DataPlane API 3 but this is currently not possible due an incompatability issue. Currently only HaProxy DataPlane API 2 is supported which is hardcoded in haproxy_controller.go#L102. Furthermore probably HaProxy 3 DataPlane API changed and the code needs to be adapated also.
If testers are needed for these feature I would he happy to help. I would also like to help with the code but I am sadly too inexperieced for this.
The new HaProxy 3 API URL is http://HOSTNAME/v3/services/haproxy/sites
Thanks for this Operator ❤️
Edit:
I found out that the DataPlane API 2 Binary is still available in the haproxytech/haproxy-alpine image but available under a different path /usr/bin/dataplaneapi-v2. The DataPlane API 3 Binary is used with this path /usr/bin/dataplaneapi
The text was updated successfully, but these errors were encountered:
Hi, I will take a look if just changing the API path to v3 might work. I won't give you a date since I'm kinda busy at this moment but i will look into it.
Hi, thank you for the fast feedback. Since DataPlane API 2 Binary is still inside the haproxy images it is not urgent at all. It was just confusing at first to debug and figure this out.
Hi,
I would really like to use this Operator with HaProxy DataPlane API 3 but this is currently not possible due an incompatability issue. Currently only HaProxy DataPlane API 2 is supported which is hardcoded in haproxy_controller.go#L102. Furthermore probably HaProxy 3 DataPlane API changed and the code needs to be adapated also.
If testers are needed for these feature I would he happy to help. I would also like to help with the code but I am sadly too inexperieced for this.
lbconfig-operator/internal/controller/backend/haproxy/haproxy_controller.go
Line 102 in 9efdde6
Here is the log of the error I got:
The new HaProxy 3 API URL is
http://HOSTNAME/v3/services/haproxy/sites
Thanks for this Operator ❤️
Edit:
I found out that the DataPlane API 2 Binary is still available in the haproxytech/haproxy-alpine image but available under a different path
/usr/bin/dataplaneapi-v2
. The DataPlane API 3 Binary is used with this path/usr/bin/dataplaneapi
The text was updated successfully, but these errors were encountered: