Questions tagged [ingress-controller]

173 questions
1
vote
3 answers

Why Nginx ingress only routes requests to pods on the same node in Kubernetes?

I built a simple setup of Kubernetes on bare metal. With 1 master and 2 worker nodes: [root@kubemaster helm-chart]$ kubectl get nodes NAME STATUS ROLES AGE VERSION kubemaster Ready control-plane 53d v1.26.1 kubenode-1 …
1
vote
1 answer

Deployed Nginx Ingress Controller but service with type LoadBalancer has external IP pending

I have a k3s (light weighted k8s) cluster running on my Raspberry PI. So, I am not using any cloud hosted cluster but a bear metal one on my Raspberry PI. I have deployed a application with this manifest: apiVersion: apps/v1 kind:…
1
vote
2 answers

How to redirect to a spesific path using nginx ingress controller

I am using nginx ingress controller in my k8s cluster, with AWS L4 NLB with SSL Redirection based on this documentation: https://github.com/helm/charts/tree/master/stable/nginx-ingress#aws-l4-nlb-with-ssl-redirection My website is multi-tenant:…
SimonSK
  • 153
  • 4
  • 12
1
vote
1 answer

Azure App gateway ingress controller with private AKS cluster not working

I am new to kubernetes, so please bear with me. I have created a azure kubernetes private cluster, i have deployed the pods for a basic webapplication & CLusterIP service , I have enabled App gateway ingress controller for the aks and deployed the…
1
vote
1 answer

Preserve client IP address without setting externalTrafficPolicy=Local using nginx ingress controller for further IP whitelisting

I have AKS with nginx load balancer (ingress controller) installed with helm as the entry point to my cluster. I want to preserve the real IP addresses from clients for further whitelisting with nginx.ingress.kubernetes.io/whitelist-source-range on…
1
vote
2 answers

Config HTTP method restriction over nginx kubernetes ingress controller

i'm trying to config my ingress controller to allow only GET method on it , i saw there is a cors config that i can use to do that , but no idea why it doesn't work here my config : apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name:…
1
vote
0 answers

Harbor installation via Bitnami helm chart expose via host machine ingress controller (not External Load Balancers) on single node microk8s cluster

it is about to expose service via ingress rules and ingress controller , i do installation of harbor registry via helm chart https://github.com/bitnami/charts/tree/master/bitnami/harbor and default service expose method is to bind service to…
1
vote
0 answers

Failed to create pod sandbox: rpc error - pod CrashLoopBackOff

I have a k8s cluster with 6 nodes and ingress controllers spawned over all of them. But 3 of 6 pods are not working properly. kubectl -n ingress-nginx get pods NAME READY STATUS RESTARTS …
1
vote
2 answers

How the ingress controller traffic lands on the correct node?

We have a OpenShift 4.8 cluster with 3 master nodes and 10 worker nodes in Azure. All the worker and master nodes are added under the same load balancer. I am a bit confused about how ingress traffic reaches the cluster. When someone accesses the…
1
vote
1 answer

How to create nginx ingress rules for services in 3 different namespaces in azure Kubernetes cluster

I have 3 services in 3 different namespaces I want my ingress rules to map to these backends, on path based routes. Can someone please guide on the same. I am using nginx ingress inside azure Kubernetes cluster.
1
vote
1 answer

AKS with LetsEncrypt and multiple certs for different containers

I'm looking for any working samples of applying different certificates on AKS with Application Gateway as Ingress Controller. I have Key Vault with a certificate that is used imported in ApGw/Ingress as sitecomcert and here is Ingress…
1
vote
2 answers

Install specific version of NGINX Ingress Controller

I need to install this NGINX Ingress Controller Git release https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.22.0 in my Kubernetes cluster. Can anyone share the steps on how to do it? I did some research, but could not find any…
1
vote
2 answers

Many different hosts in Ingress configuration file

I am trying to automate the hosts in Ingress Controller and I'm facing the problem of generating many hosts into one file. What I mean is, I have this ingress.yaml: --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-host …
1
vote
0 answers

AGIC deployed with helm (shared:true) with customized prohibited targets deletes the manually added https listener, rules, pool etc

We have a cluster with AGIC that was installed by helm. We made sure to set shared: true to helm configs and to delete the default prohibited-target-all and introduce the custom prohibited target to blacklist by specific host in order to avoid the…
1
vote
0 answers

How to debug ingress-nginx-controller for lost response time?

I have a weird issue with my ingress-nginx-controller. Sometimes there are following log values from the ingress-nginx-controller upstream_duration: 4.560s, 0.328s Where did 4 seconds go? Upstream is another nginx with a duration of 0.328s Did…
Gabriel Stein
  • 428
  • 1
  • 4
  • 22
1
2
3
11 12