Skip to content
Snippets Groups Projects
Commit 0e3cd26a authored by Panagiotis Karamolegkos's avatar Panagiotis Karamolegkos :v_tone2:
Browse files

Updated README and made images multiarch

parent ea444a2f
No related tags found
No related merge requests found
Pipeline #67786 passed
...@@ -126,15 +126,13 @@ chmod -R 777 delete-controllers.sh ...@@ -126,15 +126,13 @@ chmod -R 777 delete-controllers.sh
``` ```
## Test Controllers without the Extractor ## Test Controllers without the Extractor
If you want to test in a fast way the controllers try running the following for the ACM Controller. Just fill in one of your node names in the `<node-name>` field. If you want to test in a fast way the controllers try running the following for the ACM Controller:
``` ```
kubectl get acm-mons <node-name>-object -o=jsonpath='{.spec.node_name}:{.spec.cpu}:{.spec.mem}:{.spec.node_failure}:{.spec.node_energy}:{.spec.node_sec} -n he-codeco-acm' kubectl get acm-mons acm-example-cr -n he-codeco-acm -o yaml
``` ```
You can test MDM and NetMA controllers as well with the following commands: You can test MDM and NetMA controllers as well with the following commands:
``` - `kubectl get mdm-mons mdm-example-cr -n he-codeco-mdm -o yaml`
kubectl get mdm-mons <node-name>-object -o=jsonpath='{.spec.node_name}:{.spec.freshness}:{.spec.compliance}:{.spec.portability} -n he-codeco-mdm' - `kubectl get netma-mons netma-example-cr -n he-codeco-netma -o yaml`
kubectl get netma-mons <node-name>-object -o=jsonpath='{.spec.node_name}:{.spec.link_id}:{.spec.link_failure}:{.spec.node_net_failure}:{.spec.ebw}:{.spec.ibw}:{.spec.latency}:{.spec.uid_visits}:{.spec.uid_location}:{.spec.zone}:{.spec.node_degree}:{.spec.path_length}:{.spec.link_energy}:{.spec.node_net_energy} -n he-codeco-netma'
```
# Execute the Extractor # Execute the Extractor
To Execute the extractor and gather results you can run the following: To Execute the extractor and gather results you can run the following:
...@@ -163,7 +161,7 @@ python3 extractor.py <mode> <datafile> ...@@ -163,7 +161,7 @@ python3 extractor.py <mode> <datafile>
### Notes: ### Notes:
- The propagated values are collected by controllers where their responsibility is to update the CRs. The extractor calls the CRDs to retrieve the updated metrics. - The propagated values are collected by controllers where their responsibility is to update the CRs. The extractor calls the CRDs to retrieve the updated metrics.
- We consider 3 CRDs – one for each CODECO component. - We consider 3 CRDs – one for each CODECO component.
- The implemented Data Generator has already been tested in KinD - The implemented Data Generator has already been tested in KinD.
# Flow # Flow
...@@ -172,7 +170,7 @@ python3 extractor.py <mode> <datafile> ...@@ -172,7 +170,7 @@ python3 extractor.py <mode> <datafile>
# Data sample # Data sample
A data sample is provided [click here](https://github.com/CODECO-UNIPI/SDG_v3/blob/CRD_FIX/data-extractor/sample/data_fc_.csv) A data sample is provided [click here](./data-extractor/sample/data_fc.csv)
# Authors: # Authors:
- Panagiotis Karamolegkos (UPRC) - Panagiotis Karamolegkos (UPRC)
......
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