Service

The service is sometimes also referred to as the load balancer and is used to provide a logical grouping of pods and furnish them with connectivity (a way to connect).

Three major services are as follows:

  • Cluster IP: Adding an internal IP to a cluster of pods.
  • Node port: Port mapping to the underlying node directory to connect to the application/pod with the IP address of the node.
  • Load balancer: This service adds a load balancer resource and configures an external IP address on the load balancer. On the external side, the load balancer will route traffic to the specific nodes based on the rules configured in the load balancer and internally to the correct pod.

With these services, the internal and external connections for pods are arranged. The services and pods are all specified within a deployment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.170.65