Clusterip service type
ClusterIP is a Kubernetes Service type that exposes selected Pods through a stable virtual IP address accessible only within the cluster.
Google Anthos in Action
A ClusterIP is a stable, cluster-internal virtual IP address assigned to a Kubernetes Service.
- How it is used
- Provides stable, cluster-internal addressing and load balancing for Pods behind a Kubernetes Service.
- How deep it goes
- Defines addressing and reachability, then compares two resolution mechanisms without detailing their implementation.
- Examples
- Shows a guestbook frontend Service manifest with `type: ClusterIP`, a Pod selector, and port 80.
- What you can do after
- Operate/configure it by declaring a ClusterIP Service for cluster-internal access to selected Pods.
Read how Google Anthos in Action explains clusterip service type →
Road to Kubernetes
A ClusterIP Service is a Kubernetes Service type that provides an internal cluster-only endpoint and balances traffic across selected Pods.
- How it is used
- Provides private, load-balanced communication between cluster workloads such as applications, APIs, Deployments, and databases.
- How deep it goes
- Explains internal routing, label-based selection, ports, and practical verification, without detailing Kubernetes networking internals.
- Examples
- Uses internal APIs, databases, a PostgreSQL StatefulSet, kubectl port-forward, and a selector-based Service manifest.
- What you can do after
- Operate/configure a private Service with kubectl, labels, selectors, ports, and port forwarding.
Read how Road to Kubernetes explains clusterip service type →
Kubernetes in Action, Second Edition
A ClusterIP service is a Kubernetes Service that provides an internal cluster IP address for reaching a set of pods.
- How it is used
- Provides internal cluster access to selected pods, such as application services consumed by other pods.
- How deep it goes
- Explains manifests, selectors, ports, addresses, and forwarding, but defers external exposure to other Service types.
- Examples
- Uses quote and quiz Services, YAML manifests, kubectl apply, kubectl expose, and service listings.
- What you can do after
- Operate/configure an internal Service with a manifest or kubectl expose, selecting pods and mapping Service ports to pod ports.
Read how Kubernetes in Action, Second Edition explains clusterip service type →
Machine Learning Platform Engineering
A ClusterIP service is a Kubernetes service that provides an internal cluster-scoped IP address for accessing selected pods.
- How it is used
- Provides internal communication between Kubernetes applications while hiding transient pod addresses.
- How deep it goes
- Explains the manifest, port mapping, selector, creation command, assigned address, and in-cluster testing, but not implementation internals.
- Examples
- Uses a fast-api backend, port 80-to-8083 mapping, a generated ClusterIP, kubectl, and curl from a temporary pod.
- What you can do after
- Operate/configure an internal Kubernetes endpoint and verify it by IP address or service name from inside the cluster.
Read how Machine Learning Platform Engineering explains clusterip service type →
Acing the Certified Kubernetes Administrator Exam, Second Edition
A ClusterIP is a Kubernetes service type that exposes a service through an internal cluster IP address.
- How it is used
- Provides internal Pod-to-Pod and Service-to-Service access while supporting application exposure and Kubernetes exam practice.
- How deep it goes
- Explains ports, target ports, selectors, commands, and verification, while deferring broader Service-type detail to related coverage.
- Examples
- Uses frontend-to-backend communication, nginx exposure, multi-port YAML, kubectl generation, and kubectl Service output.
- What you can do after
- Operate/configure ClusterIP Services with kubectl, generate YAML, bind selectors to Pods, map ports, and verify cluster state.
Kubernetes for Developers
ClusterIP is a Kubernetes Service type that assigns a cluster-internal IP address for access from within the cluster.
- How it is used
- Connects Pods inside a cluster while keeping the target application unavailable through a public IP.
- How deep it goes
- Explains virtual IP routing and Pod load balancing, but stops short of detailed networking implementation.
- Examples
- Uses a Robohash Deployment, Service manifest, cluster IP request, and kubectl port-forward test.
- What you can do after
- Operate/configure an internal Kubernetes Service and test it from a local machine with kubectl port-forward.
Read how Kubernetes for Developers explains clusterip service type →
Related concepts
- servicekind of · A Kubernetes Service is an API resource that provides stable network access and service discovery for a changing set of Pods or other specified destinations.
- internal serviceused by · An internal service is a Kubernetes Service addressed through a private cluster IP for communication among workloads inside the cluster.
- headless serviceconfigures · A headless Service is a Kubernetes Service without a cluster IP that exposes its backing pod addresses directly through DNS.
- loadbalancer servicealternative to · A Kubernetes LoadBalancer Service is a Service type that exposes workloads externally through a provisioned or integrated network load balancer.
- node portcontrasts with · NodePort is a Kubernetes Service type that exposes a service through a designated port on every cluster node and routes traffic to its endpoints.
- ServiceCIDRconfigured by · ServiceCIDR is a Kubernetes resource specifying IP address ranges from which Service cluster IP addresses are allocated.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





