Questions tagged [kubernetes-ingress]

Ingress gives you a way to route requests to services based on the request host or path, centralizing a number of services into a single entrypoint.

Services and Pods have IPs only routable by the cluster network. All traffic that ends up at an edge router is either dropped or forwarded elsewhere. An Ingress is a collection of rules that allow inbound connections to reach the cluster services.

3847 questions
1
vote
1 answer

Web-Server running in an EKS cluster with spot-instances

I'm running a web-server deployment in an EKS cluster. The deployment is exposed behind a NodePort service, ingress resource, and AWS Load Balancer controller. This deployment is configured to run on "always-on" nodes, using a Node Selector. The EKS…
1
vote
2 answers

Why does nginx ingress controller return Bad Request 400 despite of large_client_header_buffers is applied?

I use k8s nginx ingress controller before my backend, having two instances. When web-cleint sends quite big request to ingress - nginx for POST/PUT/GET request always returns 400 Bad request. Btw, no another explanation or details for this error, or…
Eugene Shmorgun
  • 2,083
  • 12
  • 42
  • 67
1
vote
2 answers

Routing issues with nginx ingress controller and basic django app

EDIT: I rewrote the question with a fully reproducible example. I have a sample Django app with the base getting started https://docs.djangoproject.com/en/3.2/intro/tutorial01/, that is, there are two paths /admin and /polls. If I deploy the app…
user4093955
1
vote
1 answer

kubernetes nginx ingress GRPC for one path

I am trying to setup an nginx kubernetes ingress. I am able to serve http and websockets content on different routes at the moment. However I am not able to add GRPC routes on the same host. Adding this annotation…
nha
  • 17,623
  • 13
  • 87
  • 133
1
vote
1 answer

TLS nginx ingress in AWS EKS Cluster results in 404 Not Found

I am trying to use Kubernetes Ingress Nginx Controller and running a simple nginx server in AWS EKS. Browser (https) --> Route 53 (DNS) --> CLB --> nginx Ingress (Terminate TLS) --> Service --> POD But I am receiving 404 error in browser (url used:…
1
vote
1 answer

AKS ingress controller with static ip for a sub-domain

I'm been doing the steps in this tutorial: Create an ingress controller with a static public IP address in Azure Kubernetes Service (AKS) When I finish the tutorial, I can browse to the DNS name label for the static…
gunnarst
  • 53
  • 5
1
vote
0 answers

Unable to push images to private registry: getting x509: certificate is valid for ingress.local, not registry.local

I have setup a Kubernetes deployment using Nvidia deepops. My cluster is a single node running on my home network with Zerotier serving as the network bridge between my remote pc for control and the node used as master. The hosts file on…
1
vote
1 answer

Two TLS certificate for two Nginx Ingress controller Azure K8s cluster

I have two ingress controller one with default class nginx in default namespace, while the second ingress controller has a nginx class: nginx-devices. Cert-manager is already installed using Helm. I managed to get TLS certificate from Lets Encrypt…
1
vote
2 answers

kubernetes ingress, unknown field "serviceName" in io.k8s.api.networking.v1.IngressBackend,

I am trying to add argocd ingress resources on my Azure Kubernetes Service (AKS)cluster. I follow this guide https://argoproj.github.io/argo-cd/operator-manual/ingress/#kubernetesingress-nginx when I apply ingress resource on Kubernetes AKS cluster.…
Xin Cai
  • 161
  • 3
  • 5
1
vote
1 answer

microk8s ingress results in operation time out

Why is the connection refused each time I try to connect to a nodeport exposed service on MicroK8s? Here is the following deployment, service and ingress: --- apiVersion: apps/v1 kind: Deployment metadata: name: nginx labels: app:…
1
vote
1 answer

Ingress default backend is basic auth returns 401 instead of 404

I have deployed ingress-nginx helm chart ( 3.20.1 , https://github.com/kubernetes/ingress-nginx/tree/master/charts/ingress-nginx ) into k8s cluster. Some of the Ingresses configured for applications use basic auth - which works as expected. I.e. I…
mko
  • 113
  • 2
  • 8
1
vote
1 answer

400 Bad Request You're speaking plain HTTP to an SSL-enabled server port kubernetes pod

I am getting the error "400 Bad Request Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please." What I am trying…
1
vote
2 answers

How to access the prometheus & grafana via Istion ingress gateway? I have installed the promethius anfd grafana through Helm

I used below command to bring up the pod: kubectl create deployment grafana --image=docker.io/grafana/grafana:5.4.3 -n monitoring Then I used below command to create custerIp: kubectl expose deployment grafana --type=ClusterIP --port=80…
1
vote
1 answer

JS 404 error if deploy web application with K8s ingress

I'm trying the official example Example: Deploying PHP Guestbook application with MongoDB. Everything is good, but when I deploy a ingress for it, I can see next in chrome network debug (Here, 31083 is the nodeport): Request URL:…
atline
  • 28,355
  • 16
  • 77
  • 113
1
vote
1 answer

Accessing External custom IP port from kubernetes

I'm having a microservice architecture and one of my services needs to access some specific IP (3.*.*.*:63815) to connect WebSocket. So from the provider side, I have whitelist my ingress External IP. But when I tried to connect, the connection is…