Member-only story
Kubernetes Services
Kubernetes services enable communication between various components within and outside of the application. Kubernetes services helps us connect applications together with other applications or users. Lets assume our application has groups of pods running various sections such as a group for serving our front end load to users and other group for running back end processes. Then third group connecting to an external data source.
It is services that enable connectivity between these groups of pods. Services enable the front end application to be made available to end users. It helps communication between back end and front end pods and helps in establishing connectivity to an external data source.

Lets further discuss one use case of services. We deployed our pod having a web application running on it. How do external users access the web page?
The Kubernetes node has an IP address and that is 192.168.1.2 and the host machine is on the same network. It has an IP address 192.168.1.10. The internal pod network is in 10.244.0.0 and the POD has an IP 10.244.0.2 .
Clearly we can not ping or access the pod at address 10.244.0.2 as its in a separate network.