<p>I have installed a kubernetes cluster with kubeadm with the instructions base on the below link :</p>
<pre><code>https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm
</code></pre>
<p>and cri-dockerd for Container Runtime via the link :</p>
<pre><code>https://github.com/Mirantis/cri-dockerd
</code></pre>
<p>the installed go version for build the code is : &quot;go1.21.0 linux/amd64&quot;</p>
<p>and for pod Networking (Calico) as the link :</p>
<pre><code>https://docs.tigera.io/calico/latest/getting-started/kubernetes/self-managed-onprem/onpremises
</code></pre>
<p>The cluster and nodes are ok :
<a href="https://i.stack.imgur.com/ipOqu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ipOqu.jpg" alt="enter image description here" /></a>
and
<a href="https://i.stack.imgur.com/N7wGc.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N7wGc.jpg" alt="enter image description here" /></a>
and
<a href="https://i.stack.imgur.com/Iq1La.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Iq1La.png" alt="enter image description here" /></a></p>
<p>But I have problems with some calico related pods !
<a href="https://i.stack.imgur.com/rMfdm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rMfdm.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/sNdqH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sNdqH.png" alt="enter image description here" /></a></p>
<p>The Events :
<a href="https://i.stack.imgur.com/7EBVG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7EBVG.png" alt="enter image description here" /></a></p>
<p>Please help me, I'm new in Kubernetes learning.
Thanks in advance.</p>

Keivan Soleimani
<p>I searched for the issue and realize that downgrading &quot;docker&quot; to 24.0.4 and &quot;go&quot; to go1.20.5 is the solution, because there are some security changes at version go1.20.6+ that makes the related error and there are some best related links as below :</p>
<p><a href="https://docs.docker.com/engine/release-notes/24.0" rel="nofollow noreferrer">https://docs.docker.com/engine/release-notes/24.0</a></p>
<p><a href="https://discuss.kubernetes.io/t/http-invalid-host-header-error-while-executing-a-command-in-pod/24868" rel="nofollow noreferrer">https://discuss.kubernetes.io/t/http-invalid-host-header-error-while-executing-a-command-in-pod/24868</a></p>
<p><a href="https://gitlab.com/gitlab-org/gitlab-runner/-/issues/36051" rel="nofollow noreferrer">https://gitlab.com/gitlab-org/gitlab-runner/-/issues/36051</a></p>
<p><a href="https://stackoverflow.com/questions/76698552/invalid-host-header-when-running-k3d-clusterrun">Invalid host header when running k3d clusterRun</a></p>
<p><a href="https://bugs.gentoo.org/910491" rel="nofollow noreferrer">https://bugs.gentoo.org/910491</a></p>
<p><a href="https://github.com/golang/go/issues/61076" rel="nofollow noreferrer">https://github.com/golang/go/issues/61076</a></p>
<p><a href="https://github.com/moby/moby/issues/45935" rel="nofollow noreferrer">https://github.com/moby/moby/issues/45935</a></p>
<p><a href="https://i.stack.imgur.com/2RZfp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2RZfp.jpg" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/CDpi6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CDpi6.jpg" alt="enter image description here" /></a></p>
