From 3df020b17edaabd21cd283463cadd97efb9a21c3 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 11 Nov 2024 07:58:35 +0000 Subject: [PATCH] autoscaler interval log (#2009) * autoscaler interval log * updated gitflow deprecated download-artifact@v2 * added actual task # added * task executor log message * decorator for logs * added algo name + count of algos. * removed redundant logging * fixed total calculation * removed underscore * total sum * removed total algorithms logging * log required cutoff by maxReplicasPerTick * round trip based secondary scale * use round trip and not duration. * wait for both round trip and reqrate * scaling logic changed * init value * updated scale logic * removed unused * no need to scale if value remained the same * changed to array * updated scaling logic * logging has been added again * added scaling to 0 * fixed 0 not being proccessed * added doc * corrected if * refactor * clean-up un-used codes * jsdoc added * unused code * unused code * updated tests * removed redundent conditions * additional condition * changed to config value * removed timeout (added for a check) * changed scale up condition * scale up amount changed * changed scale up condition * undo last change * added logging * logging * added _ since prop didnt exist * redundent, being handled in auto-scaler * changed condition to scale up * added logging * added logging * removed = * removed unused code * removed unused code * avg of round trip (array) * removed total logging * fixed bug * added dynamic max size to fixed-window * wip * fix problematic value * logging * logging fixed * fixed error * fix * not needed, changed back * Now not scaling down in case there is queue * removed for checking * undo last check * undo for check * removed for checking * corrected config access * added config parameter for debugging purposes * unused * removed unused * fixed * fix * wip * logging * fix config logic * fixed logging * updated config value * updated config value * revert window change update * queue empty when less then 1 sec * fixed config debug check * removed old logging used for checking * fixed reaching undefined value * removed (used for debugging) * changed window size * not needed --------- Co-authored-by: Adir111 Co-authored-by: Adir David <118291963+Adir111@users.noreply.github.com> .... bump version [skip ci] --- core/task-executor/package-lock.json | 4 ++-- core/task-executor/package.json | 2 +- core/worker/package-lock.json | 4 ++-- core/worker/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/task-executor/package-lock.json b/core/task-executor/package-lock.json index d582ad9c8..3bd931932 100644 --- a/core/task-executor/package-lock.json +++ b/core/task-executor/package-lock.json @@ -1,12 +1,12 @@ { "name": "task-executor", - "version": "2.8.3", + "version": "2.8.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "task-executor", - "version": "2.8.3", + "version": "2.8.4", "license": "MIT", "dependencies": { "@hkube/config": "^2.0.11", diff --git a/core/task-executor/package.json b/core/task-executor/package.json index c51f46c9d..8664cc819 100644 --- a/core/task-executor/package.json +++ b/core/task-executor/package.json @@ -1,6 +1,6 @@ { "name": "task-executor", - "version": "2.8.3", + "version": "2.8.4", "description": "Hkube scheduler service", "main": "app.js", "scripts": { diff --git a/core/worker/package-lock.json b/core/worker/package-lock.json index e4d8beaa8..fbd993f1e 100644 --- a/core/worker/package-lock.json +++ b/core/worker/package-lock.json @@ -1,12 +1,12 @@ { "name": "worker", - "version": "2.8.5", + "version": "2.8.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "worker", - "version": "2.8.5", + "version": "2.8.6", "license": "MIT", "dependencies": { "@hkube/config": "^2.0.11", diff --git a/core/worker/package.json b/core/worker/package.json index 1a9b986b0..1c526681a 100644 --- a/core/worker/package.json +++ b/core/worker/package.json @@ -1,6 +1,6 @@ { "name": "worker", - "version": "2.8.5", + "version": "2.8.6", "description": "worker process", "main": "app.js", "scripts": {