Skip to content

Commit 87bbf10

Browse files
ChrisChinchillarossf7
authored andcommitted
Update README.md
Added some formatting Signed-off-by: Chris Chinchilla <[email protected]>
1 parent db273b5 commit 87bbf10

File tree

1 file changed

+19
-13
lines changed

1 file changed

+19
-13
lines changed

docs/local-setup/README.md

+19-13
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
### Setup
1+
# Local setup
22

33
1. Start Kubernetes
4-
2. [Install and start Prometheus](https://sustainable-computing.io/installation/kepler/#deploy-the-prometheus-operator) 2. `cd kube-prometheus` 3. `kubectl apply --server-side -f manifests/setup` 4. `kubectl apply -f manifests/` 5. Wait… 6. `kubectl -n monitoring port-forward svc/grafana 3000` 7. Open dashboard _localhost:3000_
5-
3. Install metrics server
4+
2. [Install and start Prometheus](https://sustainable-computing.io/installation/kepler/#deploy-the-prometheus-operator)
5+
1. `cd kube-prometheus`
6+
2. `kubectl apply --server-side -f manifests/setup`
7+
3. `kubectl apply -f manifests/`
8+
4. Wait…
9+
5. `kubectl -n monitoring port-forward svc/grafana 3000`
10+
6. Open dashboard _localhost:3000_
11+
4. Install metrics server
612
1. `kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml`
713
2. Patch
814

@@ -27,14 +33,14 @@ kubectl patch -n kube-system deployment metrics-server --type=json \
2733
6. `helm install falco-exporter falcosecurity/falco-exporter`
2834
10. Run Falco tests
2935
1. https://github.com/falcosecurity/cncf-green-review-testing/tree/main/benchmark-tests
30-
11. May need to remove `nodeSelector`
31-
12. Write out metrics to JSON
32-
13. Thinking about https://github.com/prometheus/prom2json
33-
14. These metrics:
36+
2. May need to remove `nodeSelector`
37+
3. Write out metrics to JSON
38+
4. Thinking about https://github.com/prometheus/prom2json
39+
5. These metrics:
3440

35-
```
36-
rate(container_cpu_usage_seconds_total[5m])
37-
container_memory_rss
38-
container_memory_working_set_bytes
39-
kepler_container_joules_total
40-
```
41+
```
42+
rate(container_cpu_usage_seconds_total[5m])
43+
container_memory_rss
44+
container_memory_working_set_bytes
45+
kepler_container_joules_total
46+
```

0 commit comments

Comments
 (0)