zet

Exposing Services in Kubernetes

ClusterIP (internal):

NodePort:

LoadBalancer:

In short, ClusterIP is for internal cluster communication, NodePort allows external access using each node’s IP by spcifying port of app, and LoadBalancer creates an external load balancer for handling external traffic.

Source: Orchestrating the Cloud with Kubernetes GCP Lab