Difference between revisions of "Helm install MY GRAFANA NAME stable/grafana"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
− | helm install | + | [[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 | 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. ##### | ||
+ | ################################################################################# | ||
− | + | == Related == | |
− | + | * <code>[[helm repo add grafana]] https://grafana.github.io/helm-charts</code> | |
− | + | * <code>[[helm get values grafana --all]]</code> | |
− | + | * <code>[[helm install grafana]]</code> | |
− | |||
− | </ | ||
+ | == See also == | ||
+ | * {{Grafana}} | ||
− | + | [[Category:K8s]] | |
− |
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]
helm repo add grafana https://grafana.github.io/helm-charts
helm get values grafana --all
helm install grafana
See also[edit]
- Grafana, Grafana datasources, Grafana Alerting, Grafana installation, Grafana Labs, Grafana Changelog,
Grafana logs
,docker-compose.yml (Grafana)
, Grafana Loki, Grafana Tanka, StatsD and Graphite,grafana-cli
, Loki, LogQL, Grafana Enterprise, Grafana Cloud, Grafana alerts, Amazon Grafana, Grafana OnCall, Grafana Tempo, Grafana Mimir, Grafana agent, plugins, Terraform, Grafana dashboards,/etc/grafana/grafana.ini
, Grafana Pyroscope
Advertising: