diff --git a/src/common/perf_eval_method_wrapper/tests/README.md b/src/common/perf_eval_method_wrapper/tests/README.md index 908ffcea1950214e27f099d67252aac10be1a511..1e29da3d62d0f5a9b4f077956dfd9113fa23fbe7 100644 --- a/src/common/perf_eval_method_wrapper/tests/README.md +++ b/src/common/perf_eval_method_wrapper/tests/README.md @@ -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): ```