HAProxy Ingress
约 1 分钟阅读
- jcmoraisjr/haproxy-ingressGitHubjcmoraisjr/haproxy-ingressjcmoraisjr/haproxy-ingress · 文档 · 基于模板生成配置 · 直观 · 支持所有能力 · HAProxy 版本旧一点 · 支持 acme · 有很多辅助配置能够使得配置更加方便 · 支持 modsecurity · 支持 外部 HAProxy笔记:HAProxy Ingress
- 文档
- 基于模板GitHub Filejcmoraisjr/haproxy-ingress/rootfs/etc/templates/haproxy/haproxy.tmpl生成配置
- 直观
- 支持所有能力
- HAProxy 版本旧一点
- 支持 acme
- 有很多辅助配置能够使得配置更加方便
- 支持 modsecurity
- 支持 外部 HAProxy
- haproxytech/kubernetes-ingressGitHubhaproxytech/kubernetes-ingress
- 文档GitHub Filehaproxytech/kubernetes-ingress/documentation
- 基于 haproxytech/client-nativeGitHubhaproxytech/client-native
- 使用 RuntimeAPI
- 使用配置模型
- 镜像
haproxytech/kubernetes-ingress基于haproxytech/haproxy-alpine - 支持 configmap、ingress、service 配置
- 支持 外部 模式
- 问题
- ExternalName #100GitHub Issuehaproxytech/kubernetes-ingress#100
- HTTP 压缩 #196GitHub Issuehaproxytech/kubernetes-ingress#196
- haproxytech/dataplaneapiGitHubhaproxytech/dataplaneapi
- 通过接口动态配置 HAProxy
haproxytech ingress
- 前缀: ingress.kubernetes.io, haproxy.org, haproxy.com
- 配置继承关系: default <- Configmap <- Ingress <- Service
- annotationGitHub Filehaproxytech/kubernetes-ingress/documentation/annotations.md
- logging
| annotation | default | note |
|---|---|---|
| ssl-passthrough | false | 透传 SSL |
| ssl-redirect | false | HTTP -> HTTPS |
| server-ssl | false | 后端 HTTPS |
| forwarded-for | true | |
| backend-config-snippet | ||
| path-rewrite | ||
| send-proxy-protocol | proxy,proxy-v1,proxy-v2,proxy-v2-ssl,proxy-v2-ssl-cn | |
| whitelist |
# 等同于 nginx-ingress backend-protocol HTTPS
# 等同于 nginx proxy_ssl_verify off;
# HAProxy ssl verify none
haproxy.org/server-ssl: 'true'| configmap | default | note |
|---|---|---|
| scale-server-slots | 42 | 生成的 server 个数 |
| global-config-snippet | ||
| frontend-config-snippet | ||
| stats-config-snippet | ||
| proxy-protocol | IPs or CIDRs | |
| syslog-server |
- proxy-protocol
- 接受的 PROXY 客户端来源
- 0.0.0.0/0 允许所有
| controller | default | |
|---|---|---|
| --default-backend-service | e.g. nginx-ingress | |
| --default-ssl-certificate |
Trouableshooting
cat /etc/haproxy/haproxy.cfg | grep -v disabled
ls /etc/haproxy/maps
# host.map path-exact.map path-prefix.map sni.map关联信息
反向链接和本文引用的外部资料。
References
GitHub
10 条- haproxytech/client-nativegithub.com/haproxytech/client-native
- haproxytech/dataplaneapigithub.com/haproxytech/dataplaneapi
- haproxytech/kubernetes-ingressgithub.com/haproxytech/kubernetes-ingress
- haproxytech/kubernetes-ingress/documentationgithub.com/haproxytech/kubernetes-ingress/tree/master/documentation
- haproxytech/kubernetes-ingress/documentation/annotations.mdgithub.com/haproxytech/kubernetes-ingress/blob/master/documentation/annotations.md
- haproxytech/kubernetes-ingress/documentation/controller.mdgithub.com/haproxytech/kubernetes-ingress/blob/master/documentation/controller.md
- haproxytech/kubernetes-ingress#100github.com/haproxytech/kubernetes-ingress/issues/100
- haproxytech/kubernetes-ingress#196github.com/haproxytech/kubernetes-ingress/issues/196
另有 2 个未显示 references。
其他外链
2 条- haproxy-ingress.github.io/docshaproxy-ingress.github.io/docs
- www.haproxy.com/blog/logging-with-the-haproxy-kubernetes-ingress-controllerwww.haproxy.com/blog/logging-with-the-haproxy-kubernetes-ingress-controller
另有 2 个 references 未显示。