Book icon

Service


Service defines a policy to access some set of Pods. Usually Service selects the Pods using the labels that were given to the Pods. For example web server Service could target all Pods that have label www. Pods are created and destroyed constantly and Service abstraction is a way of overcoming that. You use a Service and you do not care whether some Pods are alive or not.

Abbreviated alias: svc

Useful links

Service docs – https://kubernetes.io/docs/concepts/services-networking/service/

Connect applications with services – https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/