The ClusterIP and LoadBalancer are on separate network interfaces.
The ClusterIP exposes the service on an internal interface whereas, the LoadBalancer exposes on a public interface.
Hi, the author here! The clusterip one is used by Istio (if you’re following the Istio instructions) but it’s harmless to have an internal LB. The other one is exposing an external LB, which is useful both if you’re using GKE (or any cloud provider) or GKE+Istio.
We deliberately wanted to leave state out as it complicates things by quite a bit, but doesn’t add much value in terms of the technologies we wanted to showcase.
Also, no persistent data storage (no data to the store owner)? (I guess for easier example)