Skip to content

collect_pdlc.py does not produce a recommendation.txt

I tried running the recommendation-collector alongside an app-deployment.

brief summary of steps:

  1. kind create cluster etc
  2. python3 collect_pdlc.py k8s-master &
  3. make deploy (acm)
  4. helm install p6-smartbuildings etc

This results an application that goes from pending into running state:

$ kubectl get applications -A

 NAMESPACE       NAME          STATUS
 he-codeco-acm   acm-swm-app   Running

Meanwhile the script however keeps printing the same line:
[Retry 16227] nodeRecommendations not found yet (no nodeRecommendations). Retrying...
and no recommendation.txt file is created.

when i manually inspected the yaml i see that there is indeed no mention of nodeRecommendations.

$ kubectl get applications.qos-scheduler.siemens.com -n he-codeco-acm acm-swm-app -o yaml

 (result in attachment)

get_app_swm_dump.yaml

Edited by tymon jonge