In kubernetes Deployment spec, I still don’t get the diffrences between .spec.selector.matchLabels and .spec.template.metadata.labels. Any precision please ?
Ok, got the answer in the next lesson "Theory of Deployments, 7:30".
The .spec.template.metadata.labels labels the pods
the .spec.selector.matchLabels, like the service’s, link pods to the depoyment.