Questions tagged [nginx-ingress]

The NGINX Ingress Controller for Kubernetes is an alternative Kubernetes ingress controller that can be used instead of the default ingress controller.

From NGINX website:

The NGINX Ingress Controller for Kubernetes provides enterprise‑grade delivery services for Kubernetes applications, with benefits for users of both NGINX Open Source and NGINX Plus. With the NGINX Ingress Controller for Kubernetes, you get basic load balancing, SSL/TLS termination, support for URI rewrites, and upstream SSL/TLS encryption. NGINX Plus users additionally get session persistence for stateful applications and JSON Web Token (JWT) authentication for APIs.

97 questions
0
votes
1 answer

nginx route traffic from ip in path to local ip

I am trying to route the traffic from an nginx, to a specific IP, corresponding to a path. Basically if I am accessing http://example.com/192.168.0.2/something, I want to redirect the traffic to the pod with that specific IP (the result should be…
zozo
  • 783
  • 3
  • 11
  • 22
0
votes
1 answer

Nginx Ingress-Controller Load Balancing

I was wondering how does the ingress controller make sure that the incoming requests for the K8S cluster is load-balanced between all the K8S nodes. I know that with some other ingress controllers there is an external load balancer in front of the…
G.Bar
  • 13
  • 2
0
votes
0 answers

NGINX Ingress giving 503 Service Temporarily Unavailable. nginx/1.19.1 error in frontend

I am trying to install the Cyclos Mobile app on GCP Everything setup perfectly but when I am trying to access the setup on browser it always showing either default backend - 404 or 503 Service Temporarily Unavailable. nginx/1.19.1. I have tried…
0
votes
1 answer

Preventing directory traversal in nginx ingress in Kubernetes

I have the following ingress defined: --- apiVersion: extensions/v1beta1 kind: Ingress metadata: name: someName namespace: test annotations: kubernetes.io/ingress.class: "ingress-public" nginx.ingress.kubernetes.io/affinity: "cookie" …
Farhan.K
  • 63
  • 7
0
votes
1 answer

Access-Control-Allow-Origin value overrided for OPTIONS requests

I am trying to enable CORS for multiple subdomains, like was suggested here: https://serverfault.com/a/1022028/593976 It works fine, except for OPTIONS requests. No matter what I do when the request method is OPTIONS the Access-Control-Allow-Origin…
Marcel Horner
  • 11
  • 1
  • 3
0
votes
1 answer

What's causing Network Egress consumption in a GKE cluster?

I have a not-so-small cluster hosted on Google Kubernetes Engine (2 e2-standard nodes) with a couple of web services talking to each other. The architecture is composed by: 2 Cloud SQL instances, hosted on GCP 1 deployment and 1 statefulset, 1…
-2
votes
1 answer

Getting issue with nginx ingress controller

I'm getting issue with nginx ingress Error: invalid virtual server or virtual server route How to fix this above error?
1 2 3 4 5 6
7