- helm grafana chart를 이용하여 grafana 설치
- ingress subpath 설정
- pv, pvc.yaml 설정과 연동
- values.yaml파일 참고
helm install -n infra -f values.yaml grafana grafana/grafana
kubectl get secret --namespace infra grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
- 공식문서: https://github.com/grafana/helm-charts/blob/main/charts/grafana/README.md
- https://medium.com/@kevincoakley/reusable-persistent-volumes-with-the-existingclaim-option-for-the-grafana-prometheus-operator-84568b96315
- nginx-ingress 공식문서: https://kubernetes.github.io/ingress-nginx/examples/rewrite/#rewrite-target
- https://www.jacobbaek.com/1175