Questions tagged [ingress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

How to use ALB Ingress without rewriting every helm chart?

I am trying to use ALB ingress with default helm charts, but struggle to solve simple problems with headers. In Kubernetes ingress-nginx it's easy to add annotations to add headers (CORS), but with ...
0 votes
0 answers
296 views

kuberntes oauth2-proxy with github provider return 500 Internal Server Error

I'am trying to add an authentication from Kubernetes ingerss with oauth2-proxy github provider i have set everything according to the official documentaion the url works and it redirects me to use my ...
0 votes
0 answers
24 views

Ingress to Ingress?

I'm following these instructions https://kubernetes.github.io/ingress-nginx/examples/auth/basic/ to add basic auth to an NGINX Ingress. This is in EKS. I already have an ALB Ingress which does route ...
  • 101
0 votes
0 answers
27 views

Assigning subdomains to K8s services

I have a Kubernetes cluster in Azure AKS with few services exposed via load balancer (ingresses). I want to assign a subdomain to those services. The Parent domain is hosted somewhere (other than AWS ...
0 votes
1 answer
387 views

ALB Ingress fails to start due to 'no certificate for host *'

I am using cert-manager with my EKS cluster to generate Lets Encrypt certificates for my ALB. While the certificate is generated just fine, the Ingress cannot find it and fails to start the ALB with ...
  • 101
0 votes
0 answers
133 views

Kubernetes Ingress auth-signin redirect to different port

For me the redirect is happening only to the host (ie metrics.staging.com) and I want to redirect to metrics.staging.com:9099 ? Does anyone know how to redirect it to a host:port? My ingress: nginx....
  • 1
0 votes
2 answers
629 views

Nginx proxy large file download fails instantly sometimes

Problem Downloading a large file (400MB+) with "transfer-encoding: chunked" fails after about 3 seconds. Downloading smaller files works even though possible taking longer than 3 seconds. ...
  • 1
3 votes
1 answer
294 views

Change container ports in Kubernetes in production

I have an nginx Dockerimage listening on some port as defined int its nginx.conf. That image is deployed as a workload in Kubernetes (GKE) and an ingress points to it. The image's port is - both as ...
  • 217
0 votes
0 answers
74 views

Send traffic to only one Ingress Controller Pod

I am using HA Proxy as my Ingress Controller. It is setup with 2 replicas. Meaning traffic reaching the Ingress Controller LB service can be routed to 2 pods. My end user application has 3 replicas. ...
0 votes
0 answers
1k views

wildcard url in ingress-nginx kubernetes Ingress to redirect to path based url doesn't seem to pass regex value

Trying to setup a wildcard url in ingress-nginx kubernetes Ingress to redirect to path based url it doesn't seem to pass the wildcard regex value. The url would be something like "https://test....
1 vote
0 answers
86 views

Seeking advice regarding ingress versus load balancing for app in microk8s cluster

I have a seven node microk8s cluster set up on an Ubuntu server in my cellar. multipass shows me I have three IP address per VM since I created these hosts using the bridged network option. I thought ...
  • 902
0 votes
1 answer
343 views

how do you check load balancer method "algorithm" for a nginx ingress controller?

I do have an ingress controller load balancer in my Kubernetes Cluster, how do I know if my load balancer run which algorithm? and what happens if my load balancer is not working or the algorithm is ...
0 votes
0 answers
26 views

(kubernetes) Can I do ingress lab on kubeadm environment?

I am learning kubernetes by myself. I set up an k8s vmware-workstation lab with 1 controller and 2 worker nodes by using kubeadm. most of tutorials about ingress (networking, not network policy) which ...
  • 1
3 votes
0 answers
494 views

Adding a unique request header to hundreds of Ingresses with Traefik 2

we're (finally) migrating from Traefik 1 to 2. We run 400+ apps on GKE. Our one remaining challenge is this: In Traefik 1 we set an annotation on each app's Ingress that adds a header to the request ...
3 votes
1 answer
904 views

Kubernetes Nginx Ingress Controller Metrics

I've tried to find a documentation about the metrics exposed by the NGINX ingress controller in Kubernetes but so far I haven't found any reliable source about the metrics and what they mean. For ...
0 votes
0 answers
112 views

How to setup ingress with ingress controller in a separate namespace for redmine in k8s?

I am a tad new-ish to k8s and trying to set up Redmine on Amazon EKS cluster using Traefik. I lack a tad of understanding as to how the controller will pick up the ingress, especially given that the ...
  • 1,355
1 vote
0 answers
484 views

How do you route to a mix of HTTP and HTTPS backends from an ALB Ingress?

I have a Kubernetes cluster running in EKS (on AWS.) In the cluster I have Elasticsearch, Kibana and various other web services. I would like to set up a single ALB loadbalancer such that: Requests ...
  • 385
0 votes
1 answer
596 views

How to prevent public access to GKE Ingress and make it accessible just for Apigee X

I am new in Cloud stuff, and my question may be basic, but this problem has bugged me for a week, and I don't know how to fix it. I deployed my first Cloud project on GCP using GKE. After that, I used ...
  • 123
1 vote
1 answer
2k views

kubernetes ingress replace path

I have two backend api-services: api-service-v1 api-service-v2 Both respond on "/api/" path I have this configuration running fine as a docker-compose setup where nginx service serves as a ...
0 votes
0 answers
635 views

502 gateway error on Kubernetes Ingress (K3S - Bare Metal)

I have a k3s cluster with a master on a cloud VPS but with 2 remote worker nodes, both on the same network. They're connected via a VPN to the cloud provider. The worker nodes were able to join just ...
  • 475
0 votes
0 answers
694 views

How to redirect the port in ingress?

In that ingress section of AKS, we can add routes to multiple application but all having container port as 80 only. With Ingress, our application is using port 8080. But with ingress, even if I keep ...
  • 399
1 vote
0 answers
666 views

How to enable ipv6 for ingress-controller services when installing using Helm nginx-ingress chart?

I have a baremetal K8 cluster setup using Kubespray (Calico as CNI) and have dual stack enabled. I can see that all the pods that get deployed get both IPv4 and IPv6 addresses but when I try to ...
  • 11
1 vote
0 answers
84 views

Kubernetes External DNS

Has anyone configured Kube's external dns project to use an IP other then that of the service or ingress it is creating the record for? I'm on bare metal and I have: (Internet) -> (HAProxy) -> (...
  • 121
0 votes
1 answer
662 views

ambassador service stays "pending"

Currently running a fresh "all in one VM" (stacked master/worker approach) kubernetes v1.21.1-00 on Ubuntu Server 20 LTS, using cri-o as container runtime interface calico for networking/...
  • 157
4 votes
1 answer
11k views

Exposing simple pod using kubernetes ingress

Hi I'm learning kubernetes and I'm having trouble exposing the service. I want to route traffic to my cluster from HAProxy. I'm using my own bare-metal server. EDIT: I've also created an ingress ...
0 votes
1 answer
779 views

ingress-nginx, GCE, and static IP

So, I would like to have a static IP that points to my nginx ingress LB. gcloud compute addresses create test-ip --global gcloud compute addresses describe test-ip --global Which provides me with a ...
  • 167
1 vote
1 answer
1k views

Ingress Nginx SSL 503 Error

Service.yaml apiVersion: v1 kind: Service metadata: creationTimestamp: null labels: io.kompose.service: grafana name: grafana spec: ports: - name: "3000" port: 3000 ...
  • 167
0 votes
2 answers
144 views

Single IP to access Kubernetes cluster ingress

I have an amazon EKS cluster that I'm using to host multiple websites, I have an ingress controller and a load balancer that spins up more pods as needed. I normally use CNAME type "eg alias or ...
1 vote
1 answer
1k views

How to block/allow a country in Nginx ingress

Hello is it possible to block or allow certain countries in Nginx Ingress (community). It seems possible on Nginx installed on servers (link) But I want to apply similarly to this on Nginx Ingress.
1 vote
0 answers
60 views

Data Ingress to S3 from an FTP Server

I have about 1.5TB of data on an FTP server from my web hosting provider that I want to migrate into S3. From what I have read there are a number of ways to do this, including FileZilla Pro which ...
0 votes
1 answer
431 views

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 ...
  • 13
0 votes
2 answers
3k views

GCP - GKE Setup: Error during load balancer auto generation

I have a GCP Internal private IP GKE cluster that has multiple services that we support. I am attempting to setup an ingress to support these multiple services over TLS. This is based on the following ...
  • 153
0 votes
1 answer
612 views

Ingress not forcing/preventing https connections on GKE

I'm setting up ingress on GKE and facing an issue (even after following all the tutorials) All I want is to disable http access. The following is the output of kubectl describe ingress: Name: ...
  • 192
3 votes
2 answers
2k views

How to change the default certificate chain in Kubernetes Ingress

I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip) The certificate chain defaults to DST Root CA X3 but I ...
1 vote
1 answer
1k views

MySQL on Kubernetes with Traefik v2

I'm trying to deploy MySQL on my Kubernetes cluster. I have Traefik v2 ingress controller and I'm using IngressRouteTCP CRD. Here is my Deployment: apiVersion: apps/v1 kind: Deployment metadata: ...
  • 169
0 votes
1 answer
218 views

Configuring Kubernetes Ingress

I'm trying to configure Google Kubernetes Engine Ingress properly to a load balanced Docker application which runs on port 3000. I'm clearly making an obvious mistake somewhere, but I have no idea ...
  • 171
1 vote
1 answer
7k views

ingress nginx upstream sent no valid HTTP/1.0 header while reading response header from upstream

I'm trying to setup an nginx ingress controller for services in my namespace. One of the backend services accept HTTP traffic on port 80, the other accepts only HTTPS traffic on port 443. See the ...
  • 163
1 vote
1 answer
1k views

NSX/NCP Ingress to secure (HTTPS/TLS) backend

I'm using NSX/NCP Ingress in a dedicated VMWare PKS cluster. I am attempting to stand up ingress to Elasticsearch and the backend service uses HTTPS. I can not seem to find a way to have NSX Ingress ...
  • 417
0 votes
1 answer
1k views

istio service mesh for east-west traffic management in kubernetes cluster

I am having the confusion regarding the some of use-case in our environment. First one is we will be having api gateway of our own for north/south traffic which our api gateway will be listening to ...
1 vote
1 answer
229 views

Kubernetes - Ingress vs Nginx with Loadbalancer

AFAIK an Ingress is just an abstraction layer to a LoadBalancer service targeting Nginx (or others) Are there features only an ingress can provide? Are there any drawbacks of using LoadBalancer + ...
  • 147
6 votes
1 answer
4k views

Can't delete dangling k8s load balancer due to http target proxy that doesn't exist

I'm trying to delete the forwarding rule, target proxy, url map and backend services that belong to an extinct k8s ingress. I successfully delete the forwarding rule and target proxy but then when I ...
0 votes
1 answer
480 views

how to generate v4UUID from my nginx ingress

I have been looking at options to generate a v4 UUID from my nginx ingress implementation with the use of some annotations or any other way it would be possible to achieve this. I could not find any ...
0 votes
0 answers
90 views

GKE: Switch from TCP to Ingress Load Balancer in prod

We have several deployments running in Google Kubernetes. Most of them are web services set up with the default configuration, so they have a public IPv4 address which is served by a TCP load balancer....
1 vote
1 answer
2k views

cert-manager nginx-ingress SSL connection error

i successfully installed cert-manager and nginx-ingress in my kubernetes cluster. Ingress is working as expected and was tested. Certificate creation via cert-manager is also working. I created a ...
  • 58
2 votes
1 answer
8k views

How to configure client_max_body_size per a location using nginx controller

I would need to configure client_max_body_size for a specific location in my Ingress configuration file then is the default value. How it is possible to do it? I was looking into the doc but have not ...
0 votes
1 answer
2k views

Traefik is getting "404 Page not found" in AWS

I installed my Traefik with default files from: https://docs.traefik.io/routing/providers/kubernetes-crd/#configuration-examples My ingressroute is looking like that: apiVersion: traefik.containo.us/...
1 vote
1 answer
3k views

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 ...
  • 113
1 vote
0 answers
582 views

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 ...
  • 11
2 votes
1 answer
6k views

Kubernetes not regenerating SSL Certificate

I have tried and tried many different things, and I'm unable to land into a solution. The certificate was issued once using letsencrypt, but was never refreshed. Could you people give me a hint on ...
  • 225
2 votes
2 answers
2k views

GCP Kubernetes engine - crash of nginx-ingress-controller after large file upload

I'm trying luck here to solve my problem happening on Google Cloud Kubernetes Engine. Problem in short: When I upload file via my PHP application of 15-20MB, nginx ingress controller crashes, disk IO ...