본문 바로가기
kubernetes

Kubernetes 모니터링 시스템(Promtail + Loki + Grafana) Helm

by aws-evan 2024. 5. 1.
728x90

 

 

 

  • Helm Chart 추가
helm repo add grafana https://grafana.github.io/helm-charts

 

  • Helm Repo List 확인
    • 버전별 리스트 
helm search repo "repo name" --versions

helm search repo grafana --versions

 

  • Loki Repo 다운로드
    • Promtail + Loki + Grafana
 helm pull grafana/loki-stack

 

 

  • Loki-stack 압축풀기
    • 각 버전별로 압축파일 풀기

 

  • Loki 설치
    • Helm Name : loki
helm install loki grafana/loki-stack  -f values.yaml

 

 

  • 그라파나 패스워드 확인
kubectl get secrets loki-grafana -o jsonpath="{.data.admin-password}" | base64 --decode

 

 

 

  • 그라파나 접속
    • admin
    • Pw : Secret을 통한 확인

 

 

 

  • 로그 확인

728x90

'kubernetes' 카테고리의 다른 글

Kubernetes EFK Helm  (0) 2024.05.03
Kubernetes NFS Provisioner  (0) 2024.05.02
Kubernetes PostgresSQL 설치  (0) 2024.04.25
Kubernetes LoadBalancer(MetalLB)  (0) 2024.04.23
CNI Flannel 설치 가이드  (0) 2024.04.22

댓글