-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Grafana extra information | ||
|
||
## Grafana password | ||
Custom password could be sent via grafana charts values: | ||
``` | ||
grafana: | ||
adminUser: admin | ||
adminPassword: admin12345 | ||
``` | ||
|
||
Or random password could be access via kubectl: | ||
``` | ||
kubectl get secrets HELM_RELEASE_NAME-grafana -o 'go-template={{index .data "admin-password"}}' | base64 -d | ||
``` | ||
## Expose it via ingress | ||
|
||
Currently Grafana allow you to expose ingress via helm charts. Below code need to be added in Grafan config section to the values.yaml: | ||
|
||
``` | ||
grafana | ||
ingress: | ||
enabled: true | ||
path: / | ||
hosts: | ||
- grafan-jmeter.example.com | ||
``` | ||
|
||
## Access grafana via port-forwarding | ||
|
||
``` | ||
kubectl port-forward service/HELM_RELEASE_NAME-grafana 30080:80 | ||
``` | ||
`HEAL_RELEASE_NAME` was provided during stack deploy ( helm `-n` option). Grafana should be enabled via [localhost url](http://localhost:30080) |