-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transportserver resource breaks with a long FQDN host value. #1697
Comments
Quick update: Using custom templates with this template I managed to get
Code snippet from
Note: Above was inside the |
For anyone else that may experience similar, in the end I managed to solve this with
|
NGINX Ingress controller version: 1.11.3
Kubernetes version: v1.19
Description
When adding a transportserver resource with a long FQDN (in our case 57 characters) we get the below error repeated in the logs and nginx-ingress controller takes a very long time to startup affecting other ingress resources:
To Reproduce
Steps to reproduce the behavior:
Install the ingress controller
Add the following to
args:
in nginx-ingress.yaml spec:Apply deployment manifest:
Install an application that will act as a backend (is just an echo app)
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/http-svc.yaml
Create an transportserver resource:
Expected behavior
Nginx-ingress controller to start without errors.
Is there a way to set
map_hash_bucket_size
in the configmap? I've not been able to find a way.Is
server-name-hash-bucket-size
related? I have tried setting the below but these don't change the behaviour:Note: When the
host
value in the transportserver resource has less characters the error goes away.The text was updated successfully, but these errors were encountered: