Questions tagged [nginx-ingress]

The NGINX Ingress Controller for Kubernetes is an alternative Kubernetes ingress controller that can be used instead of the default ingress controller.

From NGINX website:

The NGINX Ingress Controller for Kubernetes provides enterprise‑grade delivery services for Kubernetes applications, with benefits for users of both NGINX Open Source and NGINX Plus. With the NGINX Ingress Controller for Kubernetes, you get basic load balancing, SSL/TLS termination, support for URI rewrites, and upstream SSL/TLS encryption. NGINX Plus users additionally get session persistence for stateful applications and JSON Web Token (JWT) authentication for APIs.

77 questions
0
votes
0 answers

What a best way create ingress-controller with custom ssl ports?

Helloy. Im building infa with kubernetes for apps with nonstandart tls ports how u think what a best way create ingress-controller(nginx, traefik, ..) with 9001 9002 9003 tls ports and loadbalance. infra in cloud and i have a cloud loadbalancer…
0
votes
1 answer

Nginx calculated log variables using lua

I'm trying to get Nginx (running as a Kubernetes ingress controller) to log in milliseconds rather then seconds. (This is so we can ingest the logs into our existing Elasticsearch system, which already has other systems logging in ms) Based on this…
Mark
  • 165
  • 1
  • 5
0
votes
1 answer

Kubernetes error "Unable to attach or mount volumes"

I deployed bitnami/wordpress helm using nginx ingress as loadbalancer like here. Everything working fine but problem is with some pods when they are created manually or automaticly by autoscaling. Some of them (not all) have all time…
Don Don Don
  • 1
  • 1
  • 3
0
votes
1 answer

Mirroring Traffic with Nginx(to increase avaliablity and decrease latency )

I need to duplicate/mirror the traffic comming to my server. I mean, I have N backend servers A1 A2 ... An(n>=2) and a nginx as reverse-proxy&load-balancer. All the traffic comming to Nginx redirect to both Ax and Ay(x!=y) in parallel, if one of the…
Scott混合理论
  • 1,101
  • 1
  • 7
  • 5
0
votes
0 answers

Assign pod an IP address which the same as the IP range of the k8s node

Is that possible to assign pod an IP address which the same as the IP range of my K8s node? For example: I have an on-premise K8s cluster that includes 3 work nodes. All nodes are using the 10.138.1.0/24 IP range as INTERNAL-IP. It is the IP address…
ITnewbie
  • 151
  • 1
  • 6
0
votes
0 answers

Error validating ssl certificate for svc.IP.my.local-ip.co in ingress

I try use certificate and DNS http://my.local-ip.co/ in Kubernetes. I download certificate and key. Create ingress-tls secret. kubectl create secret tls ingress-tls --key /tmp/server.key --cert /tmp/bundled_cert_file.pem Try install kubernetes…
Anton Patsev
  • 111
  • 4
0
votes
0 answers

Kubernetes pod, allow HTTP access just from VPN

Okay, maybe I'm not searching correctly since I didn't found the answer, so help me please. So, I have an EKS cluster (kubernetes cluster provided by AWS), and I have some web applications running there. These applications are exposed to the…
0
votes
0 answers

HAProxy reverse proxy connecting to Kubernetes nginx-ingress controller issue

Background: I've got a one node K8s cluster via kubeadm with the default nginx-ingress controller deployed. I'm trying to get the default nginx web server deployment accessible to test successful node ingress via the nginx ingress controller. Since…
0
votes
0 answers

URLs with special characters don't redirect to the backend service

My nginx ingress dont redirect correctly urls having the special characters "[" and "]" to the backend service. There is my ingress config: apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: {{ $app }}-ingress labels: app:…
0
votes
0 answers

Nginx adds www to the header host

location / { proxy_set_header Host sub.domain.host.com; proxy_pass https://other.host.com/; } The host header ends up being www.sub.domain.host.com, is there a way to prevent the www from being added?
0
votes
1 answer

nginx ingress IP allowlist on Azure Kubernetes Services

I have a SOLR cluster set up with a Service of type LoadBalancer to expose port 8983. A requirement is SSL termination, so I have set up an nginx ingress controller with a route through to the back end service. All of this is working as expected,…
0
votes
1 answer

nginx route traffic from ip in path to local ip

I am trying to route the traffic from an nginx, to a specific IP, corresponding to a path. Basically if I am accessing http://example.com/192.168.0.2/something, I want to redirect the traffic to the pod with that specific IP (the result should be…
zozo
  • 753
  • 3
  • 11
  • 22
0
votes
1 answer

Nginx Ingress-Controller Load Balancing

I was wondering how does the ingress controller make sure that the incoming requests for the K8S cluster is load-balanced between all the K8S nodes. I know that with some other ingress controllers there is an external load balancer in front of the…
G.Bar
  • 13
  • 2
0
votes
0 answers

NGINX Ingress giving 503 Service Temporarily Unavailable. nginx/1.19.1 error in frontend

I am trying to install the Cyclos Mobile app on GCP Everything setup perfectly but when I am trying to access the setup on browser it always showing either default backend - 404 or 503 Service Temporarily Unavailable. nginx/1.19.1. I have tried…
0
votes
1 answer

Preventing directory traversal in nginx ingress in Kubernetes

I have the following ingress defined: --- apiVersion: extensions/v1beta1 kind: Ingress metadata: name: someName namespace: test annotations: kubernetes.io/ingress.class: "ingress-public" nginx.ingress.kubernetes.io/affinity: "cookie" …
Farhan.K
  • 63
  • 7