System Engineering/Kubernetes
Kubernetes #3. 쿠버네티스 Unable to connect to the server: x509 에러
개요
쿠버네티스 Unable to connect to the server x509 에러
kubernetes x509 에러
쿠버네티스 클러스터 설치를 성공적으로 진행하던중 갑자기 노드들의 상태 확인이 불가한 딥빡의 상황이 펼쳐졌다.🤨
해결과정
쿠버네티스의 마스터노드와 워커노드의 연결을 확인하려
$ kubectl get nodes
를 입력했을 시,
Error saying “Unable to connect to the server: x509: certificate signed by unknown authority”
이런 에러가 뜨는 경우가 있다.
원인은 다양한것 같은데 필자가 참고해서 해결했던 방법은 아래와 같다.
export KUBECONFIG=/etc/kubernetes/admin.conf
출처 : https://www.edureka.co/community/23959/unable-connect-server-certificate-signed-unknown-authority
Error saying Unable to connect to the server x509 certificate signed by unknown authority
I am using kube-aws to v0.9.4-rc2 After successfully do kube-aws up --s3-uri s3:// ... -authority: credentials/ca.pem Where am I going wrong?
www.edureka.co
위의 링크를 참고한다면 더 정확한 해답을 얻을수 있을것 같다. 🙃
반응형
'System Engineering > Kubernetes' 카테고리의 다른 글
Kubernetes #6. Kubernetes의 Volume(쿠버네티스 볼륨) (0) | 2020.07.20 |
---|---|
Kubernetes #5. Kubernetes의 Pod와 Service(쿠버네티스 파드와 서비스) (0) | 2020.05.30 |
Kubernetes #4. 쿠버네티스 네트워크/Dashboard 설정하기 (0) | 2020.05.08 |
Kubernetes #2. CentOS7에 쿠버네티스 설치하기 (0) | 2020.04.27 |
Kubernetes #1. 쿠버네티스(Kubernetes)란 / 쿠버네티스의 기능 (0) | 2020.04.02 |
댓글