Skip to content
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

[Enhancement] How to set kerberos properties for MirrorMaker 2 #3088

Closed
abergmeier opened this issue May 25, 2020 · 10 comments
Closed

[Enhancement] How to set kerberos properties for MirrorMaker 2 #3088

abergmeier opened this issue May 25, 2020 · 10 comments

Comments

@abergmeier
Copy link

I have a few Kerberos files which are usually configured to tell a Kafka Client how to interact with Kerberos.
With the CRD, I am a little lost, how I would set properties, krb5.conf, etc.
Is there any documentation for this?

@scholzj
Copy link
Member

scholzj commented May 25, 2020

I'm afraid we do not support Kerberos for Kafka. We currently support authentication using:

  • TLS client certifciates
  • SCRAM-SHA-512 password
  • OAuth2 access tokens

@abergmeier
Copy link
Author

I'm afraid we do not support Kerberos for Kafka

Is there a reason why? Or asked differently - how hard would it be to add that support?

@scholzj
Copy link
Member

scholzj commented May 25, 2020

I'm not really a Kerberos expert, so I might have missed something. But I actually looked into it once. It looks like Kerberos is not very Kubernetes friendly. In most cases it seemed to be implemented the way that the Kerberos daemon was runnning on the host and only the keytab or how is it called witht he tickets was shared into the pod. That makes it hard to setup and hard to use since you need to share it within the node with all apps possibly using Kerberos. And also to be honest, there wasn't any real demand for it as far as I can remember.

I have no idea how big or small such PR would be. But please keep in mind that this is not just about the effort for the PR. This is also about long term commitment to keep testing and fixing it to make sure it keeps working.

I'm not a biggest OAuth 2 expert either ... but my understanding was that some OAuth2 servers allow you to federate to Kerberos. So maybe that could be an alternative for you.

@abergmeier
Copy link
Author

@scholzj
Copy link
Member

scholzj commented May 26, 2020

I haven't. But I guess that could be another option, yes.

@scholzj
Copy link
Member

scholzj commented Jul 29, 2020

I added this to the tomorrow's Strimzi Community meeting agenda. We can discuss whether this is something we might consider in the future in which case we can change this to enhancement or whether we do not plan to support Kerberos in which case we can close it.

The meeting is tomorrow (July 30th) at 8:00 AM UTC https://zoom.us/j/93690955902 ... @abergmeier if you would be interested in joining but cannot do it tomorrow (because it is too short notice or bad timezone), we can also postpone it for August 13th at 4:00 PM UTC https://zoom.us/j/93355943577 ... please let us know.

@abergmeier
Copy link
Author

Thanks for the heads up.
30th is a bit short notice indeed - and I think you should continue regardless of my involvement.
That said since I am not a Kerberos expert but a mere user my input is probably limited anyways.

@scholzj
Copy link
Member

scholzj commented Jul 29, 2020

Up to you. If you wanna join on 13th it is no problem to move it.

@scholzj scholzj changed the title [Question] How to set kerberos properties for MirrorMaker 2 [Enhancement] How to set kerberos properties for MirrorMaker 2 Jul 30, 2020
@scholzj
Copy link
Member

scholzj commented Jul 30, 2020

We decided on the Strimzi Community meeting to keep this open as enhancement. However - for the record - we do not plan to work on this any time soon at this point. If anyone wants to contribute this, feel free to start ... probably best by opening a proposal.

@scholzj
Copy link
Member

scholzj commented Mar 31, 2022

Triaged on 31.3.2022: there does not seem to be much interest in this and the implementation and maintenance effort would be big. This should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants