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.

반응형
Comments