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

Kubectl Ingress without IP

I have developed a very small service on dotnet 6, running in Windows 10 and Docker 20.10.17. I want to expose as service in Kubernetes in local machine as "http://localhost:15001/Calculator/sum/1/1". I am running an script like: docker build -f…
0
votes
0 answers

How can I communicate with gRPC on ingress nginx controller?

How can I communicate with gRPC on ingress nginx controller? My Ingress service code is below. It was made by referring to a famous example LoadBalancer changed 443 port and changed certificate. However, the LB address of Ingress and Service…
JoDev
  • 11
  • 3
0
votes
1 answer

Unable to clear or set x-forwarded-proto using more_clear_input_headers in nginx

So here is my setup https -> AWB ALB -> ingress-nginx -> sonarqube The x-forwarded-proto header received at the ingress and subsequently sonarqube is http because ssl offloads at the ALB. I want to change x-forwarded-proto to https. So far I have…
Faheem Sohail
  • 806
  • 8
  • 21
0
votes
1 answer

how to use nginx.ingress.kubernetes.io/rewrite-target: in ingress-nginx

I have node microservice application running in Kubernetes I want https://app.domain.com/vehicle/api/v1/.... must go to https://app.domain.com/api/v1/.... if i use rewrite-target annotation as shown below my homepage is coming blank as you can see…
Harshith
  • 73
  • 8
0
votes
1 answer

Can't connect to Azure Kubernetes cluster from internet

I have an ingress-nginx ingress for my Kubernetes service. If I curl the external IP from inside the cluster, like from a pod such as this kubectl run my-shell --rm -i --tty --image ubuntu -- bash, I get the result I expect. If I curl from the…
0
votes
2 answers

Kubernetess Ingress-nginx rate limting based on upstream server health

Just wondering if there is any way in ingress-nginx to enforce rate limiting only if the custom health check url is fine. I have been going searching through, but failed to find a way to do so. Any help will be appreciated.
Sam Alex
  • 123
  • 1
  • 7
0
votes
1 answer

nginx ingress: Cannot redirect to backend service

I have scoured the Net to try to resolve something that seems to be a common issue, but unfortunately all of the documentation and suggestions have not solve my problem. I hope that you can help me and others with it. We are migrating from another…
0
votes
0 answers

Oauth2-proxy: returning 500 error when trying to access through Web-ui

I have a web-ui, oauth2-proxy and Keycloak running a as Kubernetes apps; web-ui and oauth2 are behind the ingress-nginx and keycloak is exposed through NodePort. These are the endpoints I'm using: web-ui: https://ui.mydomain.uk.local oauth2:…
MacUsers
  • 2,091
  • 3
  • 35
  • 56
0
votes
1 answer

502 BAD Gateway | ingress nginx with cert-manager

I am using nginx ingress v1.1.3 in azure AKS v1.21. My traffic is getting terminated at nginx ingress for all other domains and it is working as expected. Recently I added cert-manager to manage certificate, but when implemented i am getting 502 for…
0
votes
1 answer

Istio traffic routing rules take no effect

I am trying to configure a request routing using Istio and Ingress-nginx but I'm not able to route the requests properly. Basically I have two deployments each as a different subset and implemented a weighted VirtualService. In Kiali dashboard it…
Marina Salmen
  • 75
  • 1
  • 9
0
votes
2 answers

nginx-ingress - eks 400 bad request

I've got an AWS EKS environment that i'm just setting up and I'm getting 400 bad request. Below is my config and I wanted to ask if anyone saw anything I should change. I can see the requests are getting through the aws NLB as it reaches the nginx…
Adam
  • 19,932
  • 36
  • 124
  • 207
0
votes
1 answer

Renaming vouch-proxy http headers on k8s Ingress

i'm trying to add a claim into the http header. i have an k8s ingress with annotations: nginx.ingress.kubernetes.io/auth-signin:…
yee379
  • 6,498
  • 10
  • 56
  • 101
0
votes
1 answer

Duplicate HSTS headers in ingress-nginx controller in Kubernetes

Even though I'm checking docs and github issues I cannot set HSTS headers properly in ingress configuration files via annotations. It duplicated the header. My ingress annotations part looks like this: annotations: …
Murakami
  • 3,474
  • 7
  • 35
  • 89
0
votes
2 answers

Ingress Niginx on Multi-Node Virtualbox Driver Minikube

I am following this tutorial for setting up Ingress with Ingress-Nginx on Minikube. But I can't seem to get it to work. I get a connection refused when I try to connect to port 80 on the VM IP address returned by minikube ip My setup is…
cjt
  • 479
  • 1
  • 5
  • 9
0
votes
1 answer

Ingress-nginx why location is different from same ingress file?

I am using ingress-nginx in my GKE cluster to expose my services. I have 2 different GKE cluster (v1.19.12-gke.2101) that both use ingress-nginx (chart v4.0.6). On those cluster, I expose some services with a oauth-proxy. It works perfectly on the…