PDLC not writing nodeRecommendation in the SWM CR
Description
For some reason PDLC-Rl does not write the node Recommendations in applications.qos-scheduler.siemens.com
CR. It would help to have further logs from PDLC side that help find the problem.
- Previous bugs regarding the PDLC shared volume have been resolved (all PDLC pods have access to the volume).
- All PDLC pods have logs that indicate that they function properly. I will paste bellow logs segments from all pods (collapse to view):
RL logs
Starting while true loop, iteration number: 677
Number of GNNs entries: 0
Number of GNNs entries: 0
Number of GNNs entries: 0
Searching for new pods to allocate
BEFORE {'acm-swm-app-backend': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'backend', 'he-codeco-acm'], 'acm-swm-app-front-end': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'front-end', 'he-codeco-acm']}
New pods to allocate: 0
AFTER {'acm-swm-app-backend': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'backend', 'he-codeco-acm'], 'acm-swm-app-front-end': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'front-end', 'he-codeco-acm']}
Checking state of the system (getting node info)
DP [['2024-11-13 10:29:34', 'c1', '0.127921', '53242905600.0'], ['2024-11-13 10:29:34', 'c2', '0.123574', '53400273920.0'], ['2024-11-13 10:29:34', 'kind-control-plane', '0.132213', '53445042176.0']]
Searching for new CA entries
3 [[0.127921, 53242905600.0], [0.123574, 53400273920.0], [0.132213, 53445042176.0]]
Done searching for new CA entries
[[0.127921, 53242905600.0, 0.0, 0.0], [0.123574, 53400273920.0, 0.0, 0.0], [0.132213, 53445042176.0, 0.0, 0.0]]
0 0
0 0
To inference
Out of inference
Starting while true loop, iteration number: 678
Number of GNNs entries: 0
Number of GNNs entries: 0
Number of GNNs entries: 0
Searching for new pods to allocate
BEFORE {'acm-swm-app-backend': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'backend', 'he-codeco-acm'], 'acm-swm-app-front-end': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'front-end', 'he-codeco-acm']}
['2024-11-13 10:30:34', 'acm-swm-app-backend', 'acm-swm-app', 'backend', '0.001201', '17806677.333333', '2.0', '4.0', 'he-codeco-acm']
['2024-11-13 10:30:34', 'acm-swm-app-front-end', 'acm-swm-app', 'front-end', '0.001489', '20564650.666667', '2.0', '4.0', 'he-codeco-acm']
New pods to allocate: 0
AFTER {'acm-swm-app-backend': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'backend', 'he-codeco-acm'], 'acm-swm-app-front-end': [[inf, nan, nan], '2.0', '4.0', 'acm-swm-app', 'front-end', 'he-codeco-acm']}
Checking state of the system (getting node info)
DP [['2024-11-13 10:30:34', 'c1', '0.123398', '53470395392.0'], ['2024-11-13 10:30:34', 'c2', '0.127097', '53622849536.0'], ['2024-11-13 10:30:34', 'kind-control-plane', '0.127102', '53653791744.0']]
Searching for new CA entries
3 [[0.123398, 53470395392.0], [0.127097, 53622849536.0], [0.127102, 53653791744.0]]
Done searching for new CA entries
[[0.123398, 53470395392.0, 0.0, 0.0], [0.127097, 53622849536.0, 0.0, 0.0], [0.127102, 53653791744.0, 0.0, 0.0]]
0 0
0 0
To inference
Out of inference
GNN controller logs
API call successful!
API call successful!
API call failed with status code: 500
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
API call successful!
API call successful!
API call failed with status code: 500
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
API call successful!
GNN inference logs
10.244.2.21 - - [13/Nov/2024 10:26:06] "POST /nodepredictions HTTP/1.1" 200 -
[[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]]
[0. 0. 0.]
[{'cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'memory': ['0.138332735785088, 0.1390105647163769, 0.1479000854953643, 0.109388893591081, 0.1479497755152308, 0.1356528032303743, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'time': ['2024-11-13 09:57:32, 2024-11-13 10:02:32, 2024-11-13 10:07:33, 2024-11-13 10:12:33, 2024-11-13 10:17:33, 2024-11-13 10:22:33'], 'min_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'min_memory': ['52652097536.0, 52652097536.0, 52652097536.0, 52652097536.0, 52652097536.0, 52652097536.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_memory': ['56959119360.0, 56959119360.0, 56959119360.0, 56959119360.0, 56959119360.0, 56959119360.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0']}, {'cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'memory': ['0.1355658868198571, 0.1285202640678565, 0.1443087115159632, 0.1065008693267974, 0.1480886852277432, 0.1283199530183749, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'time': ['2024-11-13 09:57:32, 2024-11-13 10:02:32, 2024-11-13 10:07:33, 2024-11-13 10:12:33, 2024-11-13 10:17:33, 2024-11-13 10:22:33'], 'min_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'min_memory': ['52654054400.0, 52654054400.0, 52654054400.0, 52654054400.0, 52654054400.0, 52654054400.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_memory': ['57075977216.0, 57075977216.0, 57075977216.0, 57075977216.0, 57075977216.0, 57075977216.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0']}, {'cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'memory': ['0.1404575809131802, 0.1488652480261798, 0.1493066269590761, 0.1278066840481737, 0.1467406843331474, 0.1354467151121918, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'time': ['2024-11-13 09:57:32, 2024-11-13 10:02:32, 2024-11-13 10:07:33, 2024-11-13 10:12:33, 2024-11-13 10:17:33, 2024-11-13 10:22:33'], 'min_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_cpu': ['0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'min_memory': ['52626742272.0, 52626742272.0, 52626742272.0, 52626742272.0, 52626742272.0, 52626742272.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0'], 'max_memory': ['56967465984.0, 56967465984.0, 56967465984.0, 56967465984.0, 56967465984.0, 56967465984.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0']}]
input sequence: 6
frequency: 5
['c1' 'kind-control-plane' 'c2']
[[1 1 1]
[1 1 1]
[1 1 1]]
1/1 [==============================] - 0s 233ms/step
[[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]
[0.00000000e+00 0.00000000e+00 0.00000000e+00]]
[5.26520975e+10 5.26540544e+10 5.26267423e+10]
1/1 [==============================] - 0s 205ms/step
10.244.2.21 - - [13/Nov/2024 10:26:07] "POST /nodepredictions HTTP/1.1" 200 -
CA logs
Profiles Costs For The Cluster:
Name Greennness_Cost Resilience_Cost
c1 0.0 9.999999999999999e-18
kind-control-plane 0.0 9.999999999999999e-18
c2 0.0 9.999999999999999e-18
CSV file updated: /data/RL/metrics.csv
Profiles Costs For The Cluster:
Name Greennness_Cost Resilience_Cost
c1 0.0 9.999999999999999e-18
kind-control-plane 0.0 9.999999999999999e-18
c2 0.0 9.999999999999999e-18
CSV file updated: /data/RL/metrics.csv
DP logs
Printing ACM JSON: {'apiVersion': 'codeco.he-codeco.eu/v1alpha1', 'kind': 'CodecoApp', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"codeco.he-codeco.eu/v1alpha1","kind":"CodecoApp","metadata":{"annotations":{},"generation":1,"name":"codecoappinstance3","namespace":"he-codeco-acm","resourceVersion":"1456","uid":"5c948d7e-43d6-425b-b0b2-76402b606e07"},"spec":{"appEnergyLimit":"20","appFailureTolerance":"","appName":"acm-swm-app","codecoapp-msspec":[{"nwbandwidth":"1.2","nwlatency":"3","podspec":{"containers":[{"image":"quay.io/skupper/hello-world-backend:latest","name":"skupper-backend","ports":[{"containerPort":8080,"name":"skupper-backend","protocol":"TCP"}],"resources":{"limits":{"cpu":"2","memory":"4Gi"}}}]},"serviceChannels":[{"advancedChannelSettings":{"frameSize":"100","maxDelay":"1","minBandwidth":"5","sendInterval":"10"},"channelName":"frontend","otherService":{"appName":"acm-swm-app","port":9090,"serviceName":"front-end"}}],"serviceName":"backend"},{"nwbandwidth":"1.2","nwlatency":"3","podspec":{"containers":[{"image":"quay.io/dekelly/frontend-app:v0.0.2","name":"front-end","ports":[{"containerPort":8080,"protocol":"TCP"}]}]},"serviceChannels":[{"advancedChannelSettings":{"frameSize":"100","maxDelay":"1","minBandwidth":"5","sendInterval":"10"},"channelName":"backend","otherService":{"appName":"acm-swm-app","port":8080,"serviceName":"backend"}}],"serviceName":"front-end"}],"complianceClass":"High","qosClass":"Gold","securityClass":"Good"}}\n'}, 'creationTimestamp': '2024-11-13T08:35:26Z', 'generation': 1, 'managedFields': [{'apiVersion': 'codeco.he-codeco.eu/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:kubectl.kubernetes.io/last-applied-configuration': {}}}, 'f:spec': {'.': {}, 'f:appEnergyLimit': {}, 'f:appFailureTolerance': {}, 'f:appName': {}, 'f:codecoapp-msspec': {}, 'f:complianceClass': {}, 'f:qosClass': {}, 'f:securityClass': {}}}, 'manager': 'kubectl-client-side-apply', 'operation': 'Update', 'time': '2024-11-13T08:35:26Z'}, {'apiVersion': 'codeco.he-codeco.eu/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:appMetrics': {'.': {}, 'f:numPods': {}, 'f:serviceMetrics': {}}, 'f:nodeMetrics': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2024-11-13T10:23:19Z'}], 'name': 'codecoappinstance3', 'namespace': 'he-codeco-acm', 'resourceVersion': '30758', 'uid': '36a72009-97f6-4117-b606-9e8d232cef70'}, 'spec': {'appEnergyLimit': '20', 'appFailureTolerance': '', 'appName': 'acm-swm-app', 'codecoapp-msspec': [{'nwbandwidth': '1.2', 'nwlatency': '3', 'podspec': {'containers': [{'image': 'quay.io/skupper/hello-world-backend:latest', 'name': 'skupper-backend', 'ports': [{'containerPort': 8080, 'name': 'skupper-backend', 'protocol': 'TCP'}], 'resources': {'limits': {'cpu': '2', 'memory': '4Gi'}}}]}, 'serviceChannels': [{'advancedChannelSettings': {'frameSize': '100', 'maxDelay': '1', 'minBandwidth': '5', 'sendInterval': '10'}, 'channelName': 'frontend', 'otherService': {'appName': 'acm-swm-app', 'port': 9090, 'serviceName': 'front-end'}}], 'serviceName': 'backend'}, {'nwbandwidth': '1.2', 'nwlatency': '3', 'podspec': {'containers': [{'image': 'quay.io/dekelly/frontend-app:v0.0.2', 'name': 'front-end', 'ports': [{'containerPort': 8080, 'protocol': 'TCP'}]}]}, 'serviceChannels': [{'advancedChannelSettings': {'frameSize': '100', 'maxDelay': '1', 'minBandwidth': '5', 'sendInterval': '10'}, 'channelName': 'backend', 'otherService': {'appName': 'acm-swm-app', 'port': 8080, 'serviceName': 'backend'}}], 'serviceName': 'front-end'}], 'complianceClass': 'High', 'qosClass': 'Gold', 'securityClass': 'Good'}, 'status': {'appMetrics': {'numPods': 2, 'serviceMetrics': [{'avgServiceCpu': '0.001389', 'avgServiceMemory': '17806677.333333', 'clusterName': 'codeco-cluster-1', 'nodeName': 'c2', 'podName': 'acm-swm-app-backend', 'serviceName': 'backend'}, {'avgServiceCpu': '0.001625', 'avgServiceMemory': '20564650.666667', 'clusterName': 'codeco-cluster-1', 'nodeName': 'c2', 'podName': 'acm-swm-app-front-end', 'serviceName': 'front-end'}]}, 'nodeMetrics': [{'avgNodeCpu': '0.131000', 'avgNodeMemory': '53278912512.000000', 'nodeName': 'kind-control-plane'}, {'avgNodeCpu': '0.127106', 'avgNodeMemory': '53236469760.000000', 'nodeName': 'c2'}, {'avgNodeCpu': '0.129315', 'avgNodeMemory': '53276348416.000000', 'nodeName': 'c1'}]}}
CSV Files (First Lines)
Below are the first lines of the CSV files provided by DP:
CA data CSV
root@kind-worker:/data/CA# cat data_CA.csv | head -n 20
timestamp,node_name,node_cpu_usage,normalized_cpu_values,node_memory_values,nomalized_memory_values,node_energy_values,nomalized_energy_values,node_ibw,normalized_node_ibw,node_ebw,normalized_node_ebw,node_degree,node_net_failure,node_failure,node_net_energy,freshness,portability,compliance
2024-11-13 08:37:27,c1,0.0,-1.00000001e-08,55718640640.0,557186411.9718641,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:37:27,kind-control-plane,0.0,-1.00000001e-08,55720073216.0,557200737.7320074,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:37:27,c2,0.0,-1.00000001e-08,55661089792.0,556610903.486109,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:38:27,c1,0.0,-1.00000001e-08,55906099200.0,559060997.5906099,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:38:27,kind-control-plane,0.0,-1.00000001e-08,55871676416.0,558716769.7471677,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:38:27,c2,0.0,-1.00000001e-08,55897907200.0,558979077.5897908,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:39:27,c1,0.0,-1.00000001e-08,56042842112.0,560428426.7242843,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:39:27,kind-control-plane,0.0,-1.00000001e-08,56047819776.0,560478203.364782,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:39:27,c2,0.0,-1.00000001e-08,56027223040.0,560272236.0027224,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:40:27,c1,0.0,-1.00000001e-08,56114188288.0,561141888.4914188,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:40:27,kind-control-plane,0.0,-1.00000001e-08,56112798720.0,561127992.8112799,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:40:27,c2,0.0,-1.00000001e-08,56094450688.0,560944512.4894451,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:41:27,c1,0.0,-1.00000001e-08,56210942976.0,562109435.3810943,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:41:27,kind-control-plane,0.0,-1.00000001e-08,56195480576.0,561954811.3795481,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:41:27,c2,0.0,-1.00000001e-08,56226004992.0,562260055.5426005,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:42:27,c1,0.0,-1.00000001e-08,56031951872.0,560319524.3231952,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
2024-11-13 08:42:27,kind-control-plane,0.0,-1.00000001e-08,56098142208.0,560981427.6898142,0.0,-1.00000001e-08,1723804.0,17238.0401723704,1.0,0.009999990099999901,1,0,0,0,[],[],[]
2024-11-13 08:42:27,c2,0.0,-1.00000001e-08,56045881344.0,560458819.0445882,0.0,-1.00000001e-08,1652377.0,16523.770165227703,1.0,0.009999990099999901,1,0,0,0,"['N/A', 'N/A']","['N/A', 'N/A']","['N/A', 'N/A']"
2024-11-13 08:43:27,c1,0.0,-1.00000001e-08,56031951872.0,560319524.3231952,0.0,-1.00000001e-08,2359741.0,23597.410235964104,2.0,0.0199999901999999,1,0,0,0,[],[],[]
GNN data CSV
root@kind-worker:/data/GNN# cat data_GNN.csv | head -n 20
timestamp,node_name,normalized_cpu_values,normalized_memory_values,min_cpu,max_cpu,min_memory,max_memory
2024-11-13 08:37:27,c1,0,0,0.0,0.0,55718640640.0,55718640640.0
2024-11-13 08:37:27,kind-control-plane,0,0,0.0,0.0,55720073216.0,55720073216.0
2024-11-13 08:37:27,c2,0,0,0.0,0.0,55661089792.0,55661089792.0
2024-11-13 08:38:27,c1,0,1.0,0.0,0.0,55718640640.0,55906099200.0
2024-11-13 08:38:27,kind-control-plane,0,1.0,0.0,0.0,55720073216.0,55871676416.0
2024-11-13 08:38:27,c2,0,1.0,0.0,0.0,55661089792.0,55897907200.0
2024-11-13 08:39:27,c1,0,1.0,0.0,0.0,55718640640.0,56042842112.0
2024-11-13 08:39:27,kind-control-plane,0,1.0,0.0,0.0,55720073216.0,56047819776.0
2024-11-13 08:39:27,c2,0,1.0,0.0,0.0,55661089792.0,56027223040.0
2024-11-13 08:40:27,c1,0,1.0,0.0,0.0,55718640640.0,56114188288.0
2024-11-13 08:40:27,kind-control-plane,0,1.0,0.0,0.0,55720073216.0,56112798720.0
2024-11-13 08:40:27,c2,0,1.0,0.0,0.0,55661089792.0,56094450688.0
2024-11-13 08:41:27,c1,0,1.0,0.0,0.0,55718640640.0,56210942976.0
2024-11-13 08:41:27,kind-control-plane,0,1.0,0.0,0.0,55720073216.0,56195480576.0
2024-11-13 08:41:27,c2,0,1.0,0.0,0.0,55661089792.0,56226004992.0
2024-11-13 08:42:27,c1,0,0.6364203642535631,0.0,0.0,55718640640.0,56210942976.0
2024-11-13 08:42:27,kind-control-plane,0,0.7952527112748107,0.0,0.0,55720073216.0,56195480576.0
2024-11-13 08:42:27,c2,0,0.6811492273530612,0.0,0.0,55661089792.0,56226004992.0
2024-11-13 08:43:27,c1,0,0.6364203642535631,0.0,0.0,55718640640.0,56210942976.0
RL Test Node CSV
root@kind-worker:/data/RL# cat test_nodes.csv | head
timestamp,nodeid,cpu_available,ram_available
2024-11-13 08:37:27,c1,0.130125,55718640640.0
2024-11-13 08:37:27,kind-control-plane,0.129468,55720073216.0
2024-11-13 08:37:27,c2,0.124676,55661089792.0
2024-11-13 08:38:27,c1,0.12306,55906099200.0
2024-11-13 08:38:27,kind-control-plane,0.121444,55871676416.0
2024-11-13 08:38:27,c2,0.120556,55897907200.0
2024-11-13 08:39:27,c1,0.112338,56042842112.0
2024-11-13 08:39:27,kind-control-plane,0.110042,56047819776.0
2024-11-13 08:39:27,c2,0.113819,56027223040.0
RL Test Integration CSV
root@kind-worker:/data/RL# cat test_integracio.csv | head
timestamp,Podname,appName,service_name,cpu,ram,real_cpu,real_ram,namespace
2024-11-13 08:37:27,acm-swm-app-backend,acm-swm-app,backend,0.001655,17806677.333333,2.0,4.0,he-codeco-acm
2024-11-13 08:37:27,acm-swm-app-front-end,acm-swm-app,front-end,0.015802,11590997.333333,2.0,4.0,he-codeco-acm
2024-11-13 08:38:27,acm-swm-app-backend,acm-swm-app,backend,0.001317,17806677.333333,2.0,4.0,he-codeco-acm
2024-11-13 08:38:27,acm-swm-app-front-end,acm-swm-app,front-end,0.001319,20564650.666667,2.0,4.0,he-codeco-acm
2024-11-13 08:39:27,acm-swm-app-backend,acm-swm-app,backend,0.001396,17806677.333333,2.0,4.0,he-codeco-acm
2024-11-13 08:39:27,acm-swm-app-front-end,acm-swm-app,front-end,0.001595,20564650.666667,2.0,4.0,he-codeco-acm
2024-11-13 08:40:27,acm-swm-app-backend,acm-swm-app,backend,0.001197,17806677.333333,2.0,4.0,he-codeco-acm
2024-11-13 08:40:27,acm-swm-app-front-end,acm-swm-app,front-end,0.001959,20564650.666667,2.0,4.0,he-codeco-acm
2024-11-13 08:41:27,acm-swm-app-backend,acm-swm-app,backend,0.001862,17806677.333333,2.0,4.0,he-codeco-acm
30 Minutes Forecase CSV
root@kind-worker:/data/RL# cat forecasts30.csv | head
node_name,cpu_prediction,ram_prediction,forecast_timestamp
c1,0.0,55718640640.0,2024-11-13 09:32:28
c2,0.0,55661089792.0,2024-11-13 09:32:28
kind-control-plane,0.0,55720073216.0,2024-11-13 09:32:28
c1,0.0,55718640640.0,2024-11-13 09:32:28
c2,0.0,55661089792.0,2024-11-13 09:32:28
kind-control-plane,0.0,55720073216.0,2024-11-13 09:32:28
c1,0.0,55718640640.0,2024-11-13 09:32:28
c2,0.0,55661089792.0,2024-11-13 09:32:28
kind-control-plane,0.0,55720073216.0,2024-11-13 09:32:28
Metrics CSV
root@kind-worker:/data/RL# cat metrics.csv | head
timestamp,node_name,greenness_cost,resilience_cost
2024-11-13 10:16:23,c1,0.0,9.999999999999999e-18
2024-11-13 10:16:23,kind-control-plane,0.0,9.999999999999999e-18
2024-11-13 10:16:23,c2,0.0,9.999999999999999e-18
2024-11-13 10:16:24,c1,0.0,9.999999999999999e-18
2024-11-13 10:16:24,kind-control-plane,0.0,9.999999999999999e-18
2024-11-13 10:16:24,c2,0.0,9.999999999999999e-18
2024-11-13 10:16:25,c1,0.0,9.999999999999999e-18
2024-11-13 10:16:25,kind-control-plane,0.0,9.999999999999999e-18
2024-11-13 10:16:25,c2,0.0,9.999999999999999e-18
RL logs - 1000 first lines: rl-logs-head1000.txt
CODECO Installation Logs: Installation_Logs.txt
Actual SWM CRD: SWM_CRD.txt
Edited by Panagiotis Karamolegkos