сервис_grafana

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
сервис_grafana [2025/04/28 18:04]
val [Grafana dashboard]
сервис_grafana [2026/04/20 14:58] (current)
val [Kubernetes]
Line 44: Line 44:
  
 <​code>​ <​code>​
-kube1# helm repo add grafana https://​grafana.github.io/​helm-charts+kube1# helm repo add grafana-community ​https://​grafana-community.github.io/​helm-charts 
 kube1# helm repo update kube1# helm repo update
  
-kube1:~/vm# cat my-grafana-values.yaml+kube1:~/vm# cat grafana-values.yaml
 </​code><​code>​ </​code><​code>​
   datasources:​   datasources:​
Line 90: Line 91:
         datasource: victoriametrics         datasource: victoriametrics
 </​code><​code>​ </​code><​code>​
-kube1:~/vm# helm upgrade -i my-grafana grafana/​grafana -f my-grafana-values.yaml -n vm --create-namespace+kube1:~/vm# helm upgrade -i grafana grafana-community/grafana -f grafana-values.yaml -n vm --create-namespace ​--version 12.1.1
  
-kube1# kubectl get secret -n vm my-grafana -o jsonpath="​{.data.admin-password}"​ | base64 --decode ; echo+kube1# kubectl get secret -n vm grafana -o jsonpath="​{.data.admin-password}"​ | base64 --decode ; echo
  
-cmder> kubectl -n vm port-forward svc/my-grafana 3000:80+cmder> kubectl -n vm port-forward svc/grafana 3000:80
 </​code>​ </​code>​
  
сервис_grafana.1745852663.txt.gz · Last modified: 2025/04/28 18:04 by val