4 Lab: External Access

Apache Kafka with Kubernetes · 4:19

Listen on 93

Lyrics

[Verse 1]
Inside your cluster Kafka waits to speak
But external clients cannot reach its peak
LoadBalancer listeners are the key you need
To bridge the gap and make connections feed

Configure your cluster YAML with care
Set external type LoadBalancer there
Each broker gets its own public face
Ready to handle the networking race

[Chorus]
Load it up, balance out, TLS secure the way
External access through the LoadBalancer gateway
Connect and produce, consume with ease
Kafka flowing through Kubernetes

[Verse 2]
Your local client needs the proper setup
Certificates and truststore to connect up
Bootstrap servers point to external ports
TLS encryption for secure transports

Copy the cluster certificate file
Configure your client properties in style
Security protocol TLS is the name
SSL truststore location starts the game

[Chorus]
Load it up, balance out, TLS secure the way
External access through the LoadBalancer gateway
Connect and produce, consume with ease
Kafka flowing through Kubernetes

[Bridge]
When connections fail and you're stuck in doubt
Check your security groups and routes
DNS resolution might be the clue
Port forwarding issues could be blocking you

Network policies might restrict the flow
Service endpoints you need to know
Troubleshoot step by step with care
Debug the path from here to there

[Chorus]
Load it up, balance out, TLS secure the way
External access through the LoadBalancer gateway
Connect and produce, consume with ease
Kafka flowing through Kubernetes

[Outro]
External access configured right
Clients connecting day and night
Strimzi makes it smooth and clean
Best Kafka setup you've ever seen

← 2 Configuring External Access | 1 Kafka Broker Configuration →