You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Deployment Explanation
Labels: The identifiers used by the service to discover and connect to the pods. They will be attached to the pods.
Selector: Selects the container with a matching name that must be identical to the label name.
# Service ports explanation## port
This is the port exposed by the Service itself. Requests coming to the cluster on this port will be forwarded to the Service's target port.
## targetPort
The port on which the Service will forward traffic to the Pods
## nodePort
Define the static port on each Node in the cluster where the Service can be accessed from outside the cluster.