Difference b/w Ingress and node-port service/GCP load balancer


Can you please let me know what is the difference between the node port / GCP load balancer and ingress?
In both cases, we configuring whenever we have a new service for our application. So how does it solve the problem with Node port service type?

Thanks in Advance

Hello @sharath

  • NodePort : Exposes the Service on each Node’s IP at a static port (the NodePort ). A ClusterIP Service, to which the NodePort Service routes, is automatically created. You’ll be able to contact the NodePort Service, from outside the cluster, by requesting <NodeIP>:<NodePort> .

  • LoadBalancer : Exposes the Service externally using a cloud provider’s load balancer. NodePort and ClusterIP Services, to which the external load balancer routes, are automatically created.

  • Ingress to expose your Service. Ingress is not a Service type, but it acts as the entry point for your cluster. It lets you consolidate your routing rules into a single resource as it can expose multiple services under the same IP address.