DEV Community

Discussion on: Kubernetes YAML File simply explained for Beginners

Collapse
 
alamba78 profile image
Amit Lamba

At 6:44 of the video, it's mentioned "And we tell the deployment...", this should actually say "And we tell the ReplicaSet..." This is because the ReplicaSet matches labels of app: nginx. The ReplicaSet tracks the pods, the Deployment tracks the ReplicaSet. For example, if we want to update the version of nginx, the Deployment will communicate to the ReplicaSet to update all nginx pods with a matching label for the update.