Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 9a34ceb

Browse files
author
Carlos León
committed
Add HOW TO deploy monitoring services in Kubernetes
These instructions will help the user deploy both Prometheus, Grafana and some default dashboards to visualize the status, performance and much more of both the Kubernetes cluster and the Socks Shop
1 parent 91faf3f commit 9a34ceb

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

_includes/doc_menu.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,9 @@
4242
<li><a href="/microservices-demo/deployment/apcera.html">Apcera</a></li>
4343
</ul>
4444
</li>
45+
<li><span>Monitoring</span>
46+
<ul>
47+
<li><a href="/microservices-demo/deployment/monitoring-kubernetes.html">Kubernetes</a></li>
48+
</ul>
49+
</li>
4550
</ul>

deployment/monitoring-kubernetes.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: default
3+
deployDoc: true
4+
---
5+
6+
## Kubernetes
7+
To deploy Prometheus & Grafana and to setup all the nice graphs that we got ready
8+
for you, simply:
9+
10+
```
11+
$ kubectl create -f ./deploy/kubernetes/manifests-monitoring
12+
```
13+
14+
Assuming that used `minikube` to deploy your Kubernetes cluster, to get the URL of
15+
the services:
16+
17+
18+
#### Prometheus
19+
```
20+
$ minikube service list | grep prometheus
21+
| monitoring | prometheus | http://192.168.99.100:31090 |
22+
```
23+
24+
#### Grafana
25+
```
26+
$ minikube service list | grep grafana
27+
| monitoring | grafana | http://192.168.99.100:31300 |
28+
```

0 commit comments

Comments
 (0)