<p>I want to understand better how Kubernetes works,and there are some doubts I haven't founded answer in documentation.</p>

<p>I have a simple Kubernetes Cluster, a Master, and 2 Workers.
I have created a docker image of my app which is stores in dockerhub.</p>

<p>I created a deployment_file.yaml, where I state that I want to deploy my app container in worker 3, thanks to node affinity.</p>

<p>If imagePullPolicy set to Always</p>

<ul>
<li><p>Who is downloading the image from dockerhub, the master itself, or is it the worker were this image will be deployed???
If it is the master who pulls the image, then it transfer replicas of this images to the workers?</p></li>
<li><p>When a the image is pulled, is it stored in any local folder in kubernetes?</p></li>
</ul>

<p>I would like to understand better how data is transferred. Thanks.</p>

<p>Each of the minions (workers) will pull the docker image and store it locally. <code>docker image ls</code> will show the list of image on the minions.</p>

<p>To address where are the images are stored. Take a look at SO answer <a href="https://stackoverflow.com/questions/19234831/where-are-docker-images-stored-on-the-host-machine">here</a>.</p>
