[Verse 1]
Your deployment's running fine, containers are alive
But they're hidden from the world, trapped inside their hive
Time to open up the door, let the traffic flow
With kubectl expose, here's what you need to know
[Chorus]
Expose deployment, make it shine
Port eighty to eight zero eight zero, that's the line
ClusterIP keeps it internal, LoadBalancer goes wide
Target port and service port, connected side by side
[Verse 2]
First decide your service type, where will traffic go
ClusterIP for inner talk, keeps it nice and closed
But when you need the outside world to reach your app today
LoadBalancer is the key to open up the way
[Chorus]
Expose deployment, make it shine
Port eighty to eight zero eight zero, that's the line
ClusterIP keeps it internal, LoadBalancer goes wide
Target port and service port, connected side by side
[Bridge]
kubectl is your magic wand
expose deployment takes command
name your service, set the ports
traffic flows where it reports
Target port is where pods listen
Service port is what clients visit
Type decides the traffic route
Inside cluster or all about
[Verse 3]
When you run the expose command, magic starts to flow
Service wraps around your pods, makes them ready to go
Port mapping bridges the gap between the world and your code
Now your audiobook service is ready for the load
[Final Chorus]
Expose deployment, make it shine
Port eighty to eight zero eight zero, that's the line
ClusterIP keeps it internal, LoadBalancer goes wide
Target port and service port, connected side by side
[Outro]
From deployment to service
Your app is now alive
kubectl expose made it work
Your containers now thrive