NodePort and LoadBalancer

Learn about NodePort and LoadBalancer.

NodePort

This is the type of service we have been using so far, and it builds on top of the ClusterIP type. You can think of it as an extension, so everything we can do with a ClusterIP, we can also do with a NodePort service. In addition to allowing applications that are running in our cluster to talk to each other, it will also allow us to expose our application to the outside world. It works by opening a port on all the worker nodes we have in our cluster, and then redirecting requests received on ...

Get hands-on with 1400+ tech skills courses.