Difference between revisions of "Helm install grafana"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 43: Line 43:
 
* <code>[[helm uninstall grafana]]</code>
 
* <code>[[helm uninstall grafana]]</code>
 
* <code>[[minikube addons enable ingress]]</code>
 
* <code>[[minikube addons enable ingress]]</code>
 +
* [[helm_release]]
  
 
== See also ==
 
== See also ==

Revision as of 12:38, 12 February 2024

Add repo:

Some values:

persistence.enabled=true
ingress.enabled=true
ingress.hosts="yourdomain.com"
replicas=1

Examples

helm upgrade mygrafana stable/grafana --reuse-values --set replicas=2


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
https://www.eksworkshop.com/intermediate/240_monitoring/deploy-grafana/


helm upgrade --install --set port=8888 grafana grafana/grafana

Related

See also

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