💡 핵심 요약 (Executive Summary)
본 가이드는 conf smon.yaml 핵심 가이드 및 실전 아키텍처의 핵심 개념, 실전 구성 명령어 및 아키텍처 베스트 프랙티스를 다룹니다. 클라우드 네이티브 및 인프라 엔지니어링 실무에 즉시 활용 가능하도록 체계적으로 정리했습니다.
bash
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: jaeger-operator
namespace: istio-system
labels:
prometheus: kube-prometheus-stack-prometheus
spec:
endpoints:
- honorLabels: false
path: /metrics
port: metrics
namespaceSelector:
matchNames:
- istio-system
selector:
matchLabels:
app.kubernetes.io/name: jaeger-operator
프로메테우스 ← 서비스 타겟등록을 이루게 하는 모니터 리소스
프로메테우스 정보 제공
.metadata.namespace가 프로메테우스위치로 지정된 경우.metadata.labels.*가 kubernetes Prometheus CRD resource 내의.spec.serviceMonitorSelector.matchLabels와 동일한 경우
서비스 정보 제공
.spec.selector.matchLabels
Leave a Reply