In kubernetes a service always enables its network access to a pod or set of pods Services will select the pods based on their labels and when a network is made to those services it selects all Pods…