Skip to content

Commit 6b38fe5

Browse files
author
Etienne Tremel
committed
Use Kubernetes 1.10, bump Prometheus and Grafana to latest
1 parent 64931b8 commit 6b38fe5

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Before experimenting, checkout the following resources:
3131
## Getting started
3232

3333
These examples were created and tested on [Minikube](http://github.com/kubernetes/minikube)
34-
running with Kubernetes v1.8.0.
34+
running with Kubernetes v1.10.0.
3535

3636
```
37-
$ minikube start --kubernetes-version v1.8.0
37+
$ minikube start --kubernetes-version v1.10.0 --memory 8192 --cpus 2
3838
```
3939

4040

@@ -56,30 +56,31 @@ $ helm init
5656

5757
```
5858
$ helm install \
59+
--namespace=monitoring \
5960
--name=prometheus \
60-
--version=5.0.1 \
61-
--set=serverFiles."prometheus\.yml".global.scrape_interval=3s \
61+
--version=7.0.0 \
6262
stable/prometheus
6363
```
6464

6565
### Install Grafana
6666

6767
```
6868
$ helm install \
69-
--name=grafana \
70-
--version=0.5.7 \
71-
--set=server.adminUser=admin \
72-
--set=server.adminPassword=admin \
73-
--set=server.service.type=NodePort \
74-
stable/grafana
69+
--namespace=monitoring \
70+
--name=grafana \
71+
--version=1.12.0 \
72+
--set=adminUser=admin \
73+
--set=adminPassword=admin \
74+
--set=service.type=NodePort \
75+
stable/grafana
7576
```
7677

7778
### Setup Grafana
7879

7980
Now that Prometheus and Grafana are up and running, you can access Grafana:
8081

8182
```
82-
$ minikube service grafana-grafana
83+
$ minikube service grafana
8384
```
8485

8586
To login, username: `admin`, password: `admin`.
@@ -89,8 +90,8 @@ Then you need to connect Grafana to Prometheus, to do so, add a DataSource:
8990
```
9091
Name: prometheus
9192
Type: Prometheus
92-
Url: http://prometheus-prometheus-server
93-
Access: Proxy
93+
Url: http://prometheus-server
94+
Access: Server
9495
```
9596

9697
Create a dashboard with a Graph. Use the following query:

0 commit comments

Comments
 (0)