- loki stack(loki, plume, grafana) helm 설치
helm repo add loki https://grafana.github.io/loki/charts
helm repo update
override_values.yaml 파일 생성
grafana:
enabled: true
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
cert-manager.io/issuer: "loki-prodissuser"
hosts:
- grafana.choilab.xyz
tls:
- secretName: grafana-ingress-tls
hosts:
- grafana.choilab.xyz
loki:
persistence:
enabled: true
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
cert-manager.io/issuer: "loki-prodissuser"
hosts:
- host: loki.choilab.xyz
paths: ["/"]
tls:
- secretName: loki-ingress-tls
hosts:
- loki.choilab.xyz
helm install -n loki --create-namespace -f override_values.yaml loki-stack loki/loki-stack
kubectl get secret --namespace loki loki-stack-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo