Questions tagged [haproxy-ingress]

86 questions
1
vote
1 answer

Is there an endpoint in the HAProxy Data Plane API that gives the current file version?

I am using the Data Plane API to start a transaction. I notice the top of my haproxy file looks like this. # _version=130 When I start my app to consume this API I read that value to base my transaction version on. However, sometimes it gets stuck…
1
vote
1 answer

How do I capture external I.P. address of end user on Voyager/HAProxy/Kubernetes?

I would like to capture the external I.P. address of clients visiting my application. I am using kubernetes on AWS/Kops. The ingress set-up is Voyager configured HAProxy. I am using the LoadBalancer service. I configured HAProxy through Voyager…
James Render
  • 1,490
  • 1
  • 14
  • 26
1
vote
0 answers

HAProxy Ingress Controller and Let's Encrypt

I am trying to use the HAProxy Ingress Controller with Let's Encrypt for the SSL on GKE. But I think HAProxy does not support Let's Encrypt. These are the steps I did. 1. Created HAProxy Ingress Controller 2. Created Cert Manager and Cluster…
1
vote
2 answers

How to deploy a letsencryp with cert-manager and HAProxy-ingress

Digging into www, didn't found an answer: I want to know how I can use cert-manager with haproxy-ingress and lets encrypt. Any documentation / guidelines?
1
vote
0 answers

How would I use my custom ingress-default-backend?

I am using haproxy ingress controller, however I need to redirect traffic from / to some url, so I am using my custom default backend, But when I use it, when I try to send the traffic on / it does not redirects traffic to specified url,sometimes it…
namrata
  • 347
  • 1
  • 3
  • 11
0
votes
0 answers

Kubernetes: Haproxy used as tcp loadbalancer

I'm trying to setup haproxy as tcp loadbalancer, i have an haproxy installation via helm and i set this in the value file: tcp: "26257": "cockroachdb-instance/cockroachdb-public:26257::::-" In the deployment a configmap is correctly…
0
votes
0 answers

HaProxy allow root path and some subpaths but deny all the rest

I would like to deny all the traffic on haProxy, unless path is: / /somepath /someorherpath Currently I have these rules: acl allowed_pages path_beg / acl allowed_pages path_beg /somepath acl allowed_pages path_beg /someotherpath http-request…
0
votes
2 answers

Kubernetes: Haproxy ingress isn't taking on any addresses

I'm running Kubernetes v1.25.9+rke2r1. I have a Metallb correctly setup with an external ip address and haproxy ingress controller. I need to expose a cockroachdb instance via ingress and I set up that config in the crdb instance correctly and the…
0
votes
0 answers

HAPRoxy Configuration is throwing SSL Handshake error in Production

Facing SSL handshake failure with the the below HAProxy configuration and Outage in our production environment. Flow: We are using a Load balancer to distribute the traffic between the servers Server Proxy request has been handled by the…
0
votes
0 answers

(haproxy-ingress) Use Same Port to access mulitiple backend services based on hostname

I'm using helm chart https://artifacthub.io/packages/helm/haproxy-ingress/haproxy-ingress to install haproxy-ingress into my kubernetes cluster. I am wanting to expost tcp services externally. I can successfully do that using these helm…
xadamz23
  • 1
  • 1
0
votes
1 answer

Kuberenetes ExternalName service forwarding request to service outside cluster

We have a requirement to forward the request to service outside of cluster. / -> some service outside cluster (someapi.com) /api -> service inside cluster When I try to hit the https://someapi.com/health it gives me proper response but not through…
Jayesh
  • 6,047
  • 13
  • 49
  • 81
0
votes
0 answers

Openshift haproxy logformat for ssl logging

Need help with logformat string to be set for haproxy 2.2.48 version used by Openshift 4.10 for logging ssl related attributes for trouble shooting ssl connection failures like sal cert, chiper, ssl error etc. right now it just prints fe/sni: SSL…
Nagarjuna
  • 1
  • 1
0
votes
0 answers

haproxy starts empty (without tcp service section)

we use haproxy-ingress v0.13.6 (HA-Proxy version 2.3.17-d1c9119 2022/01/11) (and the previous haproxy-ingress versions performed the same) on k8s 1.19 and from time to time we have a problem when haproxy pod restarts due to liveness, node, or other…
Yegor
  • 1
  • 2
0
votes
0 answers

Can't get version of the global server state file '/var/state/haproxy/global'

I have installed HAProxy-Ingress into my Kubernetes, I keep getting error 404 when trying to resolve paths, the reason is certainly this error, logged in the controller : 2022/11/22 23:49:18 INFO controller.go:165 HAProxy reloaded [NOTICE] …
0
votes
0 answers

add failover in HA proxy in kubernetes

I am trying to implement failover https://www.haproxy.com/blog/failover-and-worst-case-management-with-haproxy/ using HA proxy. My current environment is on Azure. I have deployed two application and an ingress controller and ingress. where I am…