Hi, everyone,
Please help me, I’m new in Kubernetes learning.
Thanks in advance.
The stackoverflow link is :
I searched for the issue and realize that downgrading “docker” to 24.0.4 and “go” 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 :
Cluster information:
Kubernetes version: 1.27.3
Cloud being used: bare-metal
Installation method: via kubeadm --config …
Host OS: Ubuntu 20.04.6 LTS (Master Node)
CNI and version: flannel 0.22.0
CRI and version: cri-dockerd 0.3.4
I’ve launched my K8s cluster and applied some test deployments (nginx).
All pods work fine, and all pods and services are accessible.
[image]
But I can’t execute commands in Pod`s containers via kubectl exec:
kubectl exec -it nginx-deployment-74b6b979f-9rpmv -- bash
The result:
error: An internal error occurred: error executing command in container: http:…
Invalid host header when running k3d clusterRun
https://bugs.gentoo.org/910491