And Brain said,
The connection to the server HOST:6443 was refused - did you specify the right host or port? 본문
IT/Error
The connection to the server HOST:6443 was refused - did you specify the right host or port?
The Man 2023. 9. 8. 11:09반응형
kubectl 명령어 실행 시 아래의 에러 메시지를 만난다면,
The connection to the server HOST:6443 was refused - did you specify the right host or port?
다음과 같은 명령어들을 실행해주시면 됩니다.
containerd config default | tee /etc/containerd/config.toml
sed -i 's/SystemdCgroup = false/SystemdCgroup = true/g' /etc/containerd/config.toml
service containerd restart
service kubelet restart
이 명령어들은 containerd의 설정을 Kubernetes와 호환되도록 업데이트해줍니다.
Thanks for watching, Have a nice day.
반응형
'IT > Error' 카테고리의 다른 글
couldn't get current server API group list: Get / The connection to the server was refused (0) | 2023.08.05 |
---|---|
에러, temporary failure resolving 'kr.archive.ubuntu.com' (0) | 2023.02.25 |
VSCode에서 yarn이 실행이 안 될 때 (0) | 2022.10.30 |
[Error] sudo command not found / sudo : apt-get(or sudo : yum) command not found (0) | 2022.10.12 |
Comments