Questions tagged [ingress]

83 questions
7
votes
3 answers

Nginx Ingress 504 timeout - EKS with ELB connected to nginx ingress

We are using a NLB in AWS connected to our EKS cluster via a nginx ingress controller. Some of our requests get a random 504 gateway timeout. We think we debugged the problem to our nginx ingress. Based on some Stackoverflow recommendations we…
Siva Vg
  • 73
  • 1
  • 4
6
votes
1 answer

Can't delete dangling k8s load balancer due to http target proxy that doesn't exist

I'm trying to delete the forwarding rule, target proxy, url map and backend services that belong to an extinct k8s ingress. I successfully delete the forwarding rule and target proxy but then when I go to delete the url-map I get this: gcloud…
4
votes
1 answer

ERR_SSL_PROTOCOL_ERROR on otherwise working kubernetes ingress/service

I have a basic nginx deployment and an existing certificate issued by let's encrypt via cert-manager. I thought everything was in place to start using the certificate but I'm unable to connect on https. Connecting to the LoadBalancer IP and the…
Archonic
  • 314
  • 2
  • 5
  • 13
4
votes
1 answer

Exposing simple pod using kubernetes ingress

Hi I'm learning kubernetes and I'm having trouble exposing the service. I want to route traffic to my cluster from HAProxy. I'm using my own bare-metal server. EDIT: I've also created an ingress controller. Now, when I describe my ingress I can see…
Paweł Zając
  • 43
  • 1
  • 5
3
votes
1 answer

Running MQTT broker in Kubernetes (nginx-ingress-controller) with TCP over SSL

I'm currently trying to setup a MQTT broker (VerneMQ) on my kubernetes cluster (GKE). At the moment I'm using nginx-ingress-controller with a Google provided L4 load balancer. The VerneMQ deployment and service are running in the cluster and a…
3
votes
1 answer

Achieving stickiness on kubernetes cluster with ingress-gce

I'm trying to achieve stickiness on kubernetes cluster but I am redirected to a different pod every time I access the load balancer. I have session affinity set to 'ClientIP' and also tried with 'Generated Cookie'. I have the following backend…
3
votes
1 answer

Kubernetes nginx-ingress load balancer external IP pending

In my Kubernetes cluster I want to bind a nginx load balancer to the external IP of a node. However, the external IP is always shown as "pending". The cluster runs on two root-servers using weave. Is there anything I can do to fix this? Using the…
3
votes
1 answer

Change container ports in Kubernetes in production

I have an nginx Dockerimage listening on some port as defined int its nginx.conf. That image is deployed as a workload in Kubernetes (GKE) and an ingress points to it. The image's port is - both as port and targetPort - set in the workload config…
cis
  • 217
  • 2
  • 9
3
votes
1 answer

Kubernetes Nginx Ingress Controller Metrics

I've tried to find a documentation about the metrics exposed by the NGINX ingress controller in Kubernetes but so far I haven't found any reliable source about the metrics and what they mean. For example, there are three different request_size…
3
votes
2 answers

How to change the default certificate chain in Kubernetes Ingress

I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip) The certificate chain defaults to DST Root CA X3 but I would like to change it to alternative ISRG Root…
2
votes
2 answers

How to keep Authentication header with redirect using NGINX ingress annotations

I have an nginx ingress controller for my kubernetes cluster. I have a need to add a permanent redirect to an ingress which I can successfully do with nginx.ingress.kubernetes.io/permanent-redirect: "http://www.example.com" This works great, except…
G. Ball
  • 131
  • 1
  • 2
2
votes
1 answer

Setting up HTTP Load Balancing with Nginx Ingress Controller

Could somebody write up the steps of setting up HTTP Load Balancing with Nginx Ingress Controller for Google Kubernetes Engine? I followed this GKE tutorial for a basic Ingress. It got a Forwarding Rule in Load Balancing tab in the end. I guess if I…
lucahuy
  • 121
  • 1
2
votes
1 answer

Kubernetes Nginx Ingress Controllers log to Stackdriver

I'm using Nginx Ingress Controller on GKE and I want to send its logs to Stackdriver with the following format https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#HttpRequest. At the moment it’s just sending the plain text payload.…
john
  • 151
  • 4
2
votes
1 answer

Ingress returns 'default backend - 404' on Minikube

I'm trying to set up a very simple Kubernetes cluster with frontend, backend and db services. Here is part of the Frontend service definition file: apiVersion: v1 kind: Service metadata: name: frontend labels: tier: frontend spec: …
zmbq
  • 665
  • 1
  • 7
  • 9
2
votes
0 answers

Adding a unique request header to hundreds of Ingresses with Traefik 2

we're (finally) migrating from Traefik 1 to 2. We run 400+ apps on GKE. Our one remaining challenge is this: In Traefik 1 we set an annotation on each app's Ingress that adds a header to the request to the backend. The value of that header is unique…
Martijn Heemels
  • 7,438
  • 6
  • 39
  • 62
1
2 3 4 5 6