Questions tagged [ingress-controller]
173 questions
51
votes
8 answers
413 error with Kubernetes and Nginx ingress controller
I'm trying to change the client_max_body_size value, so my NGINX ingress will not return the HTTP 413 Content Too Large error (as seen in the logs).
I've tested a few solutions.
Here is my config map:
kind: ConfigMap
apiVersion: v1
data:
…

Djent
- 2,877
- 10
- 41
- 66
4
votes
1 answer
Helm charts and Ingress resources
I'm pretty new to K8s.
I'm trying to make my app visible to the outside world. I have deployed this Nginx Ingress Controller with my apps, using Helm and helmfile which has given me an external ip address and a load balancer.
As I understand it, I…

WhatTheWhat
- 197
- 3
- 13
3
votes
1 answer
Azure Kubernetes Service (AKS) uses Application Gateway Ingress Controller (AGIC) : How to implement HSTS header in ASP.Net Core 6.0?
An action item from the security scan is to implement HSTS header in ASP.Net Core 6.0 WebAPI.
A WebAPI application is deployed on AKS using Application Gateway Ingress Controller. SSL termination occurs at the Application Gateway. Application…

One Developer
- 99
- 5
- 43
- 103
3
votes
1 answer
How to avoid updating backend pool of application gateway by terraform script
I am trying to deploy AKS with application gateway ingress controller via terraform.
For which I have created application gateway , AKS (also enabled ingress controller setting) and then deployed YAML file with kind=ingress.
Now, for the first time…

SK001
- 31
- 1
2
votes
0 answers
502 Bad Gateway error when using NestJS app with AKS and AGIC
I'm trying to deploy a backend application made with nestjs to AKS and have it exposed to the internet using Application Gateway Ingress Controller, the deployment of the application works with all the svc, pod, and ingress but when I try to access…

zoluxero
- 61
- 5
2
votes
1 answer
TLS secret associated with Ingress isn’t used by Traefik
I'm creating the following ingress resource in a K3s cluster which uses Traefik 2.6.2 as its ingress controller.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-app-ing
namespace: default
annotations:
…

Amir Keibi
- 1,991
- 28
- 45
2
votes
1 answer
Istio - way to add prefix to route/destination?
Currently have Istio deployed to handle the ingress to my applications. Running into an issue where one app needs to be reachable via a certain URL such as "http://gateway/webapp1" and I need it to route internally…

IT_User
- 729
- 9
- 27
2
votes
2 answers
How to allow IP dynamically using ingress controller
My structure
Kubernetes cluster on GKE
Ingress controller deployed using helm
An application which will return list of IP ranges note: it will get updated periodically
curl https://allowed.domain.com
172.30.1.210/32,172.30.2.60/32
Secured…

Farkhod Sadykov
- 67
- 6
2
votes
1 answer
Setup TLS on existing Nginx ingress controller in AKS
I have deployed Nginx Ingress Controller with Helm in AKS without enabling TLS. Now I want to update the Controller to mount the TLS certificate as Kubernetes secrets, like below -
controller:
extraVolumes:
- name: secrets-store-inline
…

Sourav Karmakar
- 95
- 3
- 12
2
votes
2 answers
Nginx Ingress controller on k8s - temporary files location in storage?
Where does the NGINX ingress controller stores temporary files?
This is the message I receive and I am pretty sure it is storing the file on a volume attached to one of my pods:
2021/09/27 20:33:23 [warn] 33#33: *26 a client request body is buffered…

Danilo Patrucco
- 110
- 3
- 10
2
votes
1 answer
Kubernetes Host and Service Ingress Mapping using TCP
While working with Kubernetes for some months now, I found a nice way to use one single existing domain name and expose the cluster-ip through a sub-domain but also most of the microservices through different sub-sub-domains using the ingress…

Stavros Koureas
- 1,126
- 12
- 34
2
votes
1 answer
Why must POD_NAME and POD_NAMESPACE be supplied for some Kubernetes ingress controllers?
For at least some of the ingress controllers out there, 2 variables must be supplied: POD_NAME and POD_NAMESPACE. The nginx ingress controller makes sure to inject these 2 variables in the container(s) as seen here (link for Azure deployment…

Mihai Albert
- 1,288
- 1
- 12
- 27
2
votes
1 answer
How to specify custom Istio ingress gateway in Kubernetes ingress
I deployed Istio using the operator and added a custom ingress gateway which is only accessible from a certain source range (our VPN).
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: istio-system
name:…

ammerzon
- 998
- 1
- 13
- 30
1
vote
0 answers
When I tried installing ingress-nginix using the YAML manifest I got this error
Here’s the link for the installation guide.
https://kubernetes.github.io/ingress-nginx/deploy/#quick-start
Screenshot of error
This is the command that I ran.
kubectl apply -f…

Sai Ganesh
- 11
- 1
- 2
1
vote
0 answers
aws ingress controller to expose service
I'm using kubernetes-sigs.github.io as a reference to expose my app on eks using one load balancer. I got their example working with just a slight modification in the annotation. I added the group.name.
apiVersion: v1
kind: Namespace
metadata:
…

Spencer Trinh
- 743
- 12
- 31