Difference between revisions of "Helm install mygrafana grafana/grafana"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> NAME: mygrafana LAST DEPLOYED: Mon May 23 01:59:33 2022 NAMESPACE: default STATUS: deployed REVISION: 1 NOTES: 1. Get your 'admin' user password by running: kubectl...")
 
Line 18: Line 18:
 
     export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=mygrafana" -o jsonpath="{.items[0].metadata.name}")
 
     export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=mygrafana" -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.                            #####
 
#################################################################################
 
 
</pre>
 
</pre>
 +
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.                            #####
 +
#################################################################################
  
  

Revision as of 00:01, 23 May 2022

NAME: mygrafana
LAST DEPLOYED: Mon May 23 01:59:33 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get your 'admin' user password by running:

   kubectl get secret --namespace default mygrafana -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:

   mygrafana.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=mygrafana" -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.                            #####
#################################################################################


See also

Advertising: