Zero To One
The connection to the server localhost:8080 was refused - did you specify the right host or port? 오류 해결 본문
서비스모니터링
The connection to the server localhost:8080 was refused - did you specify the right host or port? 오류 해결
Zero_To_One 2022. 5. 10. 00:09> sudo kubectl port-forward service/ingress-nginx-controller 80
The connection to the server localhost:8080 was refused - did you specify the right host or port?
https://kubernetes.io/docs/tasks/extend-kubernetes/http-proxy-access-api/
Use an HTTP Proxy to Access the Kubernetes API
This page shows how to use an HTTP proxy to access the Kubernetes API. Before you begin You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on
kubernetes.io
위 링크 부분에서
kubectl proxy --port=8080
를 실행해주면 된다
'서비스모니터링' 카테고리의 다른 글
| 성능테스트 정리할것 (0) | 2022.05.12 |
|---|---|
| SLO 계산해보기 (0) | 2022.05.11 |
| “네가지 황금 시그널(The Four Golden Signals)”로 SRE 모니터링의 주요 측정 항목 4가지 (0) | 2022.05.09 |
| ingress-nginx-controller 설치 에러 (0) | 2022.05.09 |
| Auto Scaling + CloudWatch를 이용한 알림(webhook & terraform) (0) | 2022.05.09 |