-
As described in issue #3088 kerberos is currently not supported for strimzi. I saw the authentication type "custom" for a listener in the documentation and could imagine a setup like this:
For each broker I would create a service principal (kafka/broker-X.myingress.com) and create a keytab which contains entries for all service principals. This "cluster.keytab" should then be mounted in each kafka pod, e.g. at /opt/kafka/.
As written above, I now kerberos is not supported at the moment. However, is there a way to solve this problems in the current strimzi version? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I guess another problem is that the keytab needs to be renewed periodically as well? As said before, we do not support Kerberos and I do not think there is any easy way how to add support for it. Out of curiosity ... what is your motivation for using Kerberos? It is not exactly Kubernetes-friendly technology. |
Beta Was this translation helpful? Give feedback.
-
On bare-metal the kerberos ticket is (as far as I know) renewed by the kafka service, there is no need to renew the ticket from outside. In the documentation (https://docs.confluent.io/platform/current/kafka/authentication_sasl/authentication_sasl_gssapi.html) there are also no additional configurations than the ones above mentioned.
I'm working on a bare-metal kafka cluster with a kerberos listener and I was looking for alternatives based on kubernetes. I would like to check if a setup on kubernetes is possible. From my (maybe naive) point of view a setup should be possible with the listener configurations from above. But therefore I have to solve the problems described. So I assume there is no possibility to configure broker-specific listener configurations isn't it? Is mounting a secret to each kafka pod possible? |
Beta Was this translation helpful? Give feedback.
On bare-metal the kerberos ticket is (as far as I know) renewed by the kafka service, there is no need to renew the ticket from outside. In the documentation (https://docs.confluent.io/platform/current/kafka/authentication_sasl/authentication_sasl_gssapi.html) there are also no additional configurations than the ones above mentioned.
I'm working on a bare-metal kafka cluster with a kerberos listener and I was looking for alternatives based on kubernetes. I would like to check if a setup o…