Kubernetes Services – The Glue that Binds Them
Latest lesson services and their port definitions and end points. Here is a quick diagram of the Service Ports and End Ports. Services are needed in the cluster to enable a single point of entry by name vs. IP Address. Since Container Pods come and go as well as moving to different Nodes, using an internal cluster IP Address is not a practical long term solution. The service will direct IP traffic to the appropriate resource no matter where it relocates IP / cluster wise.
Another way to think about it is to envision a set of queues with individual entry lanes marked off. the service is the guy directing you to the appropriate queue entry point based on resource loads and waiting lines. You always want him to get you into the quickest and fastest line. That is the Service doing its job.
