I know the basic concept of ClusterIP
and Headless
services.
I think the key different is ClusterIP
do some sort of load balancing between underlying pods by applying some iptable rules.
Then Headless
just a list of ip addresses of pods registered in DNS.
And my question is, if ClusterIP
do the "load balancing" job, does that mean the ingress controller just do the routing but not load balancing?
What if using Headless
as the service type, can I configure the ingress controller and let it take over the load balancing job?
Thanks.