티스토리 뷰
이슈,버그
kubectl 실행시 The connection to the server localhost:8080 was refused - did you specify the right host or port? 오류
개발자 하나 2023. 2. 8. 17:29kops로 쿠버네티스 클러스터를 구성하고 난 뒤
마스터노드에서 deployment를 적용하자 The connection to the server localhost:8080 was refused 오류 발생
kubeconfig 설정이 적용 안되서라고 /home/ubuntu/.kube/config는 제대로 생성되어 있음
The connection to the server localhost:8080 was refused - did you specify the right host or port?
root 유저에서 실행해서 다른 계정의 설정이 적용되지 않음
cp /home/ubuntu/.kube/config /.kube/config
kubectl config view
https://stackoverflow.com/questions/37921222/kubectl-connection-to-server-was-refused
'이슈,버그' 카테고리의 다른 글
스프링부트 JPA data.sql 사용시 한글 깨짐 오류 (0) | 2023.03.20 |
---|---|
aws 환경에서 kops 쿠버네티스 구성하고 로드밸런서 사용할 때 status code: 403 오류 (0) | 2023.02.09 |
websecurityconfigureradapter is deprecated 이슈 및 해당 버전의 authenticationManager 설정 (0) | 2023.01.18 |
자바 에러 java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter (0) | 2023.01.17 |
스프링 JPA mysql에서 @CreatedDate 사용 안될 때 (0) | 2023.01.13 |
댓글