# How do Pods, Deployments, and Services work together in a VKS cluster?

Exam: 3V0-24.25 — Advanced VMware Cloud Foundation 9.0 vSphere Kubernetes Service
Knowledge domain: IT Architectures, Technologies, Standards
Updated: 2026-11-25T06:11:28.601349+00:00
HTML: https://learningpathx.com/faq/3V0-24.25/vcap2425-pods-deployments-services.html

## Also asked as

- Why does a stateless app commonly use a Deployment and a Service in VKS?
- Which Kubernetes objects run replicas and give them a stable network endpoint?

A Pod runs one or more related containers. For a stateless application in a VKS cluster, a Deployment declares the desired Pod replicas and manages changes through ReplicaSets. A Service provides a stable address or name for reaching the selected backends while Pods are replaced.

For example, a three-replica Deployment can maintain Pods labelled `app: payments`. A Service with that selector discovers matching Pods. When a Pod is replaced during a rollout, the Service name stays the same and Kubernetes updates the backend endpoints. If the selector misses the Pod labels, the Service can exist with no matching backends. Check both the selector and endpoint readiness when verifying the path.

A default ClusterIP Service is for access within the cluster. External exposure requires a suitable service, ingress, or gateway design and the corresponding infrastructure.

* [Kubernetes Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)
* [Kubernetes Services](https://kubernetes.io/docs/concepts/services-networking/service/)

Source: [Kubernetes Fundamentals for VMware vSphere Administrators](https://learningpathx.com/news/kubernetes-fundamentals-for-vmware-vsphere-administrators.html)
