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).
More Kubernetes Terms
Admission Controller
A Kubernetes plugin that intercepts API requests before objects are persisted.
Auto Scaling
Automatically adjusting the number of compute resources based on demand.
ClusterIP
The default Kubernetes Service type that exposes a service on an internal cluster IP.
ConfigMap
A Kubernetes object for storing non-sensitive configuration data as key-value pairs.
Controller Manager
Kubernetes control plane component running control loops to maintain desired state.
CoreDNS
The default DNS server in Kubernetes clusters for service discovery.
Test your knowledge of Service (Kubernetes) and 130 other DevOps concepts