Kubernetes2 [Kubernetes] Worker node Trouble Shooting Kubernetes 클러스터 구축 후 Worker node에서 kubectl get pods --all-namespaces 실행 시 에러가 발생하였다. [root@k8s-node1 ~]# kubectl get pods --all-namespaces E0601 10:55:18.184367 7412 memcache.go:265] couldn't get current server API group list: Get "http://localhost:8080/api?timeout=32s": dial tcp [::1]:8080: c E0601 10:55:18.186407 7412 memcache.go:265] couldn't get current server API group list: Get "http://loc.. 2023. 6. 1. Kubernetes 클러스터 구축 Centos 7 vm 3대 CPU : 2 Core 메모리 : 10240MB Kubernetes v1.27.1 K8S 클러스터 구성 HOSTNAME IP ADDRESS ROLE k8s-master 192.168.56.141 control-plane k8s-node1 192.168.56.142 worker-node k8s-node2 192.168.56.143 worker-node 1. VM 세팅 공통적인 서버 세팅을 끝낸 다음 CLONE 하는 방법을 택하였다. 그리고 쿠버네티스 설치를 하다 보면 여러가지 에러가 발생할 가능성이 높은데 한번 설정이 꼬이기 시작하면 바로 잡는 것이 쉽지 않기 때문에 CLONE까지 하고 난 다음 각 서버마다 Snapshot 생성하는 것을 추천한다. /etc/hosts 설정 192.. 2023. 5. 23. 이전 1 다음