Vlad Vasilyeu
f32d6cd542
Move DRA provider to autoscaling context.
2025-05-08 09:30:55 +00:00
Kuba Tużnik
6876289228
CA: remove PredicateChecker, use the new ClusterSnapshot methods instead
2024-12-04 14:33:51 +01:00
Kuba Tużnik
a35f830f1d
CA: extract a Handle to scheduleframework.Framework out of PredicateChecker
...
This decouples PredicateChecker from the Framework initialization logic,
and allows creating multiple PredicateChecker instances while only
initializing the framework once.
This commit also fixes how CA integrates with Framework metrics. Instead
of Registering them they're only Initialized so that CA doesn't expose
scheduler metrics. And the initialization is moved from multiple
different places to the Handle constructor.
2024-12-03 16:47:54 +01:00
Yaroslava Serdiuk
f6a46716be
Fix typo in ProvisioningRequestScaleUpMode
2024-11-05 14:28:28 +00:00
Yaroslava Serdiuk
fd0e8487a6
Move ProvisioningRequestScaleUpMode to AutoscalingContext
2024-10-21 10:07:28 +00:00
Artur Żyliński
399b16e53c
Move estimatorBuilder from AutoscalingContext to Orchestrator Init
2024-02-08 15:18:39 +01:00
Artur Żyliński
747d0b9af4
Cleanup: Remove separate client for k8s events
...
Remove RateLimiting options - replay on APF for apiserver protection.
Details: https://github.com/kubernetes/kubernetes/issues/111880
2023-11-14 11:20:36 +01:00
Eric Lin
0f02235e98
Use informer factory to reuse listers
...
Signed-off-by: Eric Lin <exlin@google.com>
2023-09-15 13:57:15 +00:00
Daniel Gutowski
5fed449792
Add ClusterStateRegistry to the AutoscalingContext.
...
Due to the dependency of the MaxNodeProvisionTimeProvider on the context
the provider was extracted to a dedicated package and injected to the
ClusterStateRegistry after context creation.
2023-07-04 05:00:09 -07:00
Bartłomiej Wróblewski
43b459bf84
Track PDBRemainingDisruptions in AutoscalingContext
2023-02-24 12:43:29 +00:00
Bartłomiej Wróblewski
4373c467fe
Add ScaleDown.Actuator to AutoscalingContext
2022-11-02 13:12:25 +00:00
Daniel Kłobuszewski
18f2e67c4f
Split out code from simulator package
2022-10-18 11:51:44 +02:00
Michael McCune
8c27f76933
add a flag to allow event duplication
...
this change brings in a new command line flag,
`--record-duplicated-events`, which allows a user to enable the
duplication of events bypassing the 5 minute de-duplication window.
2022-06-03 14:26:38 -04:00
Jayant Jain
729038ff2d
Adding support for Debugging Snapshot
2021-12-30 09:08:05 +00:00
Eric Mrak and Brett Kochendorfer
43dd34074e
Allow name of cluster-autoscaler status ConfigMap to be specificed
...
This allows us to run two instances of cluster-autoscaler in our
cluster, targeting two different types of autoscaling groups that
require different command-line settings to be passed.
2021-02-17 21:52:54 +00:00
Maciek Pytel
655b4081f4
Migrate to klog v2
2020-06-05 17:22:26 +02:00
Łukasz Osipiuk
036103c553
Add ClusterSnapshot to AutoscalingContext
2020-02-04 20:51:26 +01:00
Łukasz Osipiuk
373c558303
Extract PredicateChecker interface
2020-02-04 20:51:18 +01:00
Łukasz Osipiuk
c6115b826e
Define ProcessorCallbacks interface
2019-04-15 16:59:13 +02:00
Aleksandra Malinowska
f304722a1f
Use separate client for events
2019-02-25 13:58:54 +01:00
Łukasz Osipiuk
016bf7fc2c
Use k8s.io/klog instead github.com/golang/glog
2018-11-26 17:30:31 +01:00
Aleksandra Malinowska
bf6ff4be8e
Clean up estimators
2018-11-06 14:15:42 +01:00
Aleksandra Malinowska
90e8a7a2d9
Move initializing defaults out of main
2018-08-02 14:04:03 +02:00
Aleksandra Malinowska
6f9b6f8290
Move ListerRegistry to context
2018-07-26 13:31:49 +02:00
Aleksandra Malinowska
7225a0fcab
Move all Kubernetes API clients to AutoscalingKubeClients
2018-07-26 13:31:48 +02:00
Aleksandra Malinowska
07e52e6c79
Move creating cloud provider out of context
2018-07-25 13:43:47 +02:00
Aleksandra Malinowska
0976d2aa07
Move autoscaling options out of static
2018-07-25 10:52:37 +02:00
Aleksandra Malinowska
03d18e9508
Remove cloud provider builder
2018-07-23 15:52:27 +02:00
Aleksandra Malinowska
6b94d7172d
Move AutoscalingOptions to config/static
2018-07-23 15:52:27 +02:00
Nic Doye
ebadbda2b2
issues/933 Consider making UnremovableNodeRecheckTimeout configurable
2018-06-18 11:54:14 +01:00
Łukasz Osipiuk
087a5cc9a9
Respect GPU limits in scale_down
2018-06-13 14:19:59 +02:00
MaciekPytel
c41dc43704
Merge pull request #495 from aleksandra-malinowska/resource-limiter-bytes
...
Use bytes instead of MB for memory limits
2018-06-08 14:47:22 +02:00
Karol Gołąb
4c710950de
Move ClusterStateRegistry to StaticAutoscaler
...
AutoscalingContext is basically a configuration and few static helpers
and API handles.
ClusterStateRegistry is state and thus moved to other state-keeping
objects.
2018-05-24 13:03:01 +02:00
Aleksandra Malinowska
fcc3d004f5
Use bytes instead of MB for memory limits
2018-05-17 17:35:39 +02:00
Krzysztof Jastrzebski
88b769b324
Refactor cluster autoscaler builder and add pod list processor.
2018-04-26 12:37:51 +02:00