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:
For the NodePort type, it covers the ClusterIP's features, has a peer-accessible ...