The set of Pods targeted by a Service is (usually) determined by a {{<glossary_tooltiptext="selector"term_id="selector">}}. If more Pods are added or removed, the set of Pods matching the selector will change. The Service makes sure that network traffic can be directed to the current set of Pods for the workload.