File tree 3 files changed +19
-0
lines changed
3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ alias graf=" bash metrics/kubernetes-grafana/create.sh && \
3
+ bash metrics/kubernetes-node-exporter/create.sh && \
4
+ bash metrics/kubernetes-prometheus/create.sh"
5
+ alias metrics=" kubectl port-forward grafana-6648db4b8b-cr5xx 3000:3000 -n monitoring"
Original file line number Diff line number Diff line change 32
32
- `bash .namespace.sh namespace scale-namespace`
33
33
- make sure you can curl and get an output
34
34
- `curl localhost:8080`
35
+ - run create script in each metrics sub directory
36
+ - alias for this in .bashrc
37
+ - portforward grafana
38
+ - ```kubectl port-forward grafana-6648db4b8b-cr5xx 3000:3000 -n monitoring```
39
+ - alias for this in .bashrc
40
+ - grapha needs to be initialzed with prometheus at start
41
+
35
42
36
43
## Test
37
44
- test with hey tool
Original file line number Diff line number Diff line change @@ -2,3 +2,10 @@ apiVersion: v1
2
2
kind : Namespace
3
3
metadata :
4
4
name : scale-namespace
5
+
6
+ ---
7
+
8
+ apiVersion : v1
9
+ kind : Namespace
10
+ metadata :
11
+ name : monitoring
You can’t perform that action at this time.
0 commit comments