Questions tagged [haproxy-ingress]

86 questions
7
votes
1 answer

How to rewrite target to correct path in haproxy-ingress?

I try to use haproxy as load balance and haproxy-ingress as ingress controller in k8s. my load balance config: frontend MyFrontend_80 bind *:80 bind *:443 mode tcp default_backend TransparentBack_https backend…
Yang Jie
  • 71
  • 1
  • 2
7
votes
1 answer

no service with name ingress-controller/ingress-default-backend found

This config works in other clusters but not in the last one that I have deployed. There is some kind of problem with my RBAC configuration. kubectl get pods -n ingress-controller NAME READY STATUS …
TlmaK0
  • 3,578
  • 2
  • 31
  • 51
5
votes
1 answer

How to fix "Failed to watch *v1beta1.IngressClass: failed to list *v1beta1.IngressClass: ingressclasses.networking.k8s.io is forbidden"

I have HA proxy ingress in Kubernetes AKS. After upgrading Kubernetes version, I get errors from HA proxy. I tried to solve the problem modifying my old haproxy.yaml to avoid deprecated API's and to get the latest image of HA proxy ingress. But the…
Jesús López
  • 8,338
  • 7
  • 40
  • 66
4
votes
1 answer

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.
3
votes
0 answers

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…
gbajson
  • 1,531
  • 13
  • 32
2
votes
0 answers

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 controller uses this image:…
2
votes
1 answer

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 annotations: haproxy.org/check: 'true' …
zozo6015
  • 557
  • 2
  • 11
  • 27
2
votes
2 answers

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 about to divide worker nodes equally between two…
mirekphd
  • 4,799
  • 3
  • 38
  • 59
2
votes
1 answer

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.
2
votes
0 answers

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 doesn't work quite yet. A GET request works fine,…
2
votes
1 answer

Why ingress rules are not followed? default backend is reached instead

I have HA proxy ingress installed on Kubernetes AKS. I installed it using: helm install ingress haproxy-ingress/haproxy-ingress My ingress is this: apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: ravendb namespace:…
2
votes
0 answers

How to enable CORS on HAproxy?

I'm running HAproxy as a proxy for backend APIs on Docker Swarm. Haproxy config supports CORS, but when I try to access one of the API endpoints, it results in the following error: "Access to XMLHttpRequest at…
2
votes
1 answer

How kubernetes external ip multi-pod routing works?

I have bare metal Kubernetes cluster with haproxy ingress controller (daemon set) on external ip. Is it possible to restrict kube-proxy to route to local haproxy ingress pod? To be more specific, I have 2 pods of haproxy ingress controller and use…
2
votes
1 answer

Cannot export a IP in minikube and haproxy loadBalancer

I'm newer with kubernetes. I've installed minikube v1.5.2 in a virtualbox VM (ubuntu 19.10). I want to create a web server that I can access from the host and guest. However, I can't access it or expose an IP. Could you help me? I've already…
r4mpz0
  • 43
  • 6
1
vote
1 answer

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 documentation to setup a certificate per ingress. But…
Hazard4U
  • 68
  • 8
1
2 3 4 5 6