Difference between revisions of "Helm install MY GRAFANA NAME stable/grafana"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
+
{{lowercase}}
helm install grafana stable/grafana
+
[[helm install]] MY_GRAFANA_NAME [[stable/]]grafana
NAME: grafana
+
Error: failed to download "stable/grafana" (hint: running `[[helm repo update]]` may help)
LAST DEPLOYED: Sun Aug 30 18:31:13 2020
 
NAMESPACE: default
 
STATUS: deployed
 
REVISION: 1
 
NOTES:
 
1. Get your 'admin' user password by running:
 
  
  kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
+
[[helm install mygrafana grafana/grafana]]
  
2. The Grafana server can be accessed via port 80 on the following DNS name from within your cluster:
+
[[helm install MY_GRAFANA_NAME grafana/grafana]]
 +
Error: INSTALLATION FAILED: release name "MY_GRAFANA_NAME": invalid release name, must match regex ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$ and the length must not be longer than 53
  
 +
 +
helm install MY_GRAFANA_NAME stable/[[grafana]]
 +
NAME: MY_GRAFANA_NAME
 +
LAST DEPLOYED: Sun Aug 30 18:31:13 2020
 +
NAMESPACE: default
 +
STATUS: deployed
 +
REVISION: 1
 +
NOTES:
 +
1. Get your 'admin' user password by running:
 +
 +
  [[kubectl get secret]] --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
 +
 +
2. The Grafana server can be accessed via port 80 on the following DNS name from within your cluster:
 +
 
   grafana.default.svc.cluster.local
 
   grafana.default.svc.cluster.local
 
+
 
   Get the Grafana URL to visit by running these commands in the same shell:
 
   Get the Grafana URL to visit by running these commands in the same shell:
 
+
 
     export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=grafana" -o jsonpath="{.items[0].metadata.name}")
 
     export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=grafana" -o jsonpath="{.items[0].metadata.name}")
     kubectl --namespace default port-forward $POD_NAME 3000
+
     [[kubectl]] --namespace default port-forward $POD_NAME 3000
 +
 +
3. Login with the password from step 1 and the username: admin
 +
#################################################################################
 +
######  WARNING: Persistence is disabled!!! You will lose your data when  #####
 +
######            the Grafana pod is terminated.                            #####
 +
#################################################################################
  
3. Login with the password from step 1 and the username: admin
+
== Related ==
#################################################################################
+
* <code>[[helm repo add grafana]] https://grafana.github.io/helm-charts</code>
######  WARNING: Persistence is disabled!!! You will lose your data when  #####
+
* <code>[[helm get values grafana --all]]</code>
######            the Grafana pod is terminated.                           #####
+
* <code>[[helm install grafana]]</code>
#################################################################################
 
</pre>
 
  
 +
== See also ==
 +
* {{Grafana}}
  
== See also ==
+
[[Category:K8s]]
* {{Helm}}
 

Latest revision as of 17:58, 8 December 2022

helm install MY_GRAFANA_NAME stable/grafana
Error: failed to download "stable/grafana" (hint: running `helm repo update` may help)
helm install mygrafana grafana/grafana
helm install MY_GRAFANA_NAME grafana/grafana
Error: INSTALLATION FAILED: release name "MY_GRAFANA_NAME": invalid release name, must match regex ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$ and the length must not be longer than 53


helm install MY_GRAFANA_NAME stable/grafana
NAME: MY_GRAFANA_NAME
LAST DEPLOYED: Sun Aug 30 18:31:13 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get your 'admin' user password by running:

  kubectl get secret --namespace default grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo

2. The Grafana server can be accessed via port 80 on the following DNS name from within your cluster:

  grafana.default.svc.cluster.local

  Get the Grafana URL to visit by running these commands in the same shell:

    export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=grafana" -o jsonpath="{.items[0].metadata.name}")
    kubectl --namespace default port-forward $POD_NAME 3000

3. Login with the password from step 1 and the username: admin
#################################################################################
######   WARNING: Persistence is disabled!!! You will lose your data when   #####
######            the Grafana pod is terminated.                            #####
#################################################################################

Related[edit]

See also[edit]

Advertising: