Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge https://github.com/kubernetes/autoscaler:master (29b611d) into master #320

Open
wants to merge 705 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
705 commits
Select commit Hold shift + click to select a range
5877f96
[CheckCapacity] Set Provisioned/Accepted in parallel
gabesaba Dec 5, 2024
52dd6d7
Merge pull request #7561 from gabesaba/check_capacity_parallel
k8s-ci-robot Dec 5, 2024
6abb31e
Merge pull request #7565 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Dec 6, 2024
fdd3452
Merge pull request #7566 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Dec 6, 2024
c2366d1
Merge pull request #7569 from omerap12/docs-humanization-value
k8s-ci-robot Dec 6, 2024
bed5185
Merge pull request #7568 from adrianmoisey/remove_stress_image
k8s-ci-robot Dec 6, 2024
4d092e5
Merge pull request #7563 from ialidzhikov/fix/vpa-updater-event-logs
k8s-ci-robot Dec 6, 2024
c88f72f
Merge pull request #7567 from towca/jtuznik/handle-fix
k8s-ci-robot Dec 6, 2024
4bb7fb0
fix: remove newlines from VPA recommendations
omerap12 Dec 6, 2024
55b2b1e
fmt
omerap12 Dec 6, 2024
8c7f3fa
CA: plumb the DRA flag guard to PredicateSnapshot
towca Nov 21, 2024
392e758
Taint nodes for deletion asynchronously
abdelrahman882 Dec 2, 2024
a994301
Merge pull request #7575 from omerap12/logging-patch
k8s-ci-robot Dec 6, 2024
5b57c9f
Merge pull request #7573 from davidspek/feat/vpa-e2e-remove-go-mod
k8s-ci-robot Dec 6, 2024
0b6e7be
cleanup(vpa): remove vendor directory
davidspek Dec 5, 2024
41c6eee
cleanup(vpa): add gitignore for vendor
davidspek Dec 5, 2024
f3a50a7
cleanup: tidy go mod
davidspek Dec 5, 2024
99e2f7f
fix(vpa): update dockerfiles to work without vendor
davidspek Dec 5, 2024
82908da
fix: undo change to nonroot distroless
davidspek Dec 6, 2024
f0af7c1
Configure e2e local scripts for the actuation suite
adrianmoisey Dec 6, 2024
d65ac64
document scale-down-gpu-utilization-threshold
grosser Dec 6, 2024
bd7156e
Merge pull request #7557 from gvnc/handle-ooh-capacity-nodes
k8s-ci-robot Dec 6, 2024
5e7ceee
fix: setting getVmssSizeRefreshPeriod
tallaxes Dec 8, 2024
61c8cde
fix: corresponding test
tallaxes Dec 8, 2024
ccbae98
Merge pull request #7579 from Azure/tallaxes/spot-refresh
k8s-ci-robot Dec 8, 2024
475db5b
Add adrianmoisey as VPA reviewer
adrianmoisey Dec 8, 2024
dda0dc8
Merge pull request #7572 from davidspek/feat/vpa-remove-go-mod
k8s-ci-robot Dec 9, 2024
6fd8188
Merge pull request #7576 from adrianmoisey/local-e2e-tests-actuation
k8s-ci-robot Dec 9, 2024
f6c990e
Merge pull request #7585 from adrianmoisey/add-adrianmoisey-as-reviewer
k8s-ci-robot Dec 9, 2024
d0338fa
CA: integrate simulator with schedulerframework.SharedDRAManager
towca Nov 20, 2024
1e56027
CA: extend WrapSchedulerNodeInfo to allow passing DRA objects
towca Nov 21, 2024
466f94b
CA: extend ClusterSnapshotStore to allow storing, retrieving and modi…
towca Nov 21, 2024
eba5e08
CA: integrate BasicSnapshotStore with drasnapshot.Snapshot
towca Nov 21, 2024
307002e
CA: move NodeInfo methods from ClusterSnapshotStore to ClusterSnapshot
towca Nov 21, 2024
0691512
CA: extend SchedulerPluginRunner with RunReserveOnNode
towca Nov 21, 2024
37b3da4
Merge pull request #7529 from towca/jtuznik/dra-prep
k8s-ci-robot Dec 9, 2024
444e329
Merge pull request #7507 from Shubham82/CA_Reviewer
k8s-ci-robot Dec 9, 2024
4310a16
added comment
omerap12 Dec 10, 2024
ef19cf8
Merge pull request #7546 from omerap12/issue-7528
k8s-ci-robot Dec 10, 2024
c44d4f0
Merge pull request #7577 from zendesk/grosser/docs3
k8s-ci-robot Dec 10, 2024
3e707e9
Clarify that the VPA can be run without Prometheus
adrianmoisey Dec 10, 2024
d3f0619
Fix typo in link
adrianmoisey Dec 10, 2024
1730af5
Fix typo in custom memory bump-up documentation
WalkerMills Dec 11, 2024
2f27a12
Merge pull request #7588 from WalkerMills/patch-1
k8s-ci-robot Dec 11, 2024
0b1cddd
Merge pull request #7586 from adrianmoisey/clarify_history
k8s-ci-robot Dec 11, 2024
59236c9
Ensure that recommendation is not nil
adrianmoisey Dec 10, 2024
562059b
Merge pull request #7527 from adrianmoisey/logging
k8s-ci-robot Dec 11, 2024
8dd3dcd
fix(vpa): run containers as nonroot user by default
davidspek Dec 11, 2024
723a3bb
Merge pull request #7587 from adrianmoisey/fix_link
k8s-ci-robot Dec 11, 2024
756db6a
Merge pull request #7591 from davidspek/fix/vpa-nonroot
k8s-ci-robot Dec 11, 2024
470ced9
fix typo for namespace condition in node group auto discovery helm de…
soer3n Dec 12, 2024
48d997e
feat: update k8s dependencies vpa
davidspek Dec 10, 2024
e760e60
chore: upgrade k8s.io/legacy-cloud-providers
davidspek Dec 10, 2024
16e0307
fix: update prometheus package and tests
davidspek Dec 10, 2024
30a762d
fix: correct update-codegen script and run it
davidspek Dec 10, 2024
6d2df0c
fix: upgrade e2e packages and tests
davidspek Dec 10, 2024
b4e18e1
chore: bump k8s to 1.32 + other deps
davidspek Dec 12, 2024
4e283e3
CA: don't error out in HintingSimulator if a hinted Node is gone
towca Dec 12, 2024
e45c1d1
Merge pull request #7552 from raywainman/as_owners
k8s-ci-robot Dec 12, 2024
01dce2e
Add note for --max-nodes-per-scaleup flag for best-effort-atomic prov…
yaroslava-serdiuk Dec 12, 2024
7b4069e
Merge pull request #7596 from towca/jtuznik/schedule-fix
k8s-ci-robot Dec 12, 2024
137c7d4
VPA: document controlledResources
omerap12 Dec 13, 2024
d68a1f2
refactor: moved error checking with exiting to callsite
lukasmetzner Dec 13, 2024
95ec5f3
Merge pull request #7598 from yaroslava-serdiuk/faq-update
k8s-ci-robot Dec 13, 2024
7abdbe3
Update sigs.k8s.io/controller-tools/cmd/controller-gen
ialidzhikov Dec 13, 2024
bc0570b
[generated] ./hack/generate-crd-yaml.sh
ialidzhikov Dec 13, 2024
4ee8f27
Add the `api-approved.kubernetes.io` annotation via kubebuilder tag
ialidzhikov Dec 13, 2024
410bd7c
CA: fix a nil map write in NodeInfo.AddPod()
towca Dec 13, 2024
68132b0
VPA: Add automated flag generator for all components
omerap12 Dec 12, 2024
db26edb
Merge pull request #7551 from davidspek/feat/update-vpa-k8s
k8s-ci-robot Dec 13, 2024
1ba6007
Merge pull request #7603 from omerap12/docs-controlledResources
k8s-ci-robot Dec 13, 2024
024b8d2
Generate API docs
adrianmoisey Dec 12, 2024
f544d94
Add generated API docs and link to them
adrianmoisey Dec 15, 2024
863d49f
Address issues and add merge script
omerap12 Dec 15, 2024
4743dfb
fix misspelling
omerap12 Dec 15, 2024
b7ac55b
Add BASH_SOURCE
omerap12 Dec 15, 2024
1611b35
sub shell to avoid cd -
omerap12 Dec 15, 2024
e227e20
Remove the temporary file after merging
omerap12 Dec 15, 2024
06558a4
sub shell
omerap12 Dec 16, 2024
ce75c91
Add final message
omerap12 Dec 16, 2024
93e5f87
chore: run codegen
davidspek Dec 16, 2024
9388ee3
Merge pull request #7549 from abdelrahman882/asynchronous_taint_nodes
k8s-ci-robot Dec 16, 2024
2426d7f
Don't accept ProvisioningRequest twice when checkCapacityBatchProcess…
macsko Dec 16, 2024
ae22146
Merge pull request #7449 from thiha-min-thant/failed-scale-ups-metrics
k8s-ci-robot Dec 16, 2024
c2972a8
Merge pull request #7606 from towca/jtuznik/node-info-fix
k8s-ci-robot Dec 16, 2024
148ffa3
Merge pull request #7520 from hetznercloud/refactor-placement-groups
k8s-ci-robot Dec 16, 2024
720f594
Refactor NewAutoscalerError function.
walidghallab Dec 16, 2024
fd14076
Merge pull request #7610 from davidspek/chore/code-crd-gen
k8s-ci-robot Dec 16, 2024
6bbc649
Merge pull request #7599 from omerap12/automated-flags
k8s-ci-robot Dec 16, 2024
de5d64f
Merge pull request #7605 from ialidzhikov/enh/kubebuilder-tag
k8s-ci-robot Dec 16, 2024
6ab0eb9
update azure static sku list
rrangith Dec 16, 2024
9d44562
Add test for recomputing similar nodegroups
rrangith Dec 16, 2024
9b7d949
VPA: Clean up unused `cd` invocation in the `generate-crd-yaml.sh` sc…
ialidzhikov Dec 17, 2024
e4898a9
Merge pull request #7611 from macsko/dont_accept_pr_twice_when_check_…
k8s-ci-robot Dec 17, 2024
7b64836
Merge pull request #7613 from walidghallab/err
k8s-ci-robot Dec 17, 2024
d6fcca2
VPA: add flags to docs
omerap12 Dec 17, 2024
037b377
Moved flags to introduction section
omerap12 Dec 17, 2024
da31dff
Merge pull request #7614 from DataDog/update-azure-instance-types
k8s-ci-robot Dec 17, 2024
b8664f8
Merge pull request #7618 from omerap12/flags-docs
k8s-ci-robot Dec 19, 2024
7df4f84
Merge pull request #7617 from ialidzhikov/nit/vpa-generate-crd-script
k8s-ci-robot Dec 19, 2024
bd74115
Move NilControllerFetcher
voelzmo Dec 19, 2024
d919930
Make FakeControllerFetcher also return error for Node kind
voelzmo Dec 19, 2024
c191b6d
Cleanup: use ptr.To for reference
voelzmo Dec 19, 2024
f335e9d
Handle NodeInvalidOwnerError instead of returning it
voelzmo Dec 19, 2024
11740d1
remove contact information
PerforMance308 Dec 19, 2024
66d0aeb
CA: implement utils for interacting with ResourceClaims
towca Dec 9, 2024
4c98e45
Rename Error to fit linting rules
voelzmo Dec 19, 2024
2edd026
Add comment to ErrNodeInvalidOwner
voelzmo Dec 19, 2024
7943e68
Bump golang.org/x/net to v0.33.0
adrianmoisey Dec 19, 2024
b4d8de0
Fix a few CVEs in the e2e tests
adrianmoisey Dec 19, 2024
833af67
bump chart version
soer3n Dec 20, 2024
377639a
CA: implement dynamicresources.Snapshot for storing and modifying the…
towca Dec 9, 2024
479d7ce
CA: implement a Provider for dynamicresources.Snapshot
towca Dec 9, 2024
4e68a0c
CA: sanitize and propagate DRA objects through NodeInfos in node_info…
towca Sep 30, 2024
714ab66
CA: implement calculating utilization for DRA resources
towca Oct 1, 2024
c5cb8a0
CA: add DRA object handling logic to PredicateSnapshot
towca Nov 21, 2024
55388f1
CA: plumb the DRA provider to SetClusterState callsites, grab and pas…
towca Nov 21, 2024
a45e6b7
CA: implement DRA integration tests for StaticAutoscaler
towca Nov 21, 2024
99282c0
CA: automatically use BasicSnapshotStore when DRA is enabled
towca Dec 10, 2024
4a89524
CA: enable the DRA feature gate whenever the DRA flag is passed
towca Dec 11, 2024
8ef0209
Improve "Max total nodes in cluster reached" log.
walidghallab Dec 20, 2024
10df587
Merge pull request #7637 from walidghallab/tiny-change
k8s-ci-robot Dec 20, 2024
50c6590
Merge pull request #7530 from towca/jtuznik/dra-actual
k8s-ci-robot Dec 20, 2024
68f75a7
Refactor & improve logging for pod listing
x13n Dec 20, 2024
fd02293
Ignore Containers without recommendations for EvictionRequirements
voelzmo Dec 20, 2024
883fa4f
Merge pull request #7636 from adrianmoisey/cves
k8s-ci-robot Dec 20, 2024
b7be1dd
Merge branch 'master' of github.com:kubernetes/autoscaler into vpa-fi…
BojanZelic Dec 20, 2024
2db8e36
change error log to structured logging
BojanZelic Dec 20, 2024
2e770b4
Merge pull request #7640 from voelzmo/fix/containers-without-recommen…
k8s-ci-robot Dec 21, 2024
eeb2ccb
Merge pull request #7632 from voelzmo/enh/node-owner-ref-error-handling
k8s-ci-robot Dec 21, 2024
451df43
Merge pull request #7506 from omerap12/actions
k8s-ci-robot Dec 27, 2024
697254c
Merge pull request #7166 from nojnhuh/add-log
k8s-ci-robot Dec 27, 2024
38facfc
Merge pull request #7633 from PerforMance308/master
k8s-ci-robot Dec 27, 2024
ce01f02
Merge pull request #7595 from soer3n/fix-typo-in-node-group-auto-disc…
k8s-ci-robot Dec 27, 2024
b45735d
Add script to update cluster-autoscaler flags doc
rainfd Dec 27, 2024
47fad26
feat(helm): custom arguments
nicolas-laduguie Oct 22, 2024
39890d7
Docs
nicolas-laduguie Oct 23, 2024
dc3491b
Docs
nicolas-laduguie Nov 1, 2024
6e8a548
Bump minor version
nicolas-laduguie Dec 28, 2024
b48163a
Add omerap12 as VPA reviewer
omerap12 Dec 28, 2024
3911746
Remove unnessesary comment to make generated docs look better
adrianmoisey Dec 28, 2024
9ba9113
Ensure that script can be called from anywhere
adrianmoisey Dec 28, 2024
3fc72cf
Merge pull request #7423 from nicolas-laduguie/issue-7422
k8s-ci-robot Dec 29, 2024
e097cb4
Use os.Exit after error
omerap12 Dec 29, 2024
db889a1
Document VPA behavior for sidecar containers and how to change it
omerap12 Dec 29, 2024
da7f581
Converting klog.Fatalf to structured logging equivalent
omerap12 Dec 29, 2024
b601519
fixed log msg
omerap12 Dec 29, 2024
03e2795
Merge pull request #7405 from ctrox/rancher-clarify-docs
k8s-ci-robot Dec 30, 2024
9890670
specify pod kind
omerap12 Dec 30, 2024
3e4addd
docs: clarify sidecar container definition and link to k8s pattern
omerap12 Dec 30, 2024
dfb13fb
Merge pull request #7639 from x13n/master
k8s-ci-robot Jan 2, 2025
3988255
Parallelize cluster snapshot creation
macsko Dec 19, 2024
e8a3df6
Merge pull request #7630 from macsko/parallelize_cluster_snapshot_cre…
k8s-ci-robot Jan 3, 2025
b9bd71c
Merge pull request #7643 from omerap12/add-omerap12-as-reviewer
k8s-ci-robot Jan 3, 2025
0d46bfa
VPA: Create a build and deploy locally script
adrianmoisey Jan 4, 2025
b8851df
Linting
adrianmoisey Jan 4, 2025
40f0c9b
Update copyright date
adrianmoisey Jan 4, 2025
cd48b2f
VPA: Add docs about AKS and EKS with Cilium
adrianmoisey Jan 5, 2025
5651d9d
Bump CA Chart image to v1.32
Shubham82 Jan 6, 2025
100be41
Merge pull request #7659 from Shubham82/bump_CA_Chart_for_1.32
k8s-ci-robot Jan 6, 2025
57312af
Merge pull request #7014 from rainfd/feature/auto-generate-flag-table
k8s-ci-robot Jan 6, 2025
93d1e33
fix: Propagate stop channel to prevent resource leaks in VPA components
omerap12 Jan 6, 2025
c5de5c9
Merge pull request #7644 from omerap12/errors-os
k8s-ci-robot Jan 7, 2025
998e45a
Merge pull request #7646 from omerap12/fatalf-structural
k8s-ci-robot Jan 7, 2025
8530d99
improve kind cluster creation with proper error handling and version …
omerap12 Jan 7, 2025
823bc9d
Fix typos and improve wording
adrianmoisey Jan 7, 2025
87b234f
Remove an unused function and fix a comment
jbartosik Jan 7, 2025
a587c55
Merge pull request #7669 from jbartosik/rm-dead-code
k8s-ci-robot Jan 7, 2025
b676bb9
logging: Start from a capital letter
ialidzhikov Jan 7, 2025
8c1671f
Fix typo
adrianmoisey Jan 7, 2025
65177a2
Update ubuntu-slim with Docker Schema 2 image
chrishenzie Jan 7, 2025
66d5e4a
Merge pull request #7654 from adrianmoisey/add-local-build-script
k8s-ci-robot Jan 8, 2025
3d9f1df
Merge pull request #7675 from chrishenzie/docker-schema-1-images
k8s-ci-robot Jan 8, 2025
415a60f
Merge pull request #7666 from omerap12/patch-e2e-locally
k8s-ci-robot Jan 8, 2025
72206c1
Merge pull request #7661 from omerap12/fix-vpa-stopchannel-propagation
k8s-ci-robot Jan 8, 2025
83b693c
Merge pull request #7655 from adrianmoisey/eks-cilium-docs
k8s-ci-robot Jan 8, 2025
221148d
Merge pull request #7612 from DataDog/test-recompute-similar-ngs
k8s-ci-robot Jan 9, 2025
5cd491a
Merge pull request #7670 from ialidzhikov/nit/logging
k8s-ci-robot Jan 9, 2025
e7811b8
Improve frequent loops when only one of activities is productive
macsko Jan 9, 2025
a643795
Update vertical-pod-autoscaler/docs/sidecar-containers.md
omerap12 Jan 10, 2025
5504fc5
Update vertical-pod-autoscaler/docs/sidecar-containers.md
omerap12 Jan 10, 2025
e04536d
Update vertical-pod-autoscaler/docs/sidecar-containers.md
omerap12 Jan 10, 2025
3156829
Update vertical-pod-autoscaler/docs/sidecar-containers.md
omerap12 Jan 10, 2025
d7c325a
Enforce provisioning requests processing even if all pods are new
macsko Jan 9, 2025
4b23649
Merge branch 'master' into nodeDeletionDelayTimeout
pierluigilenoci Jan 10, 2025
825f356
VPA Disable v1beta2 API
adrianmoisey Dec 16, 2024
0fc79f7
Remove v1beta2 from e2e tests
adrianmoisey Dec 16, 2024
668ef5a
Regenerate CRDs
adrianmoisey Dec 19, 2024
b36e387
Fix data race while setting delta cluster state in parallel
macsko Jan 15, 2025
adda3d4
Merge pull request #7696 from macsko/fix_data_race_while_setting_delt…
k8s-ci-robot Jan 15, 2025
391de4f
Make informer use correct namespace flag
voelzmo Jan 15, 2025
0ddb3d3
Merge pull request #7698 from voelzmo/fix/recommender-namespace-flags…
k8s-ci-robot Jan 15, 2025
37de8ca
Update default VPA version to 1.2.2 in main branch
raywainman Jan 16, 2025
ea52310
Merge pull request #6890 from b0e/implement-templateNodeInfo-for-clou…
k8s-ci-robot Jan 16, 2025
44711f6
Small cleanup of version compatability table
raywainman Jan 16, 2025
97dd5fe
fix: don't crash when vmss not present or has no nodes
comtalyst Jan 16, 2025
31f5616
Merge pull request #7708 from comtalyst/comtalyst/dont-crash-no-vmss
k8s-ci-robot Jan 17, 2025
9f296c0
VPA: Bump go to 1.23.5
adrianmoisey Jan 17, 2025
027795a
Merge pull request #7339 from justinmir/kwok-provider-metrics-annotation
k8s-ci-robot Jan 17, 2025
082e230
Merge pull request #7391 from jackfrancis/ca-cloudprovider-build-tags…
k8s-ci-robot Jan 17, 2025
b8719d3
Merge pull request #7645 from omerap12/doc-vpa-sidecar
k8s-ci-robot Jan 17, 2025
9cb48ea
clean up cluster_feeder tests
BojanZelic Jan 17, 2025
5fb97bf
Merge branch 'master' of github.com:kubernetes/autoscaler into vpa-fi…
BojanZelic Jan 17, 2025
8ebead1
Bump golang in /vertical-pod-autoscaler/pkg/updater
dependabot[bot] Jan 17, 2025
ca86036
Merge pull request #7717 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Jan 17, 2025
c5706a6
Merge pull request #7714 from adrianmoisey/bump_go_vpa
k8s-ci-robot Jan 17, 2025
e179f01
Merge pull request #7701 from raywainman/vpa-release-1.2.2-master
k8s-ci-robot Jan 17, 2025
c8e8776
gofmt
BojanZelic Jan 18, 2025
793bf44
Merge pull request #7467 from pierluigilenoci/nodeDeletionDelayTimeout
k8s-ci-robot Jan 20, 2025
955d0ca
Merge pull request #7629 from adrianmoisey/remove_v1beta2
k8s-ci-robot Jan 20, 2025
eb7a849
Merge pull request #6767 from BojanZelic/vpa-fix-checkpoint-gc
k8s-ci-robot Jan 20, 2025
5245a5b
Minor refactor to scale-up orchestrator for more re-usability
kawych Dec 30, 2024
abf3e44
Merge pull request #7649 from kawych/dws-htn
k8s-ci-robot Jan 21, 2025
a3bcef8
Update version.go for VPA 1.3.0 release
jm-franc Jan 21, 2025
5b08a02
Merge pull request #7732 from jm-franc/master
k8s-ci-robot Jan 21, 2025
1acafd8
Tweaks to release instructions.
raywainman Jan 21, 2025
1c26181
Merge pull request #7734 from raywainman/release-instructions-fixes
k8s-ci-robot Jan 22, 2025
c246345
feat(chart): Add support for civo provider
rbnis Mar 25, 2024
7e8c41d
test: clean up environments properly before/after each unit test in a…
comtalyst Jan 22, 2025
03e6b27
chore: remove unnecessary logs on fast delete and add a relevant note…
comtalyst Jan 22, 2025
9559204
test: add additional assertion for dynamic SKU list test (#7737)
comtalyst Jan 22, 2025
03b8aeb
Merge pull request #6656 from rbnis/feature/chart-add-civo-provider
k8s-ci-robot Jan 23, 2025
64ca097
fix: undefined instance state on provisioning state failed (#7750)
comtalyst Jan 23, 2025
0b3c289
Merge pull request #7679 from macsko/improve_frequentloops_when_only_…
k8s-ci-robot Jan 23, 2025
f6064ee
Merge pull request #7688 from macsko/enforce_provisioning_request_pro…
k8s-ci-robot Jan 23, 2025
bbcb221
Merge pull request #7608 from adrianmoisey/generate-api-docs
k8s-ci-robot Jan 23, 2025
7851e31
Fix RELEASE.md command line.
jm-franc Jan 23, 2025
49a0c57
fix: add `--leader-elect` flags back by reverting https://github.com/…
idebeijer Jan 24, 2025
131e954
docs: add comment to prevent leader-election flag binding to moved
idebeijer Jan 24, 2025
26c8bbd
Merge pull request #7763 from idebeijer/docs/add-comment-leader-elect…
k8s-ci-robot Jan 24, 2025
3291bae
Merge pull request #7762 from jm-franc/patch-1
k8s-ci-robot Jan 24, 2025
2d5481d
Finalize VPA release 1.3.0.
jm-franc Jan 25, 2025
108abb0
Bump latest VPA version to 1.3.0.
jm-franc Jan 27, 2025
ec8b0da
Fixed verbiage of the method calculateCoresMemoryTotal (#7129)
ehvs Jan 27, 2025
d676e07
Merge pull request #7768 from jm-franc/vpa-1.3.0-updates
k8s-ci-robot Jan 27, 2025
e27059e
Small documentation changes to supplement removal of v1beta2
raywainman Jan 28, 2025
29b611d
Merge pull request #7775 from raywainman/master
k8s-ci-robot Jan 28, 2025
41ab5ba
merge upstream/master into master
Jan 30, 2025
a6fc234
UPSTREAM: <carry>: configure repository for OpenShift releases
elmiko Jul 13, 2021
78b9dc9
UPSTREAM: <carry>: Rename FailureMessage to ErrorMessage
JoelSpeed Mar 27, 2020
7f295e4
UPSTREAM: <carry>: Handle old Machine API specific machine delete ann…
JoelSpeed May 31, 2022
6cfb9cd
UPSTREAM: <carry>: Have VPA ignore phantom containers named "POD"
joelsmith Feb 13, 2023
65dd0a3
UPSTREAM: <carry>: add machine api label and taint functionality
elmiko Feb 16, 2023
028e1eb
UPSTREAM: <carry>: revert capacity annotations
elmiko Sep 15, 2022
1232e09
UPSTREAM: <carry>: Fix unstructured taint parsing in Cluster API prov…
JoelSpeed Jan 22, 2024
53b8fc8
UPSTREAM: <carry>: Update VPA dockerfiles
joelsmith Oct 30, 2024
c23485e
UPSTREAM: <carry>: VPA OWNERS: Remove John Kyros, et al., add Max Cao
joelsmith Nov 26, 2024
c7ad99a
UPSTREAM: <carry>: Updating ose-vertical-pod-autoscaler-container ima…
Dec 5, 2024
bf2bafa
UPSTREAM: <carry>: Updating atomic-openshift-cluster-autoscaler-conta…
Dec 5, 2024
080e35d
UPSTREAM: <carry>: Update VPA dockerfile to 4.19
maxcao13 Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ Please answer these questions before submitting your bug report. Thanks!

<!--
Which autoscaling component hosted in this repository (cluster-autoscaler, vertical-pod-autoscaler, addon-resizer, helm charts) is the bug in?

Add one of the following areas:
/area addon-resizer
/area balancer
/area cluster-autoscaler
/area helm-charts
/area vertical-pod-autoscaler
-->

**What version of the component are you using?**:
Expand Down
9 changes: 8 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ Thanks for taking the time to raise a feature request! Please answer these quest
**Which component are you using?**:

<!--
Which component hosted in this repository is this a feature for?
Which autoscaling component hosted in this repository (cluster-autoscaler, vertical-pod-autoscaler, addon-resizer, helm charts) is the bug in?

Add one of the following areas:
/area addon-resizer
/area balancer
/area cluster-autoscaler
/area helm-charts
/area vertical-pod-autoscaler
-->

**Is your feature request designed to solve a problem? If so describe the problem this feature should solve.**:
Expand Down
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,29 @@ updates:
directory: "/vertical-pod-autoscaler/pkg/recommender"
schedule:
interval: daily
ignore:
- dependency-name: "golang"
versions: ["*.*rc*"]
open-pull-requests-limit: 3
labels:
- "area/vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/pkg/updater"
schedule:
interval: daily
ignore:
- dependency-name: "golang"
versions: ["*.*rc*"]
open-pull-requests-limit: 3
labels:
- "area/vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/pkg/admission-controller"
schedule:
interval: daily
ignore:
- dependency-name: "golang"
versions: ["*.*rc*"]
open-pull-requests-limit: 3
labels:
- "area/vertical-pod-autoscaler"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5.1.0
with:
go-version: '1.22.2'

- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.2
with:
path: ${{ env.GOPATH }}/src/k8s.io/autoscaler

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
- id: filter
uses: dorny/[email protected]
with:
Expand All @@ -28,11 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
- name: Fetch history
run: git fetch --prune --unshallow
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (lint)
run: ct lint
# Only build a kind cluster if there are chart changes to test.
Expand All @@ -45,7 +45,7 @@ jobs:
fi
- if: steps.list-changed.outputs.changed == 'true'
name: Create kind cluster
uses: helm/kind-action@v1.1.0
uses: helm/kind-action@v1.10.0
- if: steps.list-changed.outputs.changed == 'true'
name: Run chart-testing (install)
run: ct install
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
- name: Run helm-docs
uses: docker://jnorwood/helm-docs:v1.3.0
- name: Check for changes
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0

Expand All @@ -18,15 +18,15 @@ jobs:
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"

- name: Install Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4.2.0
with:
version: v3.4.0

- env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CR_RELEASE_NAME_TEMPLATE: "cluster-autoscaler-chart-{{ .Version }}"
name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
uses: helm/chart-releaser-action@v1.6.0
name: Release Charts
on:
push:
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ repos:
files: (README\.md\.gotmpl|(Chart|requirements|values)\.yaml)$
repo: https://github.com/norwoodj/helm-docs
rev: v1.3.0
- hooks:
- id : update-flags
name: Update Cluster-Autoscaler Flags Table
entry: bash cluster-autoscaler/hack/update-faq-flags.sh
language: system
files: cluster-autoscaler/main\.go
repo: local
1 change: 0 additions & 1 deletion balancer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM gcr.io/distroless/static:latest
MAINTAINER Marcin Wielgus "[email protected]"

COPY balancer /

Expand Down
3 changes: 1 addition & 2 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.22.2
LABEL maintainer="Marcin Wielgus <[email protected]>"
FROM golang:1.23.2

ENV GOPATH /gopath/
ENV PATH $GOPATH/bin:$PATH
Expand Down
4 changes: 2 additions & 2 deletions charts/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.30.0
appVersion: 1.32.0
description: Scales Kubernetes worker nodes within autoscaling groups.
engine: gotpl
home: https://github.com/kubernetes/autoscaler
Expand All @@ -11,4 +11,4 @@ name: cluster-autoscaler
sources:
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
type: application
version: 9.37.0
version: 9.46.0
65 changes: 54 additions & 11 deletions charts/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ To create a valid configuration, follow instructions for your cloud provider:
- [Cluster API](#cluster-api)
- [Exoscale](#exoscale)
- [Hetzner Cloud](#hetzner-cloud)
- [Civo](#civo)

### Templating the autoDiscovery.clusterName

Expand Down Expand Up @@ -238,10 +239,20 @@ Additional config parameters available, see the `values.yaml` for more details

### Exoscale

The following parameters are required:
Create a `values.yaml` file with the following content:
```yaml
cloudProvider: exoscale
autoDiscovery:
clusterName: cluster.local # this value is not used, but must be set
```

- `cloudProvider=exoscale`
- `autoDiscovery.clusterName=<CLUSTER NAME>`
Optionally, you may specify the minimum and maximum size of a particular nodepool by adding the following to the `values.yaml` file:
```yaml
autoscalingGroups:
- name: your-nodepool-name
maxSize: 10
minSize: 1
```

Create an Exoscale API key with appropriate permissions as described in [cluster-autoscaler/cloudprovider/exoscale/README.md](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/exoscale/README.md).
A secret of name `<release-name>-exoscale-cluster-autoscaler` needs to be created, containing the api key and secret, as well as the zone.
Expand All @@ -255,9 +266,7 @@ $ kubectl create secret generic my-release-exoscale-cluster-autoscaler \
After creating the secret, the chart may be installed:

```console
$ helm install my-release autoscaler/cluster-autoscaler \
--set cloudProvider=exoscale \
--set autoDiscovery.clusterName=<CLUSTER NAME>
$ helm install my-release autoscaler/cluster-autoscaler -f values.yaml
```

Read [cluster-autoscaler/cloudprovider/exoscale/README.md](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/exoscale/README.md) for further information on the setup without helm.
Expand All @@ -274,6 +283,23 @@ Each autoscaling group requires an additional `instanceType` and `region` key to

Read [cluster-autoscaler/cloudprovider/hetzner/README.md](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/hetzner/README.md) for further information on the setup without helm.

### Civo

The following parameters are required:

- `cloudProvider=civo`
- `autoscalingGroups=...`

When installing the helm chart to the namespace `kube-system`, you can set `secretKeyRefNameOverride` to `civo-api-access`.
Otherwise specify the following parameters:

- `civoApiUrl=https://api.civo.com`
- `civoApiKey=...`
- `civoClusterID=...`
- `civoRegion=...`

Read [cluster-autoscaler/cloudprovider/civo/README.md](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/civo/README.md) for further information on the setup without helm.

## Uninstalling the Chart

To uninstall `my-release`:
Expand Down Expand Up @@ -332,6 +358,14 @@ extraVolumeMounts:
readOnly: true
```

### Custom arguments

You can use the `customArgs` value to give any argument to cluster autoscaler command.

Typical use case is to give an environment variable as an argument which will be interpolated at execution time.

This is helpful when you need to inject values from configmap or secret.

## Troubleshooting

The chart will succeed even if the container arguments are incorrect. A few minutes after starting `kubectl logs -l "app=aws-cluster-autoscaler" --tail=50` should loop through something like
Expand Down Expand Up @@ -391,7 +425,7 @@ vpa:
| autoDiscovery.namespace | string | `nil` | Enable autodiscovery via cluster namespace for for `cloudProvider=clusterapi` |
| autoDiscovery.roles | list | `["worker"]` | Magnum node group roles to match. |
| autoDiscovery.tags | list | `["k8s.io/cluster-autoscaler/enabled","k8s.io/cluster-autoscaler/{{ .Values.autoDiscovery.clusterName }}"]` | ASG tags to match, run through `tpl`. |
| autoscalingGroups | list | `[]` | For AWS, Azure AKS or Magnum. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: asg1<br /> maxSize: 2<br /> minSize: 1 </pre> For Hetzner Cloud, the `instanceType` and `region` keys are also required. <pre> - name: mypool<br /> maxSize: 2<br /> minSize: 1<br /> instanceType: CPX21<br /> region: FSN1 </pre> |
| autoscalingGroups | list | `[]` | For AWS, Azure AKS, Exoscale or Magnum. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: asg1<br /> maxSize: 2<br /> minSize: 1 </pre> For Hetzner Cloud, the `instanceType` and `region` keys are also required. <pre> - name: mypool<br /> maxSize: 2<br /> minSize: 1<br /> instanceType: CPX21<br /> region: FSN1 </pre> |
| autoscalingGroupsnamePrefix | list | `[]` | For GCE. At least one element is required if not using `autoDiscovery`. For example: <pre> - name: ig01<br /> maxSize: 10<br /> minSize: 0 </pre> |
| awsAccessKeyID | string | `""` | AWS access key ID ([if AWS user keys used](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#using-aws-credentials)) |
| awsRegion | string | `"us-east-1"` | AWS region (required if `cloudProvider=aws`) |
Expand All @@ -405,14 +439,19 @@ vpa:
| azureUseManagedIdentityExtension | bool | `false` | Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID, resource group, and azure AKS cluster name are set. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. |
| azureUseWorkloadIdentityExtension | bool | `false` | Whether to use Azure's workload identity extension for credentials. See the project here: https://github.com/Azure/azure-workload-identity for more details. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. |
| azureVMType | string | `"vmss"` | Azure VM type. |
| civoApiKey | string | `""` | API key for the Civo API. Required if `cloudProvider=civo` |
| civoApiUrl | string | `"https://api.civo.com"` | URL for the Civo API. Required if `cloudProvider=civo` |
| civoClusterID | string | `""` | Cluster ID for the Civo cluster. Required if `cloudProvider=civo` |
| civoRegion | string | `""` | Region for the Civo cluster. Required if `cloudProvider=civo` |
| cloudConfigPath | string | `""` | Configuration file for cloud provider. |
| cloudProvider | string | `"aws"` | The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`, `magnum` and `clusterapi` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum, `clusterapi` for Cluster API. |
| cloudProvider | string | `"aws"` | The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`, `magnum`, `clusterapi` and `civo` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum, `clusterapi` for Cluster API. `civo` for Civo Cloud. |
| clusterAPICloudConfigPath | string | `"/etc/kubernetes/mgmt-kubeconfig"` | Path to kubeconfig for connecting to Cluster API Management Cluster, only used if `clusterAPIMode=kubeconfig-kubeconfig or incluster-kubeconfig` |
| clusterAPIConfigMapsNamespace | string | `""` | Namespace on the workload cluster to store Leader election and status configmaps |
| clusterAPIKubeconfigSecret | string | `""` | Secret containing kubeconfig for connecting to Cluster API managed workloadcluster Required if `cloudProvider=clusterapi` and `clusterAPIMode=kubeconfig-kubeconfig,kubeconfig-incluster or incluster-kubeconfig` |
| clusterAPIMode | string | `"incluster-incluster"` | Cluster API mode, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md#connecting-cluster-autoscaler-to-cluster-api-management-and-workload-clusters Syntax: workloadClusterMode-ManagementClusterMode for `kubeconfig-kubeconfig`, `incluster-kubeconfig` and `single-kubeconfig` you always must mount the external kubeconfig using either `extraVolumeSecrets` or `extraMounts` and `extraVolumes` if you dont set `clusterAPIKubeconfigSecret`and thus use an in-cluster config or want to use a non capi generated kubeconfig you must do so for the workload kubeconfig as well |
| clusterAPIWorkloadKubeconfigPath | string | `"/etc/kubernetes/value"` | Path to kubeconfig for connecting to Cluster API managed workloadcluster, only used if `clusterAPIMode=kubeconfig-kubeconfig or kubeconfig-incluster` |
| containerSecurityContext | object | `{}` | [Security context for container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| customArgs | list | `[]` | Additional custom container arguments. Refer to https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca for the full list of cluster autoscaler parameters and their default values. List of arguments as strings. |
| deployment.annotations | object | `{}` | Annotations to add to the Deployment object. |
| dnsPolicy | string | `"ClusterFirst"` | Defaults to `ClusterFirst`. Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`. If autoscaler does not depend on cluster DNS, recommended to set this to `Default`. |
| envFromConfigMap | string | `""` | ConfigMap name to use as envFrom. |
Expand All @@ -422,6 +461,7 @@ vpa:
| extraEnv | object | `{}` | Additional container environment variables. |
| extraEnvConfigMaps | object | `{}` | Additional container environment variables from ConfigMaps. |
| extraEnvSecrets | object | `{}` | Additional container environment variables from Secrets. |
| extraObjects | list | `[]` | Extra K8s manifests to deploy |
| extraVolumeMounts | list | `[]` | Additional volumes to mount. |
| extraVolumeSecrets | object | `{}` | Additional volumes to mount from Secrets. |
| extraVolumes | list | `[]` | Additional volumes. |
Expand All @@ -430,7 +470,8 @@ vpa:
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.pullSecrets | list | `[]` | Image pull secrets |
| image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository |
| image.tag | string | `"v1.30.0"` | Image tag |
| image.tag | string | `"v1.32.0"` | Image tag |
| initContainers | list | `[]` | Any additional init containers. |
| kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. |
| kwokConfigMapName | string | `"kwok-provider-config"` | configmap for configuring kwok provider |
| magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. |
Expand All @@ -457,11 +498,12 @@ vpa:
| replicaCount | int | `1` | Desired number of pods |
| resources | object | `{}` | Pod resource requests and limits. |
| revisionHistoryLimit | int | `10` | The number of revisions to keep. |
| secretKeyRefNameOverride | string | `""` | Overrides the name of the Secret to use when loading the secretKeyRef for AWS and Azure env variables |
| secretKeyRefNameOverride | string | `""` | Overrides the name of the Secret to use when loading the secretKeyRef for AWS, Azure and Civo env variables |
| securityContext | object | `{}` | [Security context for pod](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| service.annotations | object | `{}` | Annotations to add to service |
| service.clusterIP | string | `""` | IP address to assign to service |
| service.create | bool | `true` | If `true`, a Service will be created. |
| service.externalIPs | list | `[]` | List of IP addresses at which the service is available. Ref: https://kubernetes.io/docs/user-guide/services/#external-ips. |
| service.externalIPs | list | `[]` | List of IP addresses at which the service is available. Ref: https://kubernetes.io/docs/concepts/services-networking/service/#external-ips. |
| service.labels | object | `{}` | Labels to add to service |
| service.loadBalancerIP | string | `""` | IP address to assign to load balancer (if supported). |
| service.loadBalancerSourceRanges | list | `[]` | List of IP CIDRs allowed access to load balancer (if supported). |
Expand All @@ -474,6 +516,7 @@ vpa:
| serviceMonitor.metricRelabelings | object | `{}` | MetricRelabelConfigs to apply to samples before ingestion. |
| serviceMonitor.namespace | string | `"monitoring"` | Namespace which Prometheus is running in. |
| serviceMonitor.path | string | `"/metrics"` | The path to scrape for metrics; autoscaler exposes `/metrics` (this is standard) |
| serviceMonitor.relabelings | object | `{}` | RelabelConfigs to apply to metrics before scraping. |
| serviceMonitor.selector | object | `{"release":"prometheus-operator"}` | Default to kube-prometheus install (CoreOS recommended), but should be set according to Prometheus install. |
| tolerations | list | `[]` | List of node taints to tolerate (requires Kubernetes >= 1.6). |
| topologySpreadConstraints | list | `[]` | You can use topology spread constraints to control how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. (requires Kubernetes >= 1.19). |
Expand Down
Loading