Editing Helm install grafana

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* Repo: https://grafana.github.io/helm-charts
 
* Repo: https://grafana.github.io/helm-charts
* Doc: https://github.com/grafana/helm-charts/blob/main/charts/grafana/README.md#configuration
 
  
 
Add repo:
 
Add repo:
 
* <code>[[helm repo add grafana https://grafana.github.io/helm-charts]]</code>
 
* <code>[[helm repo add grafana https://grafana.github.io/helm-charts]]</code>
  
* [[kubectl get ingress -n grafana]]
+
Some values:
 
 
Some values (<code>[[helm get values grafana --all]]</code>):
 
 
  persistence.enabled=true
 
  persistence.enabled=true
 
 
  [[ingress.enabled]]=true
 
  [[ingress.enabled]]=true
  [[ingress.hosts]]="[[example.com]]"
+
  [[ingress.hosts]]="yourdomain.com"
[[ingress.tls]]= ??
 
ingress.[[ingressClassName]]="nginx"
 
 
 
[[ingress.annotations]] ( add [[acme.cert-manager.io/http01-edit-in-place]]: "true" to ingress)
 
 
 
[[cert-manager.io/issuer]]: letsencrypt-prod
 
 
 
[[service]].[[externalTrafficPolicy]]=Cluster
 
 
 
add [[acme.cert-manager.io/http01-edit-in-place]] to ingress
 
 
[[service.port]]
 
 
[[replicas]]=1
 
 
 
k get certificate -A
 
NAMESPACE  NAME                    READY  SECRET                  AGE
 
grafana    [[quickstart-example-tls]]  False  quickstart-example-tls  101s
 
  
== [[values.yaml]] ==
 
  
 
{{helm_release grafana example}}
 
  
 
== Examples ==
 
== Examples ==
Line 44: Line 19:
 
* Deprecated: <code>[[helm install MY GRAFANA NAME stable/grafana]]</code>
 
* Deprecated: <code>[[helm install MY GRAFANA NAME stable/grafana]]</code>
  
[[helm upgrade]] mygrafana stable/grafana [[--reuse-values]] --set replicas=2
 
  
  
Line 55: Line 29:
 
  helm install grafana grafana/grafana \
 
  helm install grafana grafana/grafana \
 
     --namespace grafana \
 
     --namespace grafana \
     --set persistence.[[storageClassName]]="gp2" \
+
     --set persistence.storageClassName="gp2" \
 
     --set persistence.enabled=true \
 
     --set persistence.enabled=true \
 
     --set adminPassword='EKS!sAWSome' \
 
     --set adminPassword='EKS!sAWSome' \
Line 61: Line 35:
 
     --set [[service.type]]=LoadBalancer
 
     --set [[service.type]]=LoadBalancer
 
  https://www.eksworkshop.com/intermediate/240_monitoring/deploy-grafana/
 
  https://www.eksworkshop.com/intermediate/240_monitoring/deploy-grafana/
 
 
[[helm upgrade --install --set port=8888 grafana grafana/grafana]]
 
 
== Errors ==
 
* <code>[[json: cannot unmarshal bool into Go struct field IngressSpec.spec.tls of type v1.IngressTLS]]</code>
 
* <code>[[remote error: tls: unrecognized name]]</code>
 
  
 
== Related ==
 
== Related ==
 
* <code>[[helm get values grafana --all]]</code>
 
* <code>[[helm get values grafana --all]]</code>
* <code>[[helm uninstall grafana]]</code>
 
* <code>[[minikube addons enable ingress]]</code>
 
* <code>[[helm_release]]</code>
 
* <code>[[k logs -n grafana grafana]]</code>
 
  
 
== See also ==
 
== See also ==
* {{helm install}}
 
 
* {{Grafana}}
 
* {{Grafana}}
  
 
[[Category:Grafana]]
 
[[Category:Grafana]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: