<p>A few weeks ago I upgraded kubernetes 1.22 to 1.23. I'm using containerd as container runtime a long time.</p>
<p>Now when upgrading from 1.23 to 1.24 <code>kubeadm upgrade plan</code> show warning about runtime as</p>
<pre><code>W0917 12:14:33.970744   27728 initconfiguration.go:120] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme &quot;unix&quot; to the &quot;criSocket&quot; with value &quot;/run/containerd/containerd.sock&quot;. Please update your configuration!
</code></pre>
<p>I have made quite lot of reserch to find out, where to add/fix setting to get out of this warning. Config-changes I have made at least <code>/var/lib/kubelet/kubeadm-flags.env</code> and <code>/etc/crictl.yaml</code> files, but there is no success. Anybody?</p>

ajlind
<p>Run this command on your control plane and nodes.</p>
<pre><code>sudo crictl config \
--set runtime-endpoint=unix:///run/containerd/containerd.sock \
--set image-endpoint=unix:///run/containerd/containerd.sock
</code></pre>
