본문 바로가기
728x90

컨테이너/쿠버네티스9

[K8S] kubectl get nodes시, Unable to connect to the server: x509 TLS 인증서 오류 master/ node1/ node2 가상머신을 기동하고 나서, master 장비에서 k8s 클러스터 조인을 확인하기 위해 $ kubectl get nodes 커맨드시에 아래와 같이 TLS 인증서 오류 메세지가 떨어진다. 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") 해당 메세지를 해결하기 위해서 export KUBECONFIG=/etc/kubernetes/admin.conf로 가능하지만, 장비.. 2021. 11. 3.
[K8S] kubeadm init시에 Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: connection refused 에러 Ubuntu 20:04 LTS 환경에서 kubeadm init으로 k8s 클러스터 구성시에 Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: connection refused 에러가 계속 발생하며 진행이 되지 않았다. 솔루션 sudo mkdir /etc/docker cat sudo systemctl start kubelet 위에 커맨드까지 끝나고 나서 kubeadm restart kubeadm init 을 다시 실행하면 정상적으로 처리 된다. 관련 링크 : https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker 2021. 11. 2.
[K8S] 쿠버네티스 설치 Ubuntu:20.04 이번에는 Ubuntu:20.04 위에 쿠버네티스 설치를 해보려고 한다. 이 장을 함께 따라해보고 싶다면 아래 글 2개를 다시 보고 오면 된다. https://syhwang.tistory.com/43?category=1220695 [우분투] K8S 실습 환경을 위한 Ubuntu:20.04 설치 가이드(master/node1/node2) 1. Ubuntu 20.04 LTS 다운로드 https://ubuntu.com > Download > 20.04 LTS Enterprise Open Source and Linux | Ubuntu Ubuntu is the modern, open source operating system on Linux for the enterprise server.. syhwang.tisto.. 2021. 10. 25.
728x90