Recent Comments
Link
Recent Posts
Today
Total
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
관리 메뉴

Study Memory Work

[K8S] The connection to the server localhost:8080 was refused - did you specify the right host or port? 해결방법 본문

Infra/Kubernetes

[K8S] The connection to the server localhost:8080 was refused - did you specify the right host or port? 해결방법

Hera Choi 2023. 1. 13. 15:01

 

worker node 

오류 메세지

The connection to the server localhost:8080 was refused - did you specify the right host or port?

 

솔루션

$ mkdir -p $HOME/.kube
$ sudo scp root@{master node name}:/etc/kubernetes/admin.conf $HOME/.kube/config