환경 Ubuntu 22.04.3 LTS Kubernetes 1.28.2 Prometheus Community Version 증상 몇 개의 Target이 'Connection refused' 메시지와 함께 메트릭 수집 불가 원인 Kubernetes의 Static Pod YAML의 metric에 관한 기본 설정값이 localhost로 설정되어 있기 때문에 'connection refused'가 발생 따라서 Static Pod의 YAML 파일 편집이 필요 조치 /etc/kubernetes/manifests/ 경로의 Static Pod의 YAML 값 변경 #etcd.yaml #spec.contaienrs 필드의 값 중 - --listen-metrics-urls 주소와 #livenessProbe.httpGet.h..