Questions tagged [nginx-ingress]

ingress-nginx is an NGINX controller built around the Kubernetes Ingress resource that uses ConfigMap to store the NGINX configuration.

2425 questions
0
votes
1 answer

nginx ingress controller deployed through terraform fails

I am using terraform to deploy a Kubernetes cluster with an nginx ingress controller which is hosted on EKS. The controller pod however fails and enters a CrashLoopBackOff status. Based on the logs, it seems that the ingress controller is failing to…
nocnoc
  • 337
  • 2
  • 12
0
votes
1 answer

Nginx on kubernetes intermitently times out

I'm running out of ideas of what's causing troubles here. My set up : A kubernetes (v1.26) cluster with one master node and one worker, self deployed on VMs A Nginx reverse proxy (currently on the master) A Basic FastAPI pod, with the Deployement,…
0
votes
1 answer

Probe prometheus.io for http_2xx redirecting but not showing value in prometheus blackbox-exporter

I have deployed prometheus blackbox-exporter on kubernetes and accessing it with ingress url as a subpath, blackbox exporter UI is opening but when click on any link in the ui it is redirecting but not showing any value example the…
0
votes
1 answer

Nginx Ingress Controller cache not being hit

We are using the Nginx Ingress Controller image as described here (https://docs.nginx.com/nginx-ingress-controller/) in our Kubernetes (EKS) environment, and we are having big problems trying to implement caching. We have a JSON-based service…
0
votes
1 answer

ingress rule k8s specific path

I want to implement the next rules. I have two services which are pointing to different pods. I have a path /rest-api and /rest-api/topology. I want to point one of them to a svc and another one to a different one. Here is my attempt, but it seems…
0
votes
1 answer

Getting error while apply ingress resource: zone is too small

I am new to Kubernetes. I have create simple cluster with 1 master and 1 worker nodes(both running in 2 different VMs). Additionally there is HA proxy setup in a separate VM. Client Version: v1.24.0 Kustomize Version: v4.5.4 Server Version:…
user1346743
  • 56
  • 1
  • 10
0
votes
0 answers

ALB and NLB in front of nginx

I have a nginx ingress in Kubernetes. In front of it, I have an NLB and ALB. When proxy protocol is enabled, NLB works. When proxy protocol is disabled, ALB works. Is there a way I can make both ALB and NLB work with nginx ingress?
0
votes
0 answers

Nginx reverse proxy not working for location /dashboard

I have following nginx reverse proxy configuration: location / { proxy_pass http://localhost:3000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For…
y.y
  • 308
  • 4
  • 16
0
votes
0 answers

Nginx ingress controller of type internal nlb giving 400 "The plain HTTP request was sent to HTTPS port" error

I have installed nginx ingress controller of type NLB inside EKS cluster and it is of type internal. The ingress controller created a network load balancer, with listeners 80 and 443, with port 443 we can't attach an ssl cert for nlb type, only when…
0
votes
0 answers

Rewrite host specific rules ingress

I assume more than two domains to be used for my multi-tenant code, domain1.com, mydomain2.com each will have a unique identifier and an ID would be maintained for each I want my common app myApp hosted at myappdomain.com to serve both domains using…
Samdeesh
  • 905
  • 11
  • 23
0
votes
0 answers

How to use wildcard in nginx loadbalancersourceranges under bitnami nginx helm-chart

I am using bitnami helm to deploy nginx nginx-ingress-controller on k8s cluster using ArgoCD. It works well, and I am limiting the access via loadBalancerSourceRanges under the values.yaml: loadBalancerSourceRanges: - 205.231.13.209/32, -…
0
votes
0 answers

Ingress NGNIX does not listen on URL with specified port

I am running Azure AKS with Kubenet networking, in which I have deployed several services, exposed on several ports. I have configured a URL based routing and it seems to work for the services I could test. I found out the following: sending URL…
0
votes
1 answer

Removing catch all path breaks ingress

I create a brand new AKS without customization. I apply this simple ingress example : https://learn.microsoft.com/en-us/azure/aks/ingress-basic?tabs=azure-cli path: /(.*) pathType: Prefix backend: service: name: aks-helloworld-one port: number:…
Johannes
  • 6,490
  • 10
  • 59
  • 108
0
votes
1 answer

ingress return 404 not found when use minikube ip

I use ingress in minikube kubectl get ingress http-ingress nginx example.com 192.168.49.2 80 44m I edited /etc/hosts 192.168.49.2 example.com when I use curl example.com it is work. but when I use curl minikube ip (curl…
Muha-mmad
  • 33
  • 4
0
votes
0 answers

Replace ambassador gateway aka emissary ingress to nginx ingress

My team was so far using ambassador ingress aka emissary ingress and now wants to migrate to nginx ingress. I know how to migrate ambassador ingress(mapping yaml) resources into nginx ingress. But wondering how we migrate API-gateway i.e emissary…
Nin
  • 99
  • 1
  • 8