Commit Graph

10 Commits

Author SHA1 Message Date
Norbert Cyran 9a5e3d9f3d Allow using scheduled pods as samples in proactive scale up 2025-03-19 12:33:39 +01:00
Maciej Skoczeń 39882551f7 Parallelize cluster snapshot creation 2025-01-03 10:35:11 +00:00
Kuba Tużnik 0ace148d3d CA: rename BasicClusterSnapshot and DeltaClusterSnapshot to reflect the ClusterSnapshotStore change 2024-12-04 14:33:51 +01:00
Kuba Tużnik 67773a5509 CA: move BasicClusterSnapshot and DeltaClusterSnapshot to a dedicated subpkg 2024-12-04 14:33:51 +01:00
Kuba Tużnik 540725286f CA: migrate the codebase to use PredicateSnapshot 2024-12-04 14:33:51 +01:00
Kuba Tużnik a81aa5c616 CA: remove AddNode from ClusterSnapshot
AddNodeInfo already provides the same functionality, and has to be used
in production code in order to propagate DRA objects correctly.

Uses in production are replaced with SetClusterState(), which will later
take DRA objects into account. Uses in the test code are replaced with
AddNodeInfo().
2024-11-19 15:28:16 +01:00
Kuba Tużnik 879c6a84a4 DRA: migrate all of CA to use the new internal NodeInfo/PodInfo
The new wrapper types should behave like the direct schedulerframework
types for most purposes, so most of the migration is just changing
the imported package.

Constructors look a bit different, so they have to be adapted -
mostly in test code. Accesses to the Pods field have to be changed
to a method call.

After this, the schedulerframework types are only used in the new
wrappers, and in the parts of simulator/ that directly interact with
the scheduler framework. The rest of CA codebase operates on the new
wrapper types.
2024-11-05 16:43:43 +01:00
Mahmoud Atwa b185b14ea1 Report only injected pods after enforcing pod limit 2024-10-03 16:32:00 +00:00
Mahmoud Atwa 16688dcdbb Adds injection metrics for fake pod injection 2024-10-03 12:19:03 +00:00
Omran 01e943304a
Add proactive scaleup 2024-08-23 21:59:15 +00:00