<p>When my yaml is something like this :</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: task-pv-pod
spec:
  volumes:
    - name: task-pv-storage
      persistentVolumeClaim:
        claimName: task-pv-claim
  containers:
    - name: task-pv-container
      image: nginx
      ports:
        - containerPort: 80
          name: &quot;http-server&quot;
      volumeMounts:
        - mountPath: &quot;/usr/share/nginx/html&quot;
          name: task-pv-storage
</code></pre>
<p>Where is the nginx image coming from? for e.g. in GKE Kubernetes world, if I was going to reference an image from registry it's normally something like this:</p>
<pre><code>image: gsr.io.foo/nginx
</code></pre>
<p>but in this case it's just an image name:</p>
<pre><code>image: nginx
</code></pre>
<p>So trying to just understand where the source registry is on when deployed on a K8 cluster as it seems to pull down ok but just want to know how I can figure out where it's supposed to come from?</p>

Rubans
<p>It's coming from docker hub (<a href="https://hub.docker.com/" rel="nofollow noreferrer">https://hub.docker.com/</a>) when only image name is specified in the manifest file. Example:</p>
<pre><code>...
Containers:
  - name: nginx
    image: nginx
...
</code></pre>
<p>For nginx, it's coming from official nginx repository (<a href="https://hub.docker.com/_/nginx" rel="nofollow noreferrer">https://hub.docker.com/_/nginx</a>).</p>
