O'Reilly logo

Kubernetes Cookbook, 2nd Edition by Ke-Jou Carol Hsu, Hui-Chuan Chloe Lee, Hideto Saito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

There's more...

The Kubernetes Service has four types: ClusterIP, NodePort, LoadBalancer, and ExternalName. In the How to do it... section in this recipe, we only demonstrate the default type, ClusterIP. The type ClusterIP indicates that the Kubernetes Service is assigned a unique virtual IP in the overlay network, which also means the identity in this Kubernetes cluster. ClusterIP guarantees that the Service is accessible internally.

The following diagram expresses the availability coverage of the types, and their entry points:

Four Service types and their entry points 

For the NodePort type, it covers the ClusterIP's features, has a peer-accessible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required