<p>I am novice to Kubernetes. Recently my Docker registry url is changed from <code>dockerhub.abc.com</code> to <code>dockerhub.def.com</code>. Is it possible that i can change this in properties of Kubernetes pod so that next time,it pulls from new registry?</p>

Arshanvit
<p>In general you'll find it easiest if you explicitly qualify your image names to include the repository name, and not depend on a default value that isn't the official Docker Hub</p>

<pre><code>image: dockerhub.abc.com/dist/image:1.2.3
</code></pre>

<p>in which case you can just change the image name in your deployment</p>

<pre><code>image: dockerhub.def.com/dist/image:1.2.3
</code></pre>

<p>If you're using a system like <a href="https://helm.sh/" rel="nofollow noreferrer">Helm</a> to manage your Kubernetes manifests, you might find it helpful to include the image base name and/or repository in its values file</p>

<pre><code>image: dockerhub.abc.com/dist/image
tag: 1.2.3

image: {{ printf "%s:%s" .Values.image .Values.tag }}
</code></pre>

<p>and then you can just change the image's repository location and redeploy.</p>
