-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Description
I have written an init container that uses the python kubernetes client to query the kubernetes api server for the public dns name of the node which runs kafka. I also used proper Rbac permissions that only enable the pod to query node information.
This can be used as advertise address for kafka together with a hostport. With such a setup all outside traffic goes to the desired broker directly. The disadvantage is that you can't run two kafka instances on the same node (which is a bad idea anyways).
This works with amazon aws, I haven't tested it in other deployments.
Would this be a good change to try and upstream into this repo or is it too specific for my setup?
Metadata
Metadata
Assignees
Labels
No labels