Questions tagged [haproxy-ingress]
The haproxy-ingress tag has no usage guidance.
92
questions
0
votes
1
answer
89
views
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....
0
votes
0
answers
35
views
kubernetes cannot connect to pods from haproxy-ingress [closed]
I set up a basic k8s cluster with haproxy-ingress set up externally. I followed the URL at https://www.haproxy.com/documentation/kubernetes/latest/installation/community/external-mode/external-mode-on-...
0
votes
0
answers
23
views
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 ...
0
votes
0
answers
57
views
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 ...
0
votes
1
answer
153
views
Kubernetes Ingress TLS is set but a wrong certificate is served at the end
I am currently trying to use Collabora Online (a tool to edit documents in collaboration) with Kubernetes. I managed to setup ssl but I would like to have my own certificate.
I followed haproxy ...
0
votes
0
answers
96
views
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 ...
0
votes
0
answers
38
views
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 ...
0
votes
1
answer
41
views
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 ...
0
votes
0
answers
164
views
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 ...
0
votes
0
answers
68
views
Unable to reach service/API from outside the cluster - Kubernetes (Metallb+HAProxy Ingress Controller)
I've created a bare-metal multi-master k8s cluster using kubekey.
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
master1 Ready control-plane,master 23h v1.23.10
...
0
votes
0
answers
53
views
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
17
views
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: /
...
0
votes
0
answers
177
views
How to apply SSL termination for TCP Ports using Nginx Ingress Controller
How to apply SSL termination for TCP Ports using Nginx Ingress Controller?
With Haproxy web service I am applying SSL termination on TCP ports with the below config
frontend aqmp_5671
bind *:5671 ...
0
votes
0
answers
24
views
Kubernetes TCP Load Balancing Based On Content
I have a TCP based application, which sends some ID on the first bytes when connecting to the server.
I want to use this ID to determine which server the load balancer should forward to.
(The first 4 ...
0
votes
1
answer
294
views
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 ...
0
votes
0
answers
17
views
How to pass 4 level domain to cluster in haproxy
I have an issue with haproxy: it is not passing 4-level domains to the cluster in HTTP. I can pass to the third level.
Part of haproxy config regarding http
frontend http
bind *:8080
use_backend ...
0
votes
1
answer
328
views
Can get TLS certificates from cert-manager/letsencrypt for either testing or production enviroments in kubernetes, but not both
I wrote a bash script to automate the deployment of an application in a kubernetes cluster using helm and kubectl. I use cert-manager to automate issuing and renewing of TLS certificates, obtained by ...
0
votes
0
answers
233
views
URL path aliasing for multiple applications in HAProxy
This question is similar to this question, however deals with HAProxy 2.5+.
I'm wanting to have multiple applications have aliased subpaths however I'm having a hard time wrapping my head around how ...
0
votes
0
answers
30
views
HaProxy ingress controller v0.12 on Kubernetes v1.17
I know version 1.18 is required per documentation. But was able to find why ... from change log it is not that clear what breaks it (https://github.com/jcmoraisjr/haproxy-ingress/blob/master/CHANGELOG/...
1
vote
0
answers
272
views
How to access Alertmanager, Grafana and Prometheus URLs or DNS records with ingress in the kube_prometheus_stack helm chart values.yaml file?
In the kube_prometheus_stack helm chart values.yaml file, I made the following changes to access the DNS records of Alertmanager, Grafana and Prometheus with ingress. Since we are currently using ...
0
votes
0
answers
154
views
HAProxy log-forward section doesn't run
I try to send firewall logs to syslog using UDP. Between the syslog and the firewall I have an HAProxy cluster.
I saw that the flow arrives to the HAProxy but when I activate debug mode there is no ...
0
votes
0
answers
594
views
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 ...
0
votes
1
answer
475
views
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 ...
0
votes
0
answers
128
views
HAProxy Ingress and name of the LoadBalancer in GCP
is there a way to define the name of the loadbalancer which is created for haproxy ingress controller in GKE/GCP via annotations.
Currently the name is just a random hash and its not written back to ...
0
votes
0
answers
119
views
ERR_HTTP2_PROTOCOL_ERROR -UPLOAD TAKES TIME
I have a haproxy ingress controller deployed in my cluster. I have deployed ingress for a UI React JS application.We are facing ERR_HTTP2_PROTOCOL_ERROR . When we upload small files, it is ok . But we ...
0
votes
0
answers
109
views
How can I deploy multiple haproxy pods to the same node on AWS EKS?
I am running an AWS EKS cluster to which I am deploying HAPRoxy ingress, specifically https://github.com/jcmoraisjr/haproxy-ingress.
If I have 3 nodes, I can only deploy 3 haproxy ingress pods, one on ...
0
votes
0
answers
258
views
HAProxy Ingress controller : Startup Probe failing <ip>/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-...
0
votes
1
answer
796
views
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 ...
0
votes
2
answers
178
views
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 ...
2
votes
0
answers
506
views
HAProxy Ingress Rewrite rules seemed not applied
I'm trying to setup a simple ingress with path rewriting to pass requests to my backend services.
Ref.: https://haproxy-ingress.github.io/v0.10/docs/configuration/keys/#rewrite-target
The ingress ...
2
votes
1
answer
1k
views
Haproxy ingress controller
I have installed ingress controller via helm as a daemonset. I have configured the ingress as follows:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: webapp-ingress
namespace: rcc
...
1
vote
1
answer
679
views
haproxy use pod name as server name
I have a haproxy as a load balancer running in k8s with a route to a service with two running pods. I want the server naming inside haproxy to correspond to the pod names behind my service. If I'm not ...
2
votes
2
answers
225
views
Best method to keep client-server traffic in the same region in Kubernetes/Openshift?
We run a Kubernetes-compatible (OKD 3.11) on-prem / private cloud cluster with backend apps communicating with low-latency Redis databases used as caches and K/V stores. The new architecture design is ...
0
votes
1
answer
1k
views
Meaning of HA-Proxy log
Getting following log in HA-Proxy, and its not hitting to my spring-boot application's controller method. And also it is not mentioning the http status code as well. but other requests has http status ...
1
vote
0
answers
202
views
Extending lifetime of affinity cookie per request
We´re using an haproxy ingress in our kuberntes cluster with cookie affinity for sticky session handling.
The ingress configuration like this:
ingress.kubernetes.io/affinity: cookie
ingress.kubernetes....
3
votes
0
answers
177
views
Route incoming traffic to pods with labels specified in URL
I would like to use parameter passed in URL to route traffic to pods with specific labels. I can't tell in advance which values of app will be used, so it must somehow dynamically create Ingres rules/...
4
votes
1
answer
327
views
How terminate ssl over tcp on kubernetes
I want to deploy mqtt broker with tcp port 1883 and terminate ssl out of broker.
I know how to open tcp port with haproxy-ingress and nginx-ingress but don't know how I can use ssl terminate with it.
2
votes
1
answer
617
views
Vernemq port 1883 with haproxy-ingress and also SSL termination
I'm trying to deploy vernemq on kubernetes and want to access it with subdomain with ssl but ssl should be terminated before request go to vernemq on port 1883.
1
vote
0
answers
246
views
How to override default mode in HAProxy Ingress Controller
I am using the HAProxy ingress controller in my EKS Kubernetes setup.
Recently I tried to set up a Redis instance on my k8s.
When I tried to connect and run any command from outside the cluster, I got ...
0
votes
1
answer
267
views
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 ...
0
votes
1
answer
447
views
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....
0
votes
1
answer
373
views
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 ...
1
vote
1
answer
196
views
How to get actual source IP address on Application Pod using HAproxy as Ingress
We have deployed haproxy as ingress on our Kubernetes Cluster in remote DC.
Our use case is to get actual source IP (Client IP) on application pod which is php 7.2 based and running in httpd. But we ...
1
vote
1
answer
353
views
GCP-LB unevenly distributing traffic to HAProxy Ingress Controller Pods
As the title suggests, GCP-LB or the HAProxy Ingress Controller Service which is exposed as type LoadBalancer is distributing traffic unevenly to HAProxy Ingress Controller Pods.
Setup:
I am running ...
1
vote
1
answer
841
views
how to send https request from lua in haproxy before routing request?
I used haproxy Socket class as outlined here https://www.haproxy.com/blog/5-ways-to-extend-haproxy-with-lua/#actions to make http request to external service from lua code (See code below).
How can I ...
0
votes
2
answers
541
views
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 ...
2
votes
0
answers
595
views
Reverse proxy S3 bucket via Haproxy
I'm trying to setup a reverse proxy to my S3 bucket (I'm using DigitalOcean Spaces) using Haproxy (specifically Haproxy Ingress).
After some trial and error, I got somewhere with the proxy, but it ...
0
votes
1
answer
1k
views
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 ...
0
votes
1
answer
706
views
Understanding timeouts in haproxy ingress controller
I am using HAProxy as an ingress controller in my GKE cluster.
This is what my configurations look like, for a service which I want to timeout in X milliseconds:
---
apiVersion: v1
kind: Service
...
0
votes
2
answers
913
views
Parse namespace to values file
I'm trying to add the {{ .Release.Namespace }} to a string, but it's parsed literally as just {{ .Release.Namespace }} and not as the namespace itself. I've tried using quotes (") and using tpl, ...