Skip to content
Snippets Groups Projects
Commit ed6d8be3 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'feat/device-perf-eval' of...

Merge branch 'feat/device-perf-eval' of https://labs.etsi.org/rep/tfs/controller into feat/device-perf-eval
parents 6b246594 edd54e91
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!36Performance Evaluation Framework + Helper Tools
......@@ -2,6 +2,12 @@
## Description:
- enable prometheus addon:
```
tfs@tfs-vm:~/tfs-ctrl$ microk8s.enable prometheus
tfs@tfs-vm:~/tfs-ctrl$ microk8s.status --wait-ready
```
- deploy as:
```
tfs@tfs-vm:~/tfs-ctrl$ source src/common/perf_eval_method_wrapper/tests/deploy_specs.sh
......@@ -9,20 +15,12 @@ tfs@tfs-vm:~/tfs-ctrl$ ./deploy.sh
```
- expose prometheus and grafana
terminal 1 (prometheus UI):
```
kubectl port-forward -n monitoring service/prometheus-k8s --address 0.0.0.0 9090:9090
```
terminal 2 (prometheus internal grafana):
```
kubectl port-forward -n monitoring service/grafana --address 0.0.0.0 3000:3000
```
- terminal 1 (prometheus UI): `kubectl port-forward -n monitoring service/prometheus-k8s --address 0.0.0.0 9090:9090`
- terminal 2 (grafana UI): `kubectl port-forward -n monitoring service/grafana --address 0.0.0.0 3000:3000`
- terminal 3 (alertmanager UI): `kubectl port-forward -n monitoring service/alertmanager-main --address 0.0.0.0 9093:9093`
terminal 3 (alertmanager):
```
kubectl port-forward -n monitoring service/alertmanager-main --address 0.0.0.0 9093:9093
```
- if using remote server/VM for running MicroK8s and VSCode, forward ports 9090, 3000, 9093
terminal 4 (tun test_set):
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment