Questions tagged [ingress-nginx]

If you encounter issues, review the [troubleshooting docs](https://github.com/kubernetes/ingress-nginx/blob/main/docs/troubleshooting.md), [file an issue](https://github.com/kubernetes/ingress-nginx/issues), or talk to us on the [#ingress-nginx channel](https://kubernetes.slack.com/messages/ingress-nginx) on the Kubernetes Slack server.

If you encounter issues, review the troubleshooting docs, file an issue, or talk to us on the #ingress-nginx channel on the Kubernetes Slack server.

105 questions
1
vote
0 answers

ingress-nginx: rewrite without affecting assets

I'm having the following case with ingress-nginx 1.8.0: I want to redirect the starting page from domain.com to domain.com/pl This is working fine when i'm using the following ingress config: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: …
theraven
  • 21
  • 7
1
vote
1 answer

Ingress-nginx not assigned External-IP on AWS using helm chart installation

I am trying to install ingress-nginx controller using helm chart on AWS k8s cluster. Helm chart.values - https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml I created a Application load balancer and got the…
Raj
  • 41
  • 1
  • 3
1
vote
1 answer

Kubernetes Ingress-Controllers "fighting" over Address in Ingress

Infrastructure Background: I have 4 nodes in my Kubernetes (K3s) cluster. k3s-server location=home (VM) maily used for etcd replication k3s-agent location=home (VM) runs most pods mercury location=home (RPI4) backup for important…
Florian7843
  • 303
  • 3
  • 12
1
vote
0 answers

How can I set up a reverse proxy with ingress-nginx using the contextroot?

I have a deployment that can have X replica (autoscaling). The pods are called e.g. "dp-1", "dp-2" etc. Each of these pods has (logically) the same configuration and tasks, but it is important to be able to access the WebUI of the individual…
1
vote
0 answers

When I tried installing ingress-nginix using the YAML manifest I got this error

Here’s the link for the installation guide. https://kubernetes.github.io/ingress-nginx/deploy/#quick-start Screenshot of error This is the command that I ran. kubectl apply -f…
1
vote
0 answers

OAuth2 Proxy Behind Ingress Path

I configured OAuth2 Proxy as a sidecar container to an external facing application that is hosted at https://my-domain.com/subpath. OAuth2 Proxy's default provider button (see green button below) is redirecting me to https://my-domain.com/oauth2…
Yannic Hamann
  • 4,655
  • 32
  • 50
1
vote
1 answer

Get 500 via ingress-nginx in k8s v1.20.5

ENV: k8s: v1.20.5 ingress-nginx: v1.6.4 I created ingress-nginx-controller from offical yaml: https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.6.4/deploy/static/provider/baremetal/deploy.yaml and I changed the network type…
Peter Pan
  • 11
  • 2
1
vote
1 answer

K8S ingress-nginx Client request body buffering to a temporary file

Been running into a strange warning with ingress-nginx on a K8S deployment. Basically, the error is 2023/02/16 15:56:03 [warn] 34#34: *7840048 a client request body is buffered to a temporary file /tmp/nginx/client-body/0000009342, client:
1
vote
0 answers

Cannot GET localhost:9000/main.js frontend using Kubernetes / Ingress-NGINX

I have a SPA and a microservices architecture. I am running the program locally on my machine using skaffold dev and kubernetes with Google Cloud Provider (GCP). I am connecting my frontend to my backend using Ingress-NGINX. When I go to the host…
melv3223
  • 67
  • 5
1
vote
2 answers

Install specific version of NGINX Ingress Controller

I need to install this NGINX Ingress Controller Git release https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.22.0 in my Kubernetes cluster. Can anyone share the steps on how to do it? I did some research, but could not find any…
1
vote
0 answers

Keep permanent IP for ingress-nginx (and using kustomize)

Problem On a fresh Kubernetes cluster, I want to configure an nginx ingress with a public IP that remains stable, regardless of later changes to the nginx ingress controller; ie. I want to be able to delete and restore the ingress without changes to…
Christian Fuchs
  • 430
  • 3
  • 9
1
vote
0 answers

Nginx Ingress not working on k3s running on Raspberry Pi

I have k3s installed on 4 Raspberry Pi's with traefik disabled. I'm trying to run Home assistant on it using Nginx Ingress controller, kubectl apply -f…
1
vote
0 answers

Kubernetes ingress-nginx metrics uri label

How to get a label of uri that was used for a request. For example, I made a request curl https://www.somesite.com/api/health I see on Prometheus labels: host www.somesite.com path / (ingress is configured with path "/") How can I see metrics over…
1
vote
0 answers

NGINX infinite redirect when redirecting in backend service

I'm using ingress-nginx and getting infinite redirects when issuing a 302 redirect in my backend service. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: main-ing namespace: default annotations: …
Ryan
  • 1,102
  • 1
  • 15
  • 30
1
vote
1 answer

Istio passthrough for external services doesn't work

I am using outboundTrafficPolicy.mode ALLOW_ANY global option in Istio but any HTTPS requests are failing with a server certificate error: * ALPN, server accepted to use h2 * Server certificate: * subject:…
Marina Salmen
  • 75
  • 1
  • 9