본문으로 건너뛰기

Node Exporter

Node exporter는 모든 Kubernetes 노드에 대해 CPU, 메모리, 파일시스템, 네트워크 카운터 같은 머신 수준 메트릭을 제공합니다.

소스 경로

  • lumie-infra/observability/node-exporter/argocd.yaml
  • lumie-infra/observability/node-exporter/helm-values.yaml

런타임 계약

  • node-exporter에서 DaemonSet으로 배포
  • hostNetwork: true
  • hostPID: true
  • operator: Exists로 모든 노드를 허용
  • node 메타데이터가 붙은 ServiceMonitor 활성화

호스트 설정이 중요한 이유

node exporter는 실제 머신 메트릭을 노출하려면 host namespace와 host networking을 볼 수 있어야 합니다. 그래서 보안 태세가 일반 앱 배포와 다릅니다.

장애 지점

  • 어떤 노드에 DaemonSet pod가 없으면, 해당 호스트의 노드 수준 대시보드와 알림이 즉시 가시성을 잃습니다.
  • host 가시성으로 실행되므로 일반 앱 pod의 네트워크 정책 가정이 여기에는 적용되지 않습니다.
  • ServiceMonitor가 없으면 exporter pod는 계속 실행되지만 Prometheus 기반 대시보드는 비어 보입니다.

검증

kubectl get applications.argoproj.io -n argocd node-exporter
kubectl get daemonsets -n node-exporter
kubectl get pods -n node-exporter -o wide
kubectl get servicemonitors -n node-exporter

관련 페이지