An important component that manages routes and containers.
Review previous parts of this series for better understanding:
This is fourth part of the Kubernetes series. In this part I will try to add more insights into Kubernetes
What is a Service in Kubernetes?
Pods together that perform the same function as a single entity. It keeps track of containers in the Pods and routes to the containers for internal and external access. A Service’s IP address remains stable regardless of changes to the Pods it routes to, which makes it easy to gain discoverability and can simplify containers designs. By default, Services are only available using an internally routable IP address, they can be made available outside of the Cluster by choosing one of several strategies.
Types Of Services
There are 4 types of Services, specified by the type
field in the
Service Configuration File: