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
0
votes
1 answer

Helm template does not contain information about serviceMonitor

I am trying to deploy ingress controller with service monitor, i am using helm values file which looks like that: controller: replicaCount: 3 minAvailable: 1 config: use-forwarded-headers: "true" use-proxy-protocol: "true" …
Daryjusz
  • 1
  • 1
0
votes
1 answer

Unable to run the mandatory command for ingress-nginx setup

I am unable to run the mandatory command for ingress-nginx setup on Google cloud. I have authenticated to Google cloud using 'gcloud auth login'. Next I execute 'kubectl apply -f…
0
votes
1 answer

Kubernetes ingress-nginx wildcard (_) hostname is before ingress hostnames

It seems that the ingress-nginx-controller has set a server configuration for a wildcard/default hostname i.e. 'server_name _;'. This server comes before the other hosts inside the config and I believe this is causing all requests to go to the 404…
Brayden
  • 147
  • 1
  • 10
0
votes
1 answer

Ingress-Nginx: How to add attributes from introspection response to proxied request

I am running a microservice based application, with a number of basic services and a Oauth token service using IdentityServer4. I would like to carry out token introspection with the identity service from the ingress controller directly, which I…
0
votes
1 answer

How to setup CORS for Kubernetes Ingress Nginx auth-url when response is 401?

I have a Kubernetes Ingress setup as this: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: api namespace: staging annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/rewrite-target: /hello/$1 …
Conway
  • 47
  • 2
  • 5
0
votes
1 answer

ingress-nginx hide domain redirect & path based routing

I'm using ingress-nginx on kubernetes. I need to redirect incoming connections to / to a blog hosted on webflow and perform path-based routing. Webflow provides a domain like website123.webflow.com. I would like to serve the blog without performing…
patm
  • 1,420
  • 14
  • 19
0
votes
1 answer

Ingress-nginx-controller on GKE is returning status 302 ERR_TOO_MANY_REDIRECTS after installing Eclipse che

I am getting 302 ERR_TOO_MANY_REDIRECTS when requesting che-dashboard on the generated URL by the helm. I have installed Eclipse che using the following…
0
votes
1 answer

Unable to assign a global LB IP to the Ingress-Nginx Helm Chart

I am attempting to assign a static global LB IP in GCP to an ingress controller (Ingress-Nginx) in GKE but whenever I do so I get an error message regarding Error syncing load balancer: failed to ensure load balancer: requested ip "" is…
0
votes
1 answer

Getting "maximum redirect" when upgrading to nginx 3.11.1

I have a Kubernetes cluster running in AWS, and I am working through upgrading various components. Internally, we are using NGINX, and it is currently at v1.1.1 of the nginx-ingress chart (as served from old stable), with the following…
object88
  • 720
  • 1
  • 7
  • 20
0
votes
1 answer

k8s nginx ingress TLS rules: cert vs. paths

I am struggling to get my nginx ingress (on AWS EKS) working with path rules and TLS. The ingress is from here A snippet from the Ingress looks like: spec: tls: - hosts: - example.com secretName: ingress-tls rules: - host:…
e.dan
  • 7,275
  • 1
  • 26
  • 29
0
votes
0 answers

nginx.ingress.kubernetes.io/rewrite-target can't regex capture url parameters

Recently I have setup an EKS cluster to run an application through ingress-nginx. I am trying to use regex capturing and nginx.ingress.kubernetes.io/rewrite-target to change my url parameters but it is not behaving as I'd expect it to behave. Here…
nabello
  • 716
  • 11
  • 29
-1
votes
2 answers

Stop nginx ingress from serving fake certificates for hosts that don't match any configured Ingress

I have a Kubernetes cluster with ingress-nginx. We use Azure DNS zone with a record for *.domain1.com that points all traffic to our ingress controller. I need to make sure that our cluster do not serve invalid certificates when someone requests…
theadzik
  • 96
  • 1
  • 7
-1
votes
1 answer

How to migrate Ingress Nginx Controller from k8s.gcr.io to registry.k8s.io?

I read that the Container Registry called k8s.gcr.io is about to be removed soon. Any container pulls from this repository must migrate to the replacer: registry.k8s.io. How can I change this in GCP GKE for existing workloads that already use the…
-2
votes
1 answer

How to install "ingress-nginx"?

I got the following code that uses ingress-nginx within infra\k8s-dev\ingress-srv.yaml file. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-service annotations: kubernetes.io/ingress.class: nginx …
1 2 3 4 5 6
7