"Killer Shell CKA - Apiserver Misconfigured"의 두 판 사이의 차이

2번째 줄: 2번째 줄:
;Killer Shell CKA - Apiserver Misconfigured  
;Killer Shell CKA - Apiserver Misconfigured  
* API 서버 설정에 잘못된 점이 있어 API 서버가 정상적으로 동작하지 않는 상황을 해결하는 실습
* API 서버 설정에 잘못된 점이 있어 API 서버가 정상적으로 동작하지 않는 상황을 해결하는 실습
<syntaxhighlight lang='console'>
controlplane:~$ kubectl get pods -A
The connection to the server 172.30.1.2:6443 was refused - did you specify the right host or port?
</syntaxhighlight>
<syntaxhighlight lang='console'>
controlplane:~$ cat /var/log/syslog | grep kube-apiserver
...
2025-09-18T19:20:55.931703+00:00 controlplane kubelet[1560]: E0918 19:20:55.931655    1560 mirror_client.go:138] "Failed deleting a mirror pod" err="Delete \"https://172.30.1.2:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-controlplane\": dial tcp 172.30.1.2:6443: connect: connection refused" pod="kube-system/kube-apiserver-controlplane"
2025-09-18T19:20:57.930515+00:00 controlplane kubelet[1560]: E0918 19:20:57.930158    1560 mirror_client.go:138] "Failed deleting a mirror pod" err="Delete \"https://172.30.1.2:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-controlplane\": dial tcp 172.30.1.2:6443: connect: connection refused" pod="kube-system/kube-apiserver-controlplane"
</syntaxhighlight>


==참고==
==참고==

2025년 9월 19일 (금) 04:21 판

1 개요

Killer Shell CKA - Apiserver Misconfigured
  • API 서버 설정에 잘못된 점이 있어 API 서버가 정상적으로 동작하지 않는 상황을 해결하는 실습
controlplane:~$ kubectl get pods -A
The connection to the server 172.30.1.2:6443 was refused - did you specify the right host or port?
controlplane:~$ cat /var/log/syslog | grep kube-apiserver
...
2025-09-18T19:20:55.931703+00:00 controlplane kubelet[1560]: E0918 19:20:55.931655    1560 mirror_client.go:138] "Failed deleting a mirror pod" err="Delete \"https://172.30.1.2:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-controlplane\": dial tcp 172.30.1.2:6443: connect: connection refused" pod="kube-system/kube-apiserver-controlplane"
2025-09-18T19:20:57.930515+00:00 controlplane kubelet[1560]: E0918 19:20:57.930158    1560 mirror_client.go:138] "Failed deleting a mirror pod" err="Delete \"https://172.30.1.2:6443/api/v1/namespaces/kube-system/pods/kube-apiserver-controlplane\": dial tcp 172.30.1.2:6443: connect: connection refused" pod="kube-system/kube-apiserver-controlplane"

2 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}