Questions tagged [haproxy-ingress]
86 questions
1
vote
1 answer
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 letsencrypt, needed by the application…

salai
- 71
- 5
1
vote
0 answers
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 haproxy ingress for other services on EKS Kubernetes,…

J_DevOps
- 21
- 2
1
vote
1 answer
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 mistaken the following configmap / annotation…

Marc W.
- 63
- 8
1
vote
1 answer
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 code.
Nov 4 11:56:31 localhost haproxy[24972]:…

someone
- 6,577
- 7
- 37
- 60
1
vote
0 answers
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.io/session-cookie-keywords: indirect nocache…

Jan Ziegler
- 106
- 1
- 4
1
vote
0 answers
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 the following error:
❱❱❱ redis-cli -h…

kadamb
- 1,532
- 3
- 29
- 55
1
vote
1 answer
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 are receiving IP of ingress which is…

Goforseeking
- 385
- 1
- 3
- 15
1
vote
1 answer
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 the GKE cluster in GCP, and using HAProxy as the…

kadamb
- 1,532
- 3
- 29
- 55
1
vote
1 answer
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 make an https request to the service?
Is it…

applecodervinegar
- 93
- 2
- 11
1
vote
2 answers
Do a http request from lua before haproxy routing a request
I have a Lua proxy that needs to route requests. Each request destination is established based on the response from another HTTP request with a header from the initial request. My understanding is that HAProxy is an event-driven software, so…

user1995187
- 393
- 5
- 18
1
vote
1 answer
kubernetes ingress backend and frontend routing
I have an application backend and frontend and I want to separate the traffic using prefix /api
I usually do this with Nginx and docker-compose using this configuration :
upstream server {
server backend:6969;
}
server {
listen 80;
…

Hussein Feras
- 21
- 6
1
vote
1 answer
configure haproxy ingress on k8s v19 for jenkins application on Redhat Linux 7.9 server
I am deploying the Jenkins application using k8s v19 on Redhat 7.9 machine.I could able to connect to an application URL with port number(jenkins-test-ci.xyz.com:32419(node port).) but not able to log in via jenkins-test-ci.xyz.com.
I have…

Rituraj
- 43
- 6
1
vote
1 answer
TLS handshake fails intermittently when using HAProxy Ingress Controller
I'm using HAProxy Ingress Controller (https://github.com/helm/charts/tree/master/incubator/haproxy-ingress) for TLS-termination for my app.
I have a simple Node.JS server listening on 8080 for HTTP, and 1935 as a simple echo server (not HTTP).
And I…

someone
- 100
- 2
- 8
1
vote
0 answers
Haproxy SSL termination : Layer4 connection problem, info: "Connection refused"
I was trying to implement SSL termination with HAProxy.
This is how my haproxy.cfg looks like
frontend Local_Server
bind *:443 ssl crt /home/vagrant/ingress-certificate/k8s.pem
mode tcp
reqadd X-Forwarded-Proto:\ https
…

Rahul Wagh
- 470
- 1
- 6
- 23
1
vote
1 answer
haproxy-ingress not doing health check on TCP service
I have haproxy-ingress set up on my kubernetes cluster. It is working fine, I needed to set up memcached, deployed it and configured my haproxy-ingress with tcp-services-configmap and my configmap is as follows for the TCP services:
apiVersion:…

Sean Iffland
- 29
- 6