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
0 answers

nginx-controller snippet change error code

To customize the behavior of the Nginx Ingress controller when it returns a status code of 500, you will need to modify the Nginx configuration to capture the status code and customize the response. Here is an example of how you might do this using…
0
votes
2 answers

Docker Registry Kubernetes Files larger then 1GB fail to upload

I'm running docker-registry inside a deployment with ingress setup (nginx-ingress), and I use cloudflare. I started getting issues when trying to push images larger then 1GB if a layer is bit larger then that I just get "Retrying in x", and it…
0
votes
0 answers

"Origin Not Allowed" error when asking Grafana form Azure Front Door with Fronted Domain

When I access Grafana from browser with Azure Front Door Domain, I can login successfully but after sometime i can see "Origin not Allowed" Error, Grafana installed on Kubernetes 1.24v we have Nginx Ingress Controller setup in K8s with public domain…
0
votes
1 answer

Nginx Ingress Controller gives - 404 not found

I'm using HA-Proxy (Independent server) and Kubernetes v1.25.4 cluster (One master and three workers) bare metal based. I have deployed Jenkins andNginx ingress controller with help of this Link, But when i tried to access our jenkins URL…
user4948798
  • 1,924
  • 4
  • 43
  • 89
0
votes
1 answer

How to rewrite target for two paths in an ingress yaml

I have an ingress.yaml with two paths; each to one of my microfrontends. However I'm really struggling to get the rewrite-target to work. mf1 loads correctly, but mf2 doesn't. I've done some research and know I need to use Captured Groups, but can't…
Furkan Öztürk
  • 441
  • 4
  • 21
0
votes
1 answer

rewrite URI with ingress for different k8s services

Basically I need to achieve the workflow as below. I've already deployed the official nginx helm-chart without any custom-values. The flow I'm trying to achieve: • https://test-api.foo.com/ >>> http://k8s-service-A/ •…
Andrew
  • 124
  • 1
  • 12
0
votes
0 answers

Trino with https

I am new to Trino, I have installed Trino using helm chart https://trinodb.github.io/charts but I am not able to get it working on https, Details of my cluster I have a kubeadm cluster deployed on barebones EC2, also have a Ha Proxy installed thats…
SAGE
  • 41
  • 5
0
votes
0 answers

Ingress blocking request body when getting request from behind server, but body present when sent by postman

I have a simple express service whose controller parses a request and processes it. When a request is sent via postman everything works fine. But, if the api request is sent from a proxy I recieve the request, but, don't get the request body. My…
0
votes
1 answer

How to run kubernetes ingress for bultiple api

I want to organize my web apis iwth kubernetes ingress tool. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: myapp-api-ingress annotations: kubernetes.io/ingress.class: nginx # nginx.ingress.kubernetes.io/use-regex:…
barteloma
  • 6,403
  • 14
  • 79
  • 173
0
votes
0 answers

how to get client IP from RKE2 nginx ingress?

i have set up the RKE2 cluster. And there is an "embedded" rke2 nginx ingress in there, their document says that the ingress controller can be modified via the helm rke ingress manifest, but normally in the EKS, there are "externalTrafficPolicy:…
RTC EG
  • 13
  • 3
0
votes
1 answer

How to use wildcard certificates in Kubernetes with nginx ingress and cert-manager?

I am trying to deploy a React website together with an Express API on GKE. There should be multiple subdomains for both the website and the API, i.e. domain.com, a.domain.com, b.domain.com, ... -> React app api.domain.com, a.api.domain.com,…
0
votes
1 answer

Kubernetes Nginx ingress appears to remove headers before sending requests to backend service

I am trying to deploy a SpringbBoot Java application hosted on Apache Tomcat on a Kubernetes cluster using Ngninx Ingress for URL routing. More specifically, I am deploying on Minikube on my local machine, exposing the SpringBoot application as a…
0
votes
1 answer

502 when using Nginx-ingress, Docker Desktop + Kubernetes, Skaffold and Express JS

I am working on a project where I am using Ubuntu 22.04, Docker Desktop, Kubernetes 1.25.2, skaffold v2.0.3, NGINX Ingress Controller, express.js w/ Typescript. I am building out an auth service and when I run skaffold dev it all builds fine and my…
CodeConnoisseur
  • 1,452
  • 4
  • 21
  • 49
0
votes
0 answers

502 bad gateway error on AWS kubernetes cluster with nodejs application

Getting 502 bad gateway error while doing performance testing it occurs randomly on random API only 2-3 times in a 30 min execution ingress logs show this error 11.150.71.00 - - [22/Dec/2022:10:44:17 +0000] "POST /api/quotes/test HTTP/1.1" 502 150…
0
votes
1 answer

Nginx-Ingress and Kubernetes - 404 not found when requesting any route other than /

This is my first time using Docker, Kubernetes, Ingress and Skaffold. I'm following along with a online course, but I'm stuck. When I call just the home path / it returns a response, but any other path that I try returns 404. The first step I took…
Louis Sankey
  • 481
  • 8
  • 26