Multiple ingress classes (f. ex internal / external nginx) #6456
Replies: 2 comments 12 replies
-
You can check this blog post - https://strimzi.io/blog/2021/05/07/deploying-kafka-with-lets-encrypt-certificates/ - which is very similar. The main difference is that Strimzi is designed, developed and tested with Kubernetes Nginx Controller. Not sure if your ALB controller will work. I assume ALB is Application Loadb Balancer? Does it support TLS passthrough on which Strimzi depends? In any case, if it didn't created the Ingress resources, it probably failed before that. I don't think I ever saw an exception like this which is without any proper reason. Maybe if you change the log level to DEBUG, it would show at least what were the last things it was doing. |
Beta Was this translation helpful? Give feedback.
-
It does seem that Strimzi gets confused if there are multiple I managed to get the external configuration working by deleting the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
EDIT
This is now focused on multiple ingress class names.
OLD Version
Out of curiosity, is there a working configuration example shown to work for the
Kafka
CRD which uses:listener[].configuration.class: ingress
Below you will see my listener configurations. However, they give very strange results which I think verifies a few questions I have seen around this repository around
tls
in thelistener
configuration blocks... First and foremost, it confirms that onlynginx
ingress controller works.ALB Controller in AWS:
Note that I created the
kafka-tls-certs-external
usingcert-manager
CRDs.You can see that in this case I simply use the
Ingress
capabilities of ALB. However, this does not create anyIngress
resources in my release namespace. Neither does it createService
of typeLoadBalancer
, it simply creates aService
of typeClusterIP
on a per N + 1 brokers (+1 for bootstrap) :My ALB logs indicate that nothing is happening on the ALB Controller side. Additionally, no brokers are being deployed, and after checking the
strimzi-operator
logs, I see this section, which is crucial:It proves that only the
nginx-ingress-controller
can be used. It makes sense that this does not trigger deployment of any brokers accordingly.Naturally, I would try with the
nginx-ingress-controller
. The change is very simple, as I effectively only need to change thelistener[].configuration.class
parameter.NGINX Ingress Controller listener config:
Note that I created the
kafka-tls-certs-external
usingcert-manager
CRDs here as well. Regardless, I have deployed aningress-nginx controller
which is defined with aningressClass
ofnginx-external
and that works perfectly fine.This time I got this error in the operator logs:
Also:
However, no ingress resources were made... I am really not sure what could be going wrong here.
Beta Was this translation helpful? Give feedback.
All reactions