🧪





🎯 Goal


By the end, you will clearly see:


Why ClusterIP hides pod identity

Why Headless Service exposes pod identity

How StatefulSet + Headless Service gives stable DNS per pod

Why databases need this








🧠 Mental model (keep this in mind)





Setup
DNS result




Deployment + ClusterIP
One virtual IP


Deployment +...