가끔 서버를 reboot하면 생기는 The connection to the server <host>:6443 was refused - did you specify the right host or port? 에러를 아래의 명령어를 수행함으로써 해결할 수 있다.
sudo -i
swapoff -a
exit
strace -eopenat kubectl version
그래도 안되는 경우에는 kubelet 문제일 수 있다.
아래의 명령어로 kubelet가 active 상태인지 확인한다.
systemctl status kubelet
반응형
'Kubernetes' 카테고리의 다른 글
1. 쿠버네티스 소개하기 (0) | 2022.01.07 |
---|---|
CoreDNS pod의 CrashLoopBackOff 상태 해결법 (1) | 2022.01.06 |
pod pv pvc 강제 삭제하기 (0) | 2022.01.06 |
Volume에 대해 알아보자 [emptyDir, hostpath] - 1 (0) | 2022.01.05 |
[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.12. Latest validated version: 19.03 (0) | 2021.12.31 |