Skip to content

How to use a fixed port for Kafka external listener of type NodePort #4395

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

You must be logged in to vote

You can use this to specify the node port which Strimzi should request for the services: https://strimzi.io/docs/operators/latest/full/using.html#property-listener-config-nodeport-reference

However, keep in mind that in general, the ports are assigned randomly by Kubernetes for the NodePort services. So you need to make sure that the ports you specify there will be available. If they are already used by some other application, you would need to move the application to another port first.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@milon619
Comment options

Answer selected by milon619
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