-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Enabling modsecurity rules per location is extremely slow #12927
Comments
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/remove-kind bug
|
I'm only talking about the configuration performance here, haven't even looked if it affects requests performance in general (troubleshooting for a colleague)
hostPort
Is there a proper ticket to track this ? Should this be added to the release notes ?
My use case is single server appliance / on prem, so there are no magic Infra-Provider :( |
Thanks for the updated info. It helps. The project e2e tests do not include a combo of hostPort + modsecurity. So I am not sure what data to base any comments on. Is there a chance that you can also test the same config, without hostPort. Just to know if that has a impact. |
What happened:
Installing multiple application that each provide their ingress and want to enable modsecurity
What you expected to happen:
It works :)
NGINX Ingress controller version (exec into the pod and run
/nginx-ingress-controller --version
):Kubernetes version (use
kubectl version
):Environment:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release): Alma 9.5
Kernel (e.g.
uname -a
):5.14.0-503.16.1.el9_5.x86_64
Install tools:
kubeadm
How was the ingress-nginx-controller installed:
Current state of ingress object, if applicable:
Others:
How to reproduce this issue:
ingress-nginx with validation webhook enabled, you can bump the timeout to 30s
6 ingress still work
7 it takes more than 10s
12 it takes more than 30s
Anything else we need to know:
A good solution (for me) would be to be able to load the rules once but still have modsecurity be opt-in instead of opt-out for each ingress, ie:
The text was updated successfully, but these errors were encountered: