관찰성
개요
Hubble 아키텍처
구성 요소
컴포넌트
역할
배포 방식
Hubble 설치 및 설정
Helm을 통한 설치
# values.yaml
hubble:
enabled: true
# Hubble Relay
relay:
enabled: true
replicas: 1
resources:
limits:
cpu: 1000m
memory: 1024Mi
requests:
cpu: 100m
memory: 128Mi
# Hubble UI
ui:
enabled: true
replicas: 1
ingress:
enabled: true
hosts:
- hubble.example.com
tls:
- secretName: hubble-tls
hosts:
- hubble.example.com
# Hubble 메트릭
metrics:
enabled:
- dns
- drop
- tcp
- flow
- icmp
- http
serviceMonitor:
enabled: true
# 흐름 로그 설정
export:
static:
enabled: false
filePath: /var/run/cilium/hubble/events.log
# TLS 설정
tls:
enabled: true
auto:
enabled: true
method: helm
certValidityDuration: 1095Hubble CLI 설치
Hubble CLI
기본 사용법
흐름 필터링
출력 형식
고급 쿼리
Hubble UI
서비스 맵
UI 기능
UI 접근
L7 흐름 가시성
HTTP 흐름
gRPC 흐름
DNS 쿼리
Kafka 흐름
Prometheus 메트릭
메트릭 활성화
주요 메트릭
Cilium 에이전트 메트릭
Grafana 대시보드
기본 대시보드 설치
커스텀 대시보드 예시
서비스 의존성 맵
의존성 시각화
서비스 맵 예시
Golden Signals 모니터링
4가지 골든 시그널
PromQL 쿼리
AlertManager 규칙
OpenTelemetry 통합
OTLP 내보내기 설정
OpenTelemetry Collector 설정
트러블슈팅
일반적인 문제 진단
흐름 없음 문제
다음 단계
참고 자료
마지막 업데이트