<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>If you're using secrets to hold your authorization token for your Docker registry, you can refer to <a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-secret-in-the-cluster-that-holds-your-authorization-token" rel="nofollow noreferrer">using private registry</a></p>

<p>I recommend you to use secrets. All you need to do is create a new secret or update the existing one with your new url, and then put this secret to your Pod's .yaml.</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: private-reg
spec:
  containers:
  - name: private-reg-container
    image: &lt;your-private-image&gt;
  imagePullSecrets:
  - name: &lt;your-secret-name&gt;
</code></pre>
