Questions tagged [ingress]

86 questions
1
vote
1 answer

Cloudfront infront of ELB and kubernetes is showing Default backend (nginx-ingress)

Having kubernetes cluster with nginx ingress, pointed to AWS ELB load balancer and Route 53 domain pointed to this ELB is working just fine. Now I am trying to add cloudfront, it's pointing to load balancer, but it shows 404 Default backend all the…
1
vote
0 answers

Apache ProxyPass returns 400 Bad Request with HTTPS

I have an Apache server in front of a web application server (AEM) that proxies requests to another application server (Magento). When I'm using this on localhost with HTTP everything is fine, but after deploying entire stack to Kubernetes in Google…
matuma
  • 11
  • 2
0
votes
1 answer

kube-proxy not accepting connections on some nodes

I'm running into a really weird situation where kube-proxy doesn't accept connections on a some nodes and I'm frankly I'm stumped. Background: kubernetes cluster is setup on AWS EC2 using kops the cluster in is eu-central-1, spread over three…
boky
  • 138
  • 5
0
votes
1 answer

Managing a single Kubernets Ingress with multiple rules

I'm using Kubernetes Ingress on GCP to route traffic to different HTTP services. TLDR: Is there a way to control a single Ingress object by adding rules to it from multiple different spec files? We want to allow each microservice to deploy it's own…
shevron
  • 326
  • 2
  • 4
  • 10
0
votes
1 answer

How to do / to /index redirection for an application when I am using haproxy ingress rules

I am using HAProxy Ingress Controller and have rules set for /index and /app. I want any traffic on / to be redirected to /index. How can I achieve this? I Have 4 deployments via haproxy, default-backend (on / gives 404 and /healthz gives 200),…
namrata
  • 113
  • 5
0
votes
1 answer

Kubernetes Ingress Controller & LoadBalancer on AWS

I want to create a single node K8S cluster on AWS and run a simple demo app, exposed to the outside world on port 80. How do I do this? Conceptually I understand that I need a pod which is defined by a deployment and exposed by an AWS load balancer.…
0
votes
1 answer

GKE load balancing + ingress controlller for dev env

I've got some domain example.com with some subdomains (foo.example.com, bar.example.com, etc). That's hosted in GKE and contains one ingress with the mass of routing. This all used to be deployed manually. Now I've created subdomain dev.example.com…
0
votes
1 answer

How to return 200 for health checks

Google Cloud GCP Will NOT forward to Ingress that does not pass health checks. Could anyone share how exactly to configure Traefik Ingress to pass health checks? I think it needs to return a 200 on /health or something like that. But what would…
Steven Smart
  • 113
  • 2
0
votes
0 answers

Ingress root path not redirected to HTTPS despite `ssl-redirect=true`

Setup: Azure AKS with application gateway ingress, annotated with ssl-redirect=true Problem: Root path doesn't get redirected to HTTPS. Here's my ingress.yml: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress …
Aviad P.
  • 103
  • 1
  • 9
0
votes
1 answer

Why is an Ingress resource assigned external IPs?

I have a GKE cluster running with the nginx-ingress controller from the Kubernetes community (via Helm). I set it up with a regional IP which I had reserved in advance like so: helm install stable/nginx-ingress \ --set…
0
votes
1 answer

ModSecurity, expirevar wont work

I've enabled modsecurity in my nginx k8s ingress using this guide, then I've added the following custom rules to block potential brute force attack # Block by ip # Retrieve the username SecAction "phase:2,log,pass,initcol:ip=%{REMOTE_ADDR}" #…
Gigitsu
  • 103
  • 1
  • 3
0
votes
0 answers

Ingress NGINX client closed connection while SSL handshaking

We have ingress-nginx running for a while and about 10% of requests ending up with some SSL handshake problem. Here is an example of a failing connection: 2019/02/14 10:15:35 [debug] 237#237: *4612 accept: **.**.**.**:40928 fd:53 2019/02/14 10:15:35…
0
votes
1 answer

Inheritance in Kubernetes Ingress Rule Path

I have the following ingress in my .yaml file: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: my-ingress annotations: kubernetes.io/ingress.global-static-ip-name: my-ip-1 spec: rules: - http: paths: - backend: …
Will
  • 101
  • 3
0
votes
0 answers

HTTP_X Forwarded For NGINX Ingress not working

I have a simple application running inside AKS. I'm trying to get the IP of the source user when accessing the application. I have created an ingress for the application. When I curl -I https://example-app.xyz I see the source IP in the logs of…
0
votes
0 answers

How can I know request waiting time in Nginx Ingress Controller?

We use Kubernetes with Nginx Ingress Controller to run our platform with various backend services. We also use New Relic (& Prometheus, Grafana) for our Observability dashboards & alerts. Nginx Ingress Controller is the entrypoint for all our…