Questions tagged [ingress]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 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 ...
0
votes
1answer
78 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 ...
0
votes
1answer
60 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
0answers
70 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 ...
0
votes
0answers
26 views

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. ...
0
votes
0answers
82 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 ...
1
vote
0answers
52 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 ...
1
vote
0answers
53 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) -> (...
0
votes
1answer
246 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/...
3
votes
1answer
4k 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
0answers
162 views

NLB with NGINX controller on my EKS cluster Each service I deploy creates its own NLB instead of using the existing one

I am trying to use an NLB with NGINX controller on my EKS cluster. Each service I deploy creates its own NLB instead of using the existing one. Here's what I'm doing, please help me where I'm going ...
0
votes
0answers
103 views

Nginx reverse proxy stack after some time

in my environment in rancher I use built in ingress load balancer to route trafic to custom nginx, which acts like reverse proxy for 2 "apps". In condition i choose which server I want to ...
0
votes
1answer
489 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 ...
1
vote
1answer
441 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 ...
0
votes
2answers
79 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 ...
0
votes
1answer
455 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.
0
votes
0answers
210 views

Running multiple instances of Traefik with LetsEncrypt enabled and load balancing between them

As you may know, unfortunately the new version of Traefik does not support HA for lets encrypt certificate management, so I'm looking for some way to achieve this. One way that I'm thinking about, is ...
0
votes
0answers
45 views

ProxyPassReverse equivalent in Traefik?

I use "StripPrefix" in Traefik to pass requests from "http://example.aaa/test" to a mini webserver. The problem is the static file like js files urls are wrong. instead of loading &...
1
vote
0answers
33 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
1answer
162 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
341 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: ...
3
votes
2answers
1k 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
1answer
982 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: ...
0
votes
1answer
177 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 ...
0
votes
1answer
4k 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 ...
1
vote
1answer
649 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 ...
0
votes
1answer
692 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
1answer
124 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 + ...
4
votes
1answer
2k 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
1answer
265 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
0answers
52 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
1answer
1k 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 ...
0
votes
1answer
4k 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
1answer
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
1answer
2k 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 ...
1
vote
0answers
414 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 ...
1
vote
1answer
4k 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 ...
1
vote
2answers
1k 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 ...
1
vote
0answers
2k views

Axios in a Node.js container on Kubernetes is returning “ECONNREFUSED 127.0.0.1:30561”?

Full error message: connect ECONNREFUSED 127.0.0.1:30561 at TCPConnectWrap.afterConnect The axios request is running in a Node.js environment (Next.js), which is where the error occurs, strangely the ...
2
votes
1answer
9k views

ERR_SSL_PROTOCOL_ERROR on otherwise working kubernetes ingress/service

I have a basic nginx deployment and an existing certificate issued by let's encrypt via cert-manager. I thought everything was in place to start using the certificate but I'm unable to connect on ...
3
votes
1answer
2k views

Running MQTT broker in Kubernetes (nginx-ingress-controller) with TCP over SSL

I'm currently trying to setup a MQTT broker (VerneMQ) on my kubernetes cluster (GKE). At the moment I'm using nginx-ingress-controller with a Google provided L4 load balancer. The VerneMQ deployment ...
0
votes
1answer
1k views

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 ...
1
vote
1answer
488 views

GCP load-balancer ssl certificate resets itself after change

So I need to change an expired SSL certificate. Unfortunately, the one responsible for this task has passed away suddenly. I have no experience with google cloud, kuberneted or ingress. If I go to ...
0
votes
1answer
162 views

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 ...
1
vote
1answer
344 views

Exposing application which enforces https using ingress

I've been setting up a kubernetes cluster as a PoC, but currently struggle to find a solution for my problem. A proprietary software that I need to deploy does only expose one port which is https. I ...
0
votes
2answers
1k views

Kubernetes: horizontal auto-scaling based on metrics in another namespace

I'd like to set up horizontal auto-scaling for a deployment based on the metrics of the ingress-controller deployed in another namespace. I have a deployment (petclinic) deployed in a certain ...
1
vote
1answer
301 views

GCP - GKE: Every Ingress configuration keeps resetting automatically. How to set an HTTPS health check?

I know that Ingress requires a service in an healthy state in order to serve its contents through HTTP(S) and to do so I configured a ReadinessProbe on my workload deployment: readinessProbe: ...
0
votes
1answer
1k views

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-...
2
votes
2answers
5k views

How to keep Authentication header with redirect using NGINX ingress annotations

I have an nginx ingress controller for my kubernetes cluster. I have a need to add a permanent redirect to an ingress which I can successfully do with nginx.ingress.kubernetes.io/permanent-redirect: "...