Skip to content

Prometheus와 Grafana를 활용한 모니터링

Notifications You must be signed in to change notification settings

F1T4-HOTSUN/monitoring-guide

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 

Repository files navigation

Monitoring Guide

Prometheus & Grafan 가이드

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm pull prometheus-community/kube-prometheus-stack --version 68.2.1
tar -xvzf kube-prometheus-stack-68.2.1.tgz
cd kube-prometheus-stack
  • override-values.yaml 작성
grafana:
  defaultDashboardsTimezone: Asia/Seoul
  adminPassword: prom-operator
  ingress:
    enabled: true
    ingressClassName: alb
    annotations:
      alb.ingress.kubernetes.io/group.name: ingress-group
      alb.ingress.kubernetes.io/scheme: internet-facing
      alb.ingress.kubernetes.io/target-type: ip
      external-dns.alpha.kubernetes.io/hostname: grafana.hotsun.store
    hosts:
      - grafana.hotsun.store

prometheus:
  ingress:
    enabled: true
    ingressClassName: alb
    annotations:
      alb.ingress.kubernetes.io/group.name: ingress-group
      alb.ingress.kubernetes.io/scheme: internet-facing
      alb.ingress.kubernetes.io/target-type: ip
      external-dns.alpha.kubernetes.io/hostname: prometheus.hotsun.store
    hosts:
      - prometheus.hotsun.store
  prometheusSpec:
    podMonitorSelectorNilUsesHelmValues: false
    serviceMonitorSelectorNilUsesHelmValues: false
    retention: 5d
    retentionSize: "5GiB"
helm install -n monitoring kube-prometheus-stack --create-namespace . \
    -f override-values.yaml

About

Prometheus와 Grafana를 활용한 모니터링

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%