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:
- 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.