ingress-nginx is an NGINX controller built around the Kubernetes Ingress resource that uses ConfigMap to store the NGINX configuration.
Questions tagged [nginx-ingress]
2425 questions
20
votes
1 answer
Ingress controller to route TCP traffic
I'm trying to setup an ingress controller(nginx) to forward some TCP traffic to a kubernetes service(GCP). There's this tutorial that shows how to route HTTP traffic to services (based on the paths) using nginx. I want to have a similar setup to…

rasthiya
- 650
- 1
- 6
- 20
20
votes
4 answers
nginx-ingress config map snippets being ignored by the nginx.conf
I have a kubernetes cluster, where I have deployed an nginx ingress controller using the helm nginx-ingress chart.
I need to add some custom config to the nginx.conf file that is generated in the nginx-controller-pod, and I am seeing an issue where…

Declan McNulty
- 3,194
- 6
- 35
- 54
18
votes
6 answers
CertManager Letsencrypt CertificateRequest "failed to perform self check GET request"
Waiting for http-01 challenge propagation: failed to perform self check GET request, it's similar to this bug https://github.com/jetstack/cert-manager/issues/656
but all solutions from GitHub ticket comments didn't help.
I'm trying to set up…

Kirill
- 7,580
- 6
- 44
- 95
18
votes
2 answers
When I would use the "App Root" annotation in Kubernetes
I've read the docs a thousand times but I still don't understand how I would use the nginx.ingress.kubernetes.io/app-root annotation.
Can someone please provide an example + description in plain english?
Docs:…

PussInBoots
- 11,028
- 9
- 52
- 84
17
votes
8 answers
Nginx Ingress returns 413 Entity Too Large
on my Cluster, I'm trying to upload a big file but when I try, I get the 413 Error
error parsing HTTP 413 response body: invalid character '<' looking for beginning of value: "\r\n413 Request Entity Too…

v2to
- 409
- 1
- 5
- 11
17
votes
4 answers
Nginx ingress controller websocket support
Recently I've been working on a toy app using Kubernetes. Part of the app is a web server that needs to support WebSockets. Currently, I'm using port-forwarding to access the web server and everything works just fine.
I'd like to switch to using an…

Kit Freddura
- 191
- 1
- 1
- 5
16
votes
2 answers
NGINX ingress controller timing out request after 60s
When a request takes over 60s to respond it seems that the ingress controller will bounce
From what I can see our NGINX ingress controller returns 504 to the client after a request takes more than 60s to process. I can see this from the NGINX…

Dave New
- 38,496
- 59
- 215
- 394
16
votes
6 answers
How can I correctly setup custom headers with nginx ingress?
I have the following configuration:
daemonset:
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: nginx-ingress
namespace: nginx-ingress
spec:
selector:
matchLabels:
app: nginx-ingress
template:
metadata:
…

Andrei Dascalu
- 1,059
- 2
- 14
- 26
15
votes
1 answer
how to delete a ingress controller on kubernetes?
I have a Kubernetes cluster in which I have multiple ingress controllers. I have deleted the source file of one ingress controller. How can I delete the ingress controller that I don't want further ??

ashique
- 935
- 2
- 8
- 26
15
votes
2 answers
How do we install dynamic modules (non support officially) on Nginx Ingress Controller? (terraform, helm chart)
I'm managing Kubernetes + nginx.
I'd like to install dynamic modules on nginx that are provided by Nginx Ingress Controller.
Those dynamic modules are not offered by Nginx Ingress Controller official configmap…

mto
- 219
- 1
- 4
15
votes
5 answers
How can I access nginx ingress on my local?
I can't connect to my app running with nginx ingress (Docker Desktop win 10).
The nginx-ingress controller pod is running, the app is healthy, and I have created an ingress. However, when I try to connect to my app on localhost, I get "connection…

RMorrisey
- 7,637
- 9
- 53
- 71
15
votes
3 answers
Why does my bare-metal kubernetes nginx Ingress-controller return a 308?
I am trying to create add the nginx ingress controller to my kubernetes cluster. My current cluster has 3 nodes and they all have open firewall rules in between them. (Note: This is a bare metal cluster for educational purposes)
I have created a…

nbroeking
- 8,360
- 5
- 20
- 40
14
votes
4 answers
Kubernetes ingress domain redirect
i want to redirect domain in nginx ingress kubernete.
https://test.example.io/preview/qLxiVcDGxCaQ134650121853FTg4
if in url preview comes change domain redirect
https://test.app.example.io/preview/qLxiVcDGxCaQ134650121853FTg4
what i was…

Harsh Manvar
- 27,020
- 6
- 48
- 102
13
votes
2 answers
What exactly does nginx.ingress.kubernetes.io/rewrite-target: /$1 mean in minikube annotation?
While working with minikube ingress, I have to write nginx.ingress.kubernetes.io/rewrite-target: /$1. I have been trying hard to understand why we need this annotation and how to use it.
I know that the doc says the following:
In some scenarios the…

vagdevi k
- 1,478
- 9
- 25
13
votes
4 answers
How can I assign a static IP to my EKS service?
I have an EKS cluster.
I created my service and exposed it using ingress-nginx.
ingress-nginx external IP appears as a DNS name and not as IP.
How can I connect my private domain to point to my EKS service?
I know that there is an annotation for…

alexarsh
- 5,123
- 12
- 42
- 51