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

ingress-nginx: How to insert access_by_lua_block{} only for specific location?

I have multiple location blocks under a single host:, something like this: apiVersion: networking.k8s.io/v1 kind: ingress metadata: name: ingress-nginx annotations: kubernetes.io/ingress.calass: nginx …
MacUsers
  • 2,091
  • 3
  • 35
  • 56
1
vote
0 answers

ingress-nginx whitelist-source-range and proxied ip's

i'm running a grafana instance in kubernetes, which talks to a influxdb instance, also in kubernetes. both have their endpoints as Ingresses using ingress-nginx. the issue is that when i use 'Server (default)' Access in grafana to define the Data…
yee379
  • 6,498
  • 10
  • 56
  • 101
1
vote
0 answers

Getting error connect ECONNREFUSED 127.0.0.1:443 using ingress-nginx-controller service to send request from service to service from same namespace

I'm using docker_desktop on windows machine, and using ingress-nginx loadbalencer to allow traffic from client server to internal pods. For sending request from service to service inside the kubernetes cluster in the same namespace, I'm using…
1
vote
1 answer

kubernetes/ingress-nginx creates huge number of sync events

I noticed that during the ingress-nginx pod creation/termination, there is a huge number of events created. Further "investigation" showed that each nginx pod creates 42s Normal Sync ingress/name Scheduled for sync event for each…
Evedel
  • 653
  • 5
  • 18
1
vote
1 answer

Kubernetes ingress custom JWT authentication cache key

We are leveraging Kubernetes ingress with external service JWT authentication using auth-url as a part of the ingress. Now we want to use the auth-cache-key annotation to control the caching of JWT token. At current our external auth service just…
Santosh
  • 1,849
  • 4
  • 19
  • 31
1
vote
1 answer

Ingress Nginx rules doesn't get followed always

I got 2 spring app pods deployed in k8 cluster. 1 replica each. Both have their cluster-ip services exposing the services. /upstream/agentLabs/makeotherTierCall should forward to prevlab deployment…
1
vote
0 answers

k3s MetalLB ingress-nginx bare metal server ingress problem

I have tentatively decided upon Kubernetes, ideally with Rancher, so I can readily spin up and take down containerised applications and run web servers etc on my home office setup. I have a fairly normal internet setup with a router connected to…
Boo
  • 29
  • 2
1
vote
1 answer

Bind Kubernetes ingress-nginx to specific address/interface only

I'm running a single node k3s installation. The machine it's running on has two NICs installed with two IP addresses assigned. I want the ingress only bind to one of these, but no matter what I tried, nginx will always bind to both/all…
rawbertp
  • 13
  • 6
1
vote
2 answers

Unable to use ingress-nginx for routing on Ubuntu 18.04

I was trying to use Kubernetes to set up a service locally. I am using ingress-nginx for routing. I am using Ubuntu 18.04. This is my ingress.yaml file: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: ingress-service annotations: …
1
vote
1 answer

Bare-metal k8s ingress with nginx-ingress

I can't apply an ingress configuration. I need access a jupyter-lab service by it's DNS http://jupyter-lab.local It's deployed to a 3 node bare metal k8s cluster node1.local (master) node2.local (worker) node3.local (worker) Flannel is installed…
Kickaha
  • 3,680
  • 6
  • 38
  • 57
0
votes
0 answers

Is it possible to disable http port 80 in the Kubernetes Ingress NGINX

I installed ingress-nginx using the official ingress-nginx helm chart (chart version 4.7.1). In the values file, I disabled HTTP by specifying controller.service.enableHttp: false. I can see that ingress-nginx-controller Service use only port 443: $…
Xavier123
  • 71
  • 2
  • 8
0
votes
0 answers

Upstream Ingress Routing Issue with ingress-nginx Helm Chart via Terraform with Cert-Manager

So, we have an issue whereby which we have a Kubernetes Cluster that we build out in terraform. After we build the cluster, we have helm charts which deploy the essential infrastructure for us. We have been able to automate the TLS with…
0
votes
0 answers

Ingress routing rules to access opentelemetry otel collector

I have setup opentelemetry otel collector on AKS cluster and used node port service to expose the endpoint running on port 5555 of the otel collector, This setup works as expected, I am able to hit the http://{AKS_Node_IP}:30807. Now I want to…
0
votes
0 answers

Expose Jenkins on Kubernetes behind nginx ingress

Jenkins is deployed on aws eks using this helm chart. Also, used below values.yaml to customize Jenkins deployment based on our needs. controller: jenkinsUrlProtocol: https jenkinsUrl: https://jenkins.mydomain.com ingress: enabled: true …
0
votes
1 answer

Ingress Nginx - set static IP address in GKE

I use ingress nginx (https://kubernetes.github.io/ingress-nginx/) This is how i build my project in GKE. Step 1: Install ingress controller (https://kubernetes.github.io/ingress-nginx/deploy/#gce-gke) kubectl apply -f…