1
0
mirror of https://github.com/kubernetes/autoscaler.git synced 2025-02-06 09:26:12 +00:00

8816 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6324acbf6e
Merge pull request #7631 from jfcoz/feat/lestwastedefaultexpander
change default cluster-autoscaler to least-waste
2025-02-05 01:18:17 -08:00
Kubernetes Prow Robot
9d70c9095b
Merge pull request #7716 from omerap12/recommender-namespaces
Feat: improve VPA filtering and checkpoint garbage collection
2025-02-05 00:42:17 -08:00
Kubernetes Prow Robot
dffe7ac57b
Merge pull request #7802 from voelzmo/nm/vpa-format-string
Refactor to format VPA Updater log more efficiently
2025-02-04 12:54:59 -08:00
Omer Aplatony
694cce8ba9 Change function name
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-02-04 22:26:42 +02:00
Marco Voelz
1899678640 Apply review suggestions 2025-02-04 11:31:56 +01:00
nikimanoledaki
3c1d3f043e Refactor to format VPA Updater log more efficiently 2025-02-04 10:46:50 +01:00
Kubernetes Prow Robot
b1265b279c
Merge pull request #7454 from maxcao13/reload-ca
Allow VPA admission controller to reload the caBundle certificate and patch the webhook
2025-02-03 13:22:57 -08:00
Kubernetes Prow Robot
47f07e529d
Merge pull request #7797 from adrianmoisey/golangci
VPA - Add golangci-lint to with import plugin enabled
2025-02-03 03:02:57 -08:00
Adrian Moisey
a142467cde
VPA - run golangci-lint 2025-02-01 15:41:56 +02:00
Adrian Moisey
dcaac6df9c
VPA - Add .golangci with imports enabled 2025-02-01 15:36:53 +02:00
Kubernetes Prow Robot
8e980c074e
Merge pull request #7682 from omerap12/cpu_humanize
feat(recommender): add round cpu millicores
2025-01-31 11:46:56 -08:00
Omer Aplatony
a6a1e1c787 specify rounded up in docs
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-31 21:29:36 +02:00
Omer Aplatony
6645e94627 edit round up description
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-31 20:07:56 +02:00
Kubernetes Prow Robot
3392d4f312
Merge pull request #7727 from omerap12/dep-NewInformerWithOptions
chore: replace deprecated NewIndexerInformer
2025-01-31 09:30:56 -08:00
Omer Aplatony
86eb5513d1 using wrapf errors
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-31 18:42:22 +02:00
Omer Aplatony
f4f67f5994 Simplify function
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-31 15:31:18 +02:00
Kubernetes Prow Robot
bd15f93bdb
Merge pull request #7765 from omerap12/fix-metricsClient-logs
chore: fix metricsClient logs
2025-01-31 02:58:56 -08:00
Kubernetes Prow Robot
29b611df84
Merge pull request #7775 from raywainman/master
VPA: Small documentation changes to supplement removal of v1beta2
2025-01-28 00:17:23 -08:00
Ray Wainman
e27059ea48 Small documentation changes to supplement removal of v1beta2 2025-01-28 01:11:46 +00:00
Kubernetes Prow Robot
d676e072e3
Merge pull request #7768 from jm-franc/vpa-1.3.0-updates
Finalize VPA release 1.3.0.
2025-01-27 13:13:22 -08:00
Hevellyn
ec8b0dac2e
Fixed verbiage of the method calculateCoresMemoryTotal (#7129)
* Fixed verbiage

* Dropped comment to avoid dubious interpretation
2025-01-27 10:43:23 -08:00
Jean-Marc François
108abb0c4e Bump latest VPA version to 1.3.0. 2025-01-27 09:47:02 -05:00
Jean-Marc François
2d5481da70 Finalize VPA release 1.3.0.
Updates docs, deployments, scripts for the VPA 1.3.0 release.

https://github.com/kubernetes/autoscaler/issues/7731

Marks VPA 1.3.0 as compatible with Kubernetes 1.28+ (verified by running
"hack/run-e2e-tests.sh full-vpa" with GKE 1.28.15-gke.1342000).
2025-01-24 19:16:36 -05:00
Kubernetes Prow Robot
3291baee04
Merge pull request #7762 from jm-franc/patch-1
Fix RELEASE.md VPA deployment command line.
2025-01-24 10:39:21 -08:00
Omer Aplatony
c50040a07c chore: fix metricsClient logs
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-24 20:36:36 +02:00
Kubernetes Prow Robot
26c8bbdeee
Merge pull request #7763 from idebeijer/docs/add-comment-leader-election-flags
docs: add comment to prevent leader-election flag binding to be moved after flag parsing
2025-01-24 08:37:21 -08:00
idebeijer
131e95433c
docs: add comment to prevent leader-election flag binding to moved 2025-01-24 12:46:51 +01:00
idb
49a0c57c79
fix: add --leader-elect flags back by reverting https://github.com/kubernetes/autoscaler/pull/7233 (#7761)
* fix: move leader elect flag binding above InitFlags()

* Revert https://github.com/kubernetes/autoscaler/pull/7233

https://github.com/kubernetes/autoscaler/pull/7233 broke `--leader-elect` flag by introducing `--lease-resource-name` that is redundant with `--leader-elect-resource-name`

* fix: move leader election flag binding above flag parsing which happens in kube_flag.InitFlags()

---------

Co-authored-by: Daniel Kłobuszewski <danielmk@google.com>
2025-01-24 00:41:22 -08:00
jm-franc
7851e31b43
Fix RELEASE.md command line. 2025-01-23 17:32:51 -05:00
Kubernetes Prow Robot
bbcb221106
Merge pull request #7608 from adrianmoisey/generate-api-docs
VPA: Generate API docs
2025-01-23 13:17:21 -08:00
Kubernetes Prow Robot
f6064ee8e3
Merge pull request #7688 from macsko/enforce_provisioning_request_processing_even_if_all_pods_are_young
Enforce provisioning requests processing even if all pods are new
2025-01-23 01:54:58 -08:00
Kubernetes Prow Robot
0b3c289d62
Merge pull request #7679 from macsko/improve_frequentloops_when_only_provisioning_requests_processing_is_productive
Improve frequent loops when only one of activities is productive
2025-01-23 01:48:59 -08:00
Omer Aplatony
9e9f3659f9 chore: replace deprecated NewIndexerInformer
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-23 09:59:26 +02:00
Robin D.
64ca097c1e
fix: undefined instance state on provisioning state failed (#7750)
* fix: undefined instance state on provisioning state failed

* test: add unit tests for provisioning state failed + fast delete

* test: support both fast/not fast delete on an affected test
2025-01-22 23:08:37 -08:00
Kubernetes Prow Robot
03b8aeb69f
Merge pull request #6656 from rbnis/feature/chart-add-civo-provider
feat(chart): Add support for civo provider
cluster-autoscaler-chart-9.46.0
2025-01-22 16:06:37 -08:00
Robin D.
9559204f61
test: add additional assertion for dynamic SKU list test (#7737) 2025-01-22 13:22:38 -08:00
Robin D.
03e6b2797d
chore: remove unnecessary logs on fast delete and add a relevant note (#7736) 2025-01-22 13:20:38 -08:00
Robin D.
7e8c41d175
test: clean up environments properly before/after each unit test in azure_manager_test.go (#7735)
* test: clean up environments properly before/after each unit test in azure_manager_test.go

* test: use testing.Cleanup() to ensure loadEnv()
2025-01-22 12:18:37 -08:00
rbnis
c24634507b feat(chart): Add support for civo provider 2025-01-22 10:04:06 +01:00
Kubernetes Prow Robot
1c26181efd
Merge pull request #7734 from raywainman/release-instructions-fixes
Tweaks to VPA release instructions.
2025-01-21 21:58:37 -08:00
Ray Wainman
1acafd838e Tweaks to release instructions. 2025-01-21 21:31:04 +00:00
Kubernetes Prow Robot
5b08a02227
Merge pull request #7732 from jm-franc/master
Update version.go for VPA 1.3.0 release
2025-01-21 13:04:37 -08:00
Jean-Marc François
a3bcef81bf Update version.go for VPA 1.3.0 release 2025-01-21 15:40:33 -05:00
Kubernetes Prow Robot
abf3e443bf
Merge pull request #7649 from kawych/dws-htn
Minor refactor to scale-up orchestrator for more re-usability
2025-01-21 07:30:36 -08:00
Karol Wychowaniec
5245a5b934 Minor refactor to scale-up orchestrator for more re-usability 2025-01-21 14:19:59 +00:00
Omer Aplatony
3d94088504 Fixed typo
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-21 09:02:41 +02:00
Omer Aplatony
9d450f8568 Merge branch 'master' into recommender-namespaces
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-21 08:59:57 +02:00
Julien Francoz
f8a68efe63 change default cluster-autoscaler to least-waste
With the previous default of random, this could lead to start very expansives nodes that the cluster autoscaler does not manage to remove as long as another smaller node is started.
2025-01-20 21:47:13 +01:00
Kubernetes Prow Robot
eb7a849ea1
Merge pull request #6767 from BojanZelic/vpa-fix-checkpoint-gc
vpa - fix checkpoint gc of unknown recommenders
2025-01-20 08:38:36 -08:00
Omer Aplatony
041e9d4028 chore: replace deprecated NewIndexerInformer
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-01-20 17:34:33 +02:00