Back to Glossary
Kubernetes

What is Service (Kubernetes)?

A Kubernetes abstraction that exposes a stable network endpoint to a set of pods.

A Kubernetes Service provides a stable DNS name and IP address for a dynamic set of pods. Since pod IPs change when pods restart, Services provide a consistent way to reach them. A Service uses a label selector to find its backing pods and kube-proxy maintains iptables/IPVS rules to load-balance traffic across them. Service types: ClusterIP (internal), NodePort (external via node), LoadBalancer (cloud LB), and ExternalName (DNS alias).

Test your knowledge of Service (Kubernetes) and 130 other DevOps concepts