-
Hi, we used external listener 9094 for the internal loadbalancer. we have no external dns installed on AKS, we manage the dns records through terraform / manual. I would like to get the dns name instead of IP address for the broker..
without external dns , how can we override the external dns name for the broker and bootstrap for the loadbalancer type ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm not sure I fully follow your question. Strimzi will use the load balancer address provided to it by Kubernetes / your infrastructure. If it is an IP, then it will use an IP. If that is a DNS, then it will use DNS. To be honest, I do not remember what Azure normally uses. I know Google uses IPs and Amazon uses DNS names. If you want to override the address Strimzi will use, you can use the |
Beta Was this translation helpful? Give feedback.
-
ahentication: Thanks @scholzj , it works using this above... alternativeNames for Bootstrap and advertisedHost for brokers. |
Beta Was this translation helpful? Give feedback.
-
@scholzj , in this case, we need to use custom certficate for brokercertchain for the listener? getting error from the consumer org.apache.kafka.clients.NetworkClient) |
Beta Was this translation helpful? Give feedback.
I'm not sure I fully follow your question. Strimzi will use the load balancer address provided to it by Kubernetes / your infrastructure. If it is an IP, then it will use an IP. If that is a DNS, then it will use DNS. To be honest, I do not remember what Azure normally uses. I know Google uses IPs and Amazon uses DNS names.
If you want to override the address Strimzi will use, you can use the
advertisedHost
fields for it (check the docs for the exact YAML). But keep in mind that Strimzi does not manage your DNS, so you have to make sure to assign the DNS name to the loadbalancer with some other means - be it ExternalDNS or something else.