-
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
[Bug]: Multiple NGINX Ingress Controllers doesn't work well #6891
Comments
Hi @hanyouqing thanks for reporting! Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂 Cheers! |
This can be fixed in #6893 |
Hi @hanyouqing this is expected behaviour as of now, see #3 in https://docs.nginx.com/nginx-ingress-controller/installation/run-multiple-ingress-controllers/#ingress-class and point 2 in the note below |
Thank you @vepatel; I have read this documentation before creating this issue. I have two questions:
Thanks again for your attention and patience! |
One more thing I observed below When I added the If a virtualserver with a non-existent Is this the expected behavior? |
Version
3.6.1
What Kubernetes platforms are you running on?
Rancher
Steps to reproduce
Step 1: Deploy Default Nginx-Ingress
Deploy the default nginx-ingress controller with the default ingressClass set to
nginx
.Step 2: Deploy Namespace-Specific Nginx-Ingress
Deploy a namespace-specific nginx-ingress controller with the ingressClass set to
nginx-team-c
.Step 3: Create VirtualServer Resources
Create three VirtualServer resources with the following configurations:
nginx
.nginx-team-c
.Expected Behavior
The expected behavior is that
- VirtualServer A and B are handled by the default
nginx
ingress controller,- VirtualServer C is handled by the
nginx-team-c
ingress controller.Observed Behavior
However, it has been observed that VirtualServer A is being handled by both the
nginx
andnginx-team-c
ingress controllers, which is not the expected behavior.If VirtualServer A includes some customized configurations that depend on third-party plugin (for example include a GeoIP file) only integrated with
nginx-team-c
and the ingressClassName was missed by somebody, then the current behavior will break the defaultnginx
ingress.The text was updated successfully, but these errors were encountered: