<p>I have a k8s cluster deployed with kubeadm and its current version is v1.21 and use docker as CRI
I want to upgrade it to v1.25, so I was reading the release notes, and I read about the new k8s registry, which is <code>registry.k8s.io</code> in its release notes <a href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.25.md#no-really-you-must-read-this-before-you-upgrade" rel="nofollow noreferrer">there</a> in the last paragraph but I don't know how to check what my current registry is and how to change the default registry to the new one?</p>
<p>I found this <a href="https://github.com/kubernetes/kubeadm/issues/2671" rel="nofollow noreferrer">link</a> about this change, but I can't find my answers.</p>

mona moghadampanah
<p>To check your current registry run the below command</p>
<pre><code>kubeadm config images list
</code></pre>
<p>Output will be the images list where you can find the current registry.</p>
<p>To change the registry to <code>registry.k8s.io</code> you can use the <a href="https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/" rel="nofollow noreferrer">kubeadm init command</a>.</p>
<pre><code>Kubeadm init –image-repository= registry.k8s.io
</code></pre>
<p>Restart the cluster after changing the image as the configuration will be updated correctly,Then run <code>kubeadm upgrade v1.25</code> to update your cluster.Now the clusters will be upgraded and will use the new registry.</p>
<p>After that you can use <code>kubeadm config images pull</code> command to pull the images from the new registry, also make sure to update any existing deployments.</p>
