Skip to content

Commit

Permalink
Update Grafana documentaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarolch committed Sep 12, 2018
1 parent 5c40c9d commit 651cfd1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ The default configuration values for this chart are listed in [values.yaml](char
| `anotations` | Additional annotations | `{}` |
| `labels` | Additional labels | `{}` |

### Grafana tips
File [grafana.md](docs/grafana.md) would cover all extra tips for config/access grafana charts.

## Project status

Currently kubernetes-jmeter project is able to run some test on distributed slaves but there still is a lot to do. In few days there should be some documentation added to this repo.
Expand All @@ -99,5 +102,5 @@ Everything ;)
3. Jmeter test get from maven (0%)
4. Jmeter test get from git (20%) - still not push to master
5. SSL between Jmeter nodes
6. Documentation (50%)
6. Documentation (55%)
7. Release of a helm charts and helm repo update process via travis
2 changes: 0 additions & 2 deletions docs/README.md

This file was deleted.

35 changes: 35 additions & 0 deletions docs/grafana.md
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)

0 comments on commit 651cfd1

Please sign in to comment.