Difference between revisions of "Helm install MY GRAFANA NAME stable/grafana"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | 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 | 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: | + | 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 | + | 3. Login with the password from step 1 and the username: admin |
− | ################################################################################# | + | ################################################################################# |
− | ###### WARNING: Persistence is disabled!!! You will lose your data when ##### | + | ###### WARNING: Persistence is disabled!!! You will lose your data when ##### |
− | ###### the Grafana pod is terminated. ##### | + | ###### the Grafana pod is terminated. ##### |
− | ################################################################################# | + | ################################################################################# |
− | |||
== See also == | == See also == | ||
* {{Helm}} | * {{Helm}} |
Revision as of 14:38, 30 August 2020
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. ##### #################################################################################
See also
- Helm,
helm
[repo | template
|list
|install | unsintall
|create
|show | pull | push
|status | history | plugin
|search | upgrade | delete | lint | test | package | dependency | get | rollback | version | --help]
,helm@2
, Chart file structure, Helm Charts,values.yaml, chart.yaml
, Helm functions, Helm versions,helmfile
Deprecated:init
, variables, Mapkubeapis, .helmignore
Advertising: