Difference between revisions of "Helm install grafana"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
  datasources.”datasources\.yaml”.datasources[0].name=Prometheus  –set datasources.”datasources\.yaml”.datasources[0].type=prometheus    –set datasources.”datasources\.yaml”.datasources[0].url=http://prometheus- server.prometheus.svc.cluster.local    –set datasources.”datasources\.yaml”.datasources[0].access=proxy    –set datasources.”datasources\.yaml”.datasources[0].isDefault=true  
 
  datasources.”datasources\.yaml”.datasources[0].name=Prometheus  –set datasources.”datasources\.yaml”.datasources[0].type=prometheus    –set datasources.”datasources\.yaml”.datasources[0].url=http://prometheus- server.prometheus.svc.cluster.local    –set datasources.”datasources\.yaml”.datasources[0].access=proxy    –set datasources.”datasources\.yaml”.datasources[0].isDefault=true  
 
  <ref>https://techblogs.42gears.com/deploying-prometheus-and-grafana-using-helm-in-kubernetes/</ref>
 
  <ref>https://techblogs.42gears.com/deploying-prometheus-and-grafana-using-helm-in-kubernetes/</ref>
 +
 +
 +
 +
helm install grafana grafana/grafana \
 +
    --namespace grafana \
 +
    --set persistence.storageClassName="gp2" \
 +
    --set persistence.enabled=true \
 +
    --set adminPassword='EKS!sAWSome' \
 +
    --values ${HOME}/environment/grafana/grafana.yaml \
 +
    --set service.type=LoadBalancer
  
 
== Related ==
 
== Related ==

Revision as of 18:08, 8 December 2022

helm repo add grafana https://grafana.github.io/helm-charts



helm install grafana grafana/grafana  –namespace grafana   –set persistence.enabled=true  –set adminPassword=’EKS!sAWSome’ –set datasources.”datasources\.yaml”.apiVersion=1   –set 
datasources.”datasources\.yaml”.datasources[0].name=Prometheus  –set datasources.”datasources\.yaml”.datasources[0].type=prometheus    –set datasources.”datasources\.yaml”.datasources[0].url=http://prometheus- server.prometheus.svc.cluster.local     –set datasources.”datasources\.yaml”.datasources[0].access=proxy     –set datasources.”datasources\.yaml”.datasources[0].isDefault=true 
[1]


helm install grafana grafana/grafana \
    --namespace grafana \
    --set persistence.storageClassName="gp2" \
    --set persistence.enabled=true \
    --set adminPassword='EKS!sAWSome' \
    --values ${HOME}/environment/grafana/grafana.yaml \
    --set service.type=LoadBalancer

Related

See also

  • https://techblogs.42gears.com/deploying-prometheus-and-grafana-using-helm-in-kubernetes/
  • Advertising: