에러 메세지:
# kubectl get pods
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")
아래 페이지 참조
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/
해결방법
unset KUBECONFIG
export KUBECONFIG=/etc/kubernetes/admin.conf
sudo chmod 777 /etc/kubernetes/admin.conf
'오류 해결' 카테고리의 다른 글
도커 권한 문제 해결 (0) | 2022.01.25 |
---|---|
ubuntu 18.04 + RTX2060 super 블랙스크린 해결 => 서버 버전 드라이버 설치하기 (0) | 2021.10.06 |
맥북 ZSH (z shell) 에서 zsh: command not found: conda 해결 (0) | 2021.10.06 |