위 에러가 나오는 이유 아래와 같습니다.

  1. .kube 파일이 없는 경우
  2. config 파일에 현재 유저 정보가 없는경우
  3. cluster 자체를 생성 안했을 경우
The connection to the server localhost:8080 was refused - did you specify the right host or port?