Kubernetes 101 : How do services get "assigned" to pods
How do services relate to pods:
Below is a diagram that illustrates the relationship between services, deployments and pods through selectors and labels:
The selector of the ClusterIP service "connects" to the label of the deployment, and the deployment's selector connects to the label of the pods.
Comments