Skip to content

Why a ClusterRole is required to expose Kafka via NodePort Listener #11567

Answered by scholzj
alita1991 asked this question in Q&A
Discussion options

You must be logged in to vote

This was discussed many times in various threads. So only shortly ... for more details, please search for the previous threads here and on Slack ...

  • node - list, get (get is required by the init container to gather the list of addresses from the current node and write to a config file, but unable to find where list nodes is used and why)

Access to nodes is required to get the node address (for node port listenrs) which is needed to configure the listener. It is also needed to get the zone in which the node is when using rack awareness

  • clusterrolebinding - get, create (a clusterrolebinding for the init container is created with get access on nodes endpoint, only if does not exists)

T…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alita1991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants