HAProxy Data Plane API 2.0 docker 镜像

最近HAProxy Data Plane API 2.0 发布了,基于官方说明以及以前的测试,创建了一个v2的dockerfile

dataplaneapi 下载地址

https://github.com/haproxytech/dataplaneapi

docker 镜像

  • dockerfile
FROM haproxy:2.1.4
COPY dataplaneapi /usr/local/sbin/dataplaneapi
RUN chmod +x /usr/local/sbin/dataplaneapi
  • dockerhub
dalongrong/haproxy-dataplaneapi:2.1.4

参考使用

这个可以参考我以下写的v1的,以及参考官方文档,v2 增强的地方还是比较多的,可以好好看看官方的说明
https://www.haproxy.com/documentation/dataplaneapi/latest/
https://www.haproxy.com/blog/announcing-haproxy-dataplane-api-20/
https://github.com/rongfengliang/haproxy2.0-prometheus/tree/v2
https://www.cnblogs.com/rongfengliang/p/11444818.html
https://www.cnblogs.com/rongfengliang/p/11443005.html

posted on 2020-05-18 21:43  荣锋亮  阅读(584)  评论(0编辑  收藏  举报

导航