Questions tagged [haproxy-ingress]

86 questions
0
votes
1 answer

HAProxy always throws 404 even after configured the ingress paths

I have installed the HAProxy controller in AKS by following the documentation here https://www.haproxy.com/documentation/kubernetes/latest/installation/community/azure/. When I try to navigate the External load balancer IP as expected I was getting…
0
votes
0 answers

haproxy kubernetes ingress log source ip address shows Kubernetes node ip address

I'm running HAProxy Kubernetes Ingress as a Daemonset. There is no Load Balancer in front of HAProxy - client browsers connect directly to the HAProxy service > ingress controller, which is correctly routing to the application. We can't set the…
Pharaoh Tools
  • 161
  • 3
  • 7
0
votes
0 answers

Whitelisting ips in azure aks haproxy controller

I am having a difficult time for some reason, getting expected behavior when whitelisting ips inside Ingress resource when haproxy controller is using in Azure AKS. I am following this documentation:…
0
votes
0 answers

haw to deploy URL with ingress in kubernetes

I don't know why ingress does not work this my code : apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: node spec: ingressClassName: nginx rules: host: backend.io http: paths: path: / pathType:…
0
votes
1 answer

HAProxy Server going into maintenance mode at startup

I am relatively new to HAProxy, so if you see anything I'm doing weird, please let me know. I'm setting up HAProxy in Docker to load balance my micro services (also in docker containers) across 2 hosts. The two hosts are setup with docker swarm and…
wymangr
  • 189
  • 3
  • 16
0
votes
0 answers

Haproxy ACL for query-string "Authorization"

I am trying to create ACL in Haproxy to query Authorization from request header and route to backend based on AccessID. I have used map file which are populated with AccessID and backend server. I am sure that my ACL is not working and hence I am…
0
votes
1 answer

Haproxy ingress and regex pathType

I'm migrating an architecture to kubernetes and I'd like to use the Haproxy ingress controller that I'm installling with helm, according the documentation (version 1.3). Thing is, when I'm defining path rules through an ingress file, I can't define…
GregOs
  • 403
  • 3
  • 13
0
votes
0 answers

HAProxy Ingress controller : Startup Probe failing /healthz

I have deployed a Kubernetes cluster on digital ocean droplet (using kubeadm). I installed HAProxy using helm chart (as suggested in their blog https://www.haproxy.com/blog/use-helm-to-install-the-haproxy-kubernetes-ingress-controller/) helm install…
Keval Bhogayata
  • 4,422
  • 3
  • 13
  • 36
0
votes
1 answer

haproxy-ingress always sends 404

I have a haproxy-ingress (v0.13.5, default helm setup) in an aws hosted kubernetes cluster (v1.21.2-eks-06eac09) and a single service/deployment. The service is up and running and can be called via curl successfully and the haproxy stats page shows…
Marc W.
  • 63
  • 8
0
votes
2 answers

How to ensure stickiness between an AWS NLB and a HAProxy pod?

I have created an AWS EKS cluster to which I deployed HAPRoxy Ingress Controller backed by a Network Load Balancer (NLB) which is deployed in 3 AZs of the cluster region. To ensure high availability across multiple Availability Zones in the cluster…
0
votes
1 answer

Bad redirection through ingress-controllers with custom ports on OpenShift

My scheme: Previous traffic path: -- 80 --> Ingress -- 80 --> Nginx -- 8123 --> Backend I've changed the listening ports in the Nginx container to migrate from k8s to OpenShift. Now my Nginx works on port 8081 instead of 80. Current traffic…
0
votes
1 answer

Haproxy redirection but keeping the URL same?

I have a xml file under https://example.com/assets/content/foo.xml but I want it to access it as https://example.com/foo.xml. So outcome will be, the browser URL SHOULD BE = https://example.com/foo.xml but I will get the file context from…
SAGAR BHOOSHAN
  • 309
  • 2
  • 11
0
votes
1 answer

How do I get a single Ingress to be handled by just one of two HAProxy Ingress Controllers on AKS?

I have two separate IngressControllers, one internal and one external. I would like to define which controller to use for each Ingress. I have defined --ingress.class=hapxroxy-ext arg for the external controller and --empty-ingress-class for the…
logicaldiagram
  • 1,019
  • 11
  • 20
0
votes
2 answers

HAProxy Ingress Controller Service Changed IP on GCP

I am using HAProxy as the ingress-controller in my GKE clusters. And exposing HAProxy service as LoadBalancer service(Internal). Recently, I experienced an issue, where the HA-Proxy service changed its EXTERNAL-IP, and traffic stopped routing to…
0
votes
1 answer

HAProxy TCP (443) Loadbalancing with different backend ports

I'm implementing a Frontend Loadbalancer which passthrough the traffic coming to port 80 and 443 to different backend ports. SSL termination is happening in the backend and HAproxy should not engage with anything other than forwarding the traffic…