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

Sync upstream v1.30.1 #317

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1363 commits
Select commit Hold shift + click to select a range
7e95c7e
Merge pull request #6477 from kushagra98/atomic-nodes
k8s-ci-robot Jan 31, 2024
4f9f840
Comment to explain why test is done on STS ownerRef
dbenque Jan 31, 2024
130d3bf
add informer argument to clusterapi provider builder
elmiko Jan 31, 2024
bbda0ba
Add informer argument to the CloudProviders builder.
Shubham82 Feb 1, 2024
a2f4cac
Merge pull request #6460 from DataDog/david.benque/validate-owner-ref
k8s-ci-robot Feb 1, 2024
3d94e73
clusterapi: add missing error check
marquiz Feb 2, 2024
6f5810e
Add instanceType/region support in Helm chart for Hetzner cloud provider
NiklasRosenstein Feb 3, 2024
e5bd9db
doc: cluster-autoscaler: Oracle provider: Add small security note
icy Feb 4, 2024
dee81b8
doc: cluster-autoscaler: Oracle provider: Add small security note
icy Feb 4, 2024
3c43d2f
doc: cluster-autoscaler: Oracle provider: Add small security note
icy Feb 4, 2024
2b94ff6
Merge pull request #6469 from icy/cluster-autoscaler-oci-doc-improvement
k8s-ci-robot Feb 4, 2024
1410185
Update charts/cluster-autoscaler/README.md
NiklasRosenstein Feb 5, 2024
902bc22
Merge pull request #6480 from Shubham82/VPA_Version_Update
k8s-ci-robot Feb 5, 2024
e5625a4
Merge pull request #6475 from Shubham82/bump_CA_Chart
k8s-ci-robot Feb 5, 2024
85ef468
Merge pull request #6483 from vadasambar/chore/add-vadasambar-to-revi…
k8s-ci-robot Feb 5, 2024
26e918c
Update Auto Labels of Subprojects
gjtempleton Feb 5, 2024
131d385
Merge pull request #6437 from Shubham82/add_RBAC_permissions_equinixm…
k8s-ci-robot Feb 5, 2024
bb8d2fe
Merge branch 'kubernetes:master' into fix-deleteNodesFromCloudProvide…
daimaxiaxie Feb 6, 2024
7ae002d
check empty ProviderID in ali NodeGroupForNode
daimaxiaxie Feb 6, 2024
8b74a50
Merge pull request #6506 from gjtempleton/5872-Auto-Label-Renaming
k8s-ci-robot Feb 6, 2024
506c221
Merge pull request #6499 from marquiz/devel/fixes-core
k8s-ci-robot Feb 6, 2024
00fbbe1
Merge pull request #6485 from ctripcloud/fix-deleteNodesFromCloudProv…
k8s-ci-robot Feb 6, 2024
3802594
Merge pull request #6273 from fische/fix-taint-unselected-node
k8s-ci-robot Feb 6, 2024
1b745eb
add gce constructor with custom timeout
MichalPitr Feb 6, 2024
7ec2259
Merge remote-tracking branch 'upstream/master'
NiklasRosenstein Feb 6, 2024
6b78974
update README.md.gotmpl and added Helm docs for Hetzner Cloud
NiklasRosenstein Feb 6, 2024
a8e00f4
bump chart version
NiklasRosenstein Feb 6, 2024
14f4c27
use older helm-docs version and remove empty line in values comment
NiklasRosenstein Feb 6, 2024
9d73b59
add missing line breaks
NiklasRosenstein Feb 6, 2024
b2e3b7a
Update charts/cluster-autoscaler/Chart.yaml
NiklasRosenstein Feb 7, 2024
a842d4f
Reduce log spam in AtomicResizeFilteringProcessor
x13n Feb 7, 2024
5e9330c
Merge pull request #6508 from MichalPitr/timeout
k8s-ci-robot Feb 7, 2024
2504e1a
Bump golang in /vertical-pod-autoscaler/pkg/updater
dependabot[bot] Feb 7, 2024
f8be5c8
Bump golang in /vertical-pod-autoscaler/pkg/recommender
dependabot[bot] Feb 7, 2024
f1db815
Bump golang in /vertical-pod-autoscaler/pkg/admission-controller
dependabot[bot] Feb 7, 2024
c49eefe
Update Chart.yaml
NiklasRosenstein Feb 8, 2024
399b16e
Move estimatorBuilder from AutoscalingContext to Orchestrator Init
azylinski Feb 8, 2024
3a18f04
VPA: bump golang.org/x/net to fix CVE-2023-39325
alvaroaleman Feb 8, 2024
6cb5b5a
Merge pull request #6518 from azylinski/oss-mv-estimatorBuilder-from-…
k8s-ci-robot Feb 9, 2024
9e0e6c1
Bump go version.
Shubham82 Feb 9, 2024
55386dc
Merge pull request #6522 from Shubham82/bump_golang_version
k8s-ci-robot Feb 9, 2024
b24b200
Merge pull request #6513 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Feb 9, 2024
0f372c8
Merge pull request #6514 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Feb 9, 2024
6c14a3a
Merge pull request #6520 from alvaroaleman/bump
k8s-ci-robot Feb 9, 2024
c01c10a
Merge branch 'kubernetes:master' into check-empty-id-in-ali-NodeGroup…
daimaxiaxie Feb 10, 2024
2de6976
Fix e2e test setup
voelzmo Feb 7, 2024
dfcf7d6
helm: enable clusterapi namespace autodiscovery
jackfrancis May 17, 2023
abc077e
Merge pull request #6509 from x13n/master
k8s-ci-robot Feb 13, 2024
7128cb7
Fix expectedToRegister to respect instances with nil status
yarinm Feb 13, 2024
aa1af03
add option to keep node group backoff on OutOfResource error
wllbo May 12, 2023
8a2cae3
remove changes to backoff interface
wllbo Oct 18, 2023
00fd3a8
attach errors to scale-up request and add comments
wllbo Oct 18, 2023
8e867f6
revert optionally keeping node group backoff
wllbo Feb 13, 2024
4477707
remove RemoveBackoff from updateScaleRequests
wllbo Feb 13, 2024
7031519
Merge pull request #5756 from wllbo/keep-backoff-out-of-resources
k8s-ci-robot Feb 13, 2024
947cd3f
Merge pull request #6511 from voelzmo/fix/vpa-e2e-test-setup
k8s-ci-robot Feb 13, 2024
5286b3f
Add ProvisioningRequestProcessor (#6488)
yaroslava-serdiuk Feb 14, 2024
df02299
Add kube-env to MigInfoProvider
BigDarkClown Feb 15, 2024
4ffc3ff
CA: GCE: add pricing for new Z3 machines
AnishShah Feb 15, 2024
e7ff1cd
Introduce LocalSSDSizeProvider interface for GCE
atwamahmoud Feb 15, 2024
241936f
Use KubeEnv in gce/templates.go
BigDarkClown Feb 15, 2024
42aa9a1
Add templateName to kube-env to ensure that correct value is cached
BigDarkClown Feb 16, 2024
760b2b5
Add unit-tests
BigDarkClown Feb 16, 2024
c6b754c
Merge pull request #6512 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Feb 16, 2024
2c2ec59
Merge pull request #6531 from BigDarkClown/kube-env
k8s-ci-robot Feb 20, 2024
f9e6a8d
Merge branch 'master' into local-ssd-size-provider
atwamahmoud Feb 20, 2024
a3c8978
Merge pull request #6530 from atwamahmoud/local-ssd-size-provider
k8s-ci-robot Feb 20, 2024
aead0de
extract create group to function
dsafdsa1 Feb 20, 2024
6eaa0c3
Merged PR 1379: added retry for creatingAzureManager in case of throt…
m-craghead Mar 16, 2022
6ca8414
Merge pull request #6528 from yarinm/yarinm/expectedToRegister-fix
k8s-ci-robot Feb 22, 2024
0c62f54
Merge pull request #6548 from dsafdsa1/node-group-create
k8s-ci-robot Feb 23, 2024
715e1fd
docs: update outdated/deprecated taints in the examples
fmuyassarov Feb 26, 2024
2cd8e16
CA FAQ: clarify the point about scheduling constraints blocking scale…
towca Feb 26, 2024
bafe7cd
Add warning about vendor removal to Makefile build target
fmuyassarov Feb 27, 2024
3bf0226
fix: add missing ephemeral-storage resource definition
Silvest89 Feb 26, 2024
5232e53
Merge pull request #6567 from kubernetes/towca-patch-2
k8s-ci-robot Feb 27, 2024
aada657
Add BuildTestNodeWithAllocatable test utility method.
walidghallab Feb 21, 2024
dffff4f
Add ProvisioningRequest injector (#6529)
yaroslava-serdiuk Feb 28, 2024
6632bab
Consider preemption policy for expandable pods
BigDarkClown Feb 28, 2024
0bc8dda
Fix a bug where atomic scale-down failure could affect subsequent ato…
kawych Feb 28, 2024
79269d8
Merge pull request #6577 from BigDarkClown/priority
k8s-ci-robot Feb 28, 2024
d061c45
Merge branch 'kubernetes:master' into check-empty-id-in-ali-NodeGroup…
daimaxiaxie Mar 2, 2024
cc75680
Update gce_price_info.go
AnishShah Mar 2, 2024
4944ed9
Migrate from satori/go.uuid to google/uuid
oksanabaza Feb 22, 2024
1debfbf
Merge pull request #6574 from kube-hetzner/hetzner-ephemeral-storage
k8s-ci-robot Mar 4, 2024
9bcc4f2
Merge pull request #6535 from AnishShah/patch-1
k8s-ci-robot Mar 4, 2024
b63665a
Merge pull request #6562 from fmuyassarov/fix-ta-docs
k8s-ci-robot Mar 4, 2024
89741df
Merge pull request #6573 from fmuyassarov/devel/prep-vendor-cleanup
k8s-ci-robot Mar 4, 2024
6484694
Merge pull request #6578 from kawych/tpu2
k8s-ci-robot Mar 4, 2024
b41a8a6
Merge pull request #6554 from oksanabaza/master
k8s-ci-robot Mar 4, 2024
2bf403e
Delay force refresh by DefaultInterval when OCI GetNodePool call retu…
vbhargav875 Mar 3, 2024
b5f86a4
Merge pull request #6552 from walidghallab/testutil
k8s-ci-robot Mar 5, 2024
9dc3b9e
Merge pull request #6491 from elmiko/fix-clusterapi-provider-builder
k8s-ci-robot Mar 6, 2024
4383f4c
Merge pull request #6494 from Shubham82/fix_cloudproviders_builder
k8s-ci-robot Mar 6, 2024
6583c17
CA: update dependencies to k8s v1.30.0-alpha.3, go1.21.8
towca Mar 6, 2024
c58e3fd
Merge pull request #6588 from towca/jtuznik/deps-update
k8s-ci-robot Mar 6, 2024
06fa717
Merge pull request #6584 from vbhargav875/delay_retries
k8s-ci-robot Mar 6, 2024
1271608
Bump golang in /vertical-pod-autoscaler/pkg/admission-controller
dependabot[bot] Mar 6, 2024
1052032
Bump golang in /vertical-pod-autoscaler/pkg/updater
dependabot[bot] Mar 6, 2024
fdecd10
Bump golang in /vertical-pod-autoscaler/pkg/recommender
dependabot[bot] Mar 6, 2024
a525064
Update expander options for the AWS cloud provider README
drmorr0 Mar 6, 2024
b8506af
Merge pull request #6595 from drmorr0/patch-1
k8s-ci-robot Mar 7, 2024
49258da
Remove shadow err variable in deleteCreatedNodesWithErros func
damikag Mar 7, 2024
24811cf
Merge pull request #6594 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Mar 7, 2024
e9d3d89
Merge branch 'kubernetes:master' into check-empty-id-in-ali-NodeGroup…
daimaxiaxie Mar 8, 2024
51b8133
fix memory leak in NodeDeleteTracker
daimaxiaxie Mar 8, 2024
e3c2ff6
CA - Add 1.29 to version compatibility matrix
psychic-spoon Mar 8, 2024
1477eb2
Merge pull request #6592 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Mar 8, 2024
90e2891
Merge pull request #6593 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Mar 8, 2024
bd32754
ClusterAutoscaler: Put APIs in a separate go module
tenzen-y Nov 24, 2023
108385e
Extend update-deps.sh so that we can automatically update k8s librari…
tenzen-y Feb 16, 2024
16b213c
Clean up update-deps.sh
tenzen-y Mar 9, 2024
798d611
Update apis version to v1.29.2
tenzen-y Mar 9, 2024
c7fb744
Merge pull request #6603 from psychic-spoon/psychic-spoonca-1.29-upda…
k8s-ci-robot Mar 11, 2024
2d88008
Allow to override rancher provider settings
k0da Mar 10, 2024
10efaae
Bump VPA version to 1.1.0
laoj2 Mar 11, 2024
c96aa9b
Merge pull request #6610 from laoj2/release-vpa-1.1.0
k8s-ci-robot Mar 11, 2024
6efe785
Deprecate the Linode Cluster Autoscaler provider
kokes Mar 11, 2024
8bff3e4
add price info for n4
yuanwang04 Mar 11, 2024
1e60778
update n4 price info format
yuanwang04 Mar 11, 2024
7ee93b4
Set "pd-balanced" as DefaultBootDiskType
azylinski Mar 11, 2024
804c635
Clarify VPA and HPA limitations
dippynark Mar 12, 2024
528b616
Update ionos-cloud-sdk-go and mocks
avorima Apr 13, 2023
c88b249
Update provider code
avorima Feb 28, 2024
e390b4a
Ignore ionos-cloud-sdk-go spelling
avorima Feb 29, 2024
a6eb682
fix n4 price format
yuanwang04 Mar 12, 2024
3288160
Merge pull request #6617 from ionos-cloud/update-ionos-sdk
k8s-ci-robot Mar 13, 2024
2b4fa12
Add listManagedInstancesResults to GceCache.
dsafdsa1 Mar 7, 2024
601da3f
Merge pull request #6611 from azylinski/fix-default-disk-type
k8s-ci-robot Mar 13, 2024
30ebf5c
[clusterapi] Do not skip nodegroups with minSize=maxSize
MaxFedotov Mar 13, 2024
2c2128e
Merge pull request #6598 from dsafdsa1/1k-limit
k8s-ci-robot Mar 13, 2024
6c65baa
[clusterapi] Update tests for nodegroups with minSize=maxSize
MaxFedotov Mar 13, 2024
ef76ba7
add tests
Daniel-Redeploy Jan 2, 2024
623f132
made changes to support MIGs that use regional instance templates
Edwinhr716 Feb 20, 2024
b573351
modified current unit tests to support the new modifications
Edwinhr716 Feb 20, 2024
da30b66
added comment to InstanceTemplateNameType
Edwinhr716 Feb 27, 2024
9916027
Ran hack/go-fmtupdate.h on mig_info_provider_test.go
Edwinhr716 Feb 27, 2024
52be5d2
Use KubeEnv in gce/templates.go
BigDarkClown Feb 15, 2024
d348ae8
Add templateName to kube-env to ensure that correct value is cached
BigDarkClown Feb 16, 2024
145d286
rebased and resolved conflicts
Edwinhr716 Feb 28, 2024
fd8b89e
added fix for unit tests
Edwinhr716 Feb 28, 2024
cd3ab2c
changed InstanceTemplateNameType to InstanceTemplateName
Edwinhr716 Feb 28, 2024
5345def
separated url parser to its own function, created unit test for the f…
Edwinhr716 Mar 7, 2024
f8b4727
separated url parser to its own function, created unit test for the f…
Edwinhr716 Mar 7, 2024
771e932
added unit test with regional MIG
Edwinhr716 Mar 7, 2024
8a3b6cc
Migrate GCE client to server side operation wait
mtrqq Feb 19, 2024
124daf6
Merge pull request #6614 from yuanwang04/add_n4_vm
k8s-ci-robot Mar 14, 2024
65db534
Merge pull request #6616 from dippynark/clarify-vpa-hpa-limitations
k8s-ci-robot Mar 14, 2024
59f8312
Track type of node group created/deleted in auto-provisioned group me…
dsafdsa1 Mar 8, 2024
8605c34
trigger tests
dsafdsa1 Mar 14, 2024
61fa2a0
fix comment
dsafdsa1 Mar 14, 2024
9cdced4
Add AtomicScaleUp method to NodeGroup interface
yaroslava-serdiuk Mar 5, 2024
e85934c
Merge pull request #6604 from dsafdsa1/export-metrics
k8s-ci-robot Mar 14, 2024
082327b
Merge pull request #6587 from yaroslava-serdiuk/atomic-scale-up
k8s-ci-robot Mar 14, 2024
586137e
Merge pull request #6547 from mtrqq/feat/gce-server-side-wait
k8s-ci-robot Mar 14, 2024
ffe9680
Merge pull request #6570 from Edwinhr716/regional-instance
k8s-ci-robot Mar 14, 2024
96b6022
Merge pull request #6606 from k0da/rancher_env
k8s-ci-robot Mar 15, 2024
aebba5a
Merge pull request #6500 from marquiz/devel/fixes
k8s-ci-robot Mar 15, 2024
38124f2
Merge pull request #6507 from ctripcloud/check-empty-id-in-ali-NodeGr…
k8s-ci-robot Mar 15, 2024
702883d
Add an option to Cluster Autoscaler that allows triggering new loops
kawych Mar 6, 2024
1b4d478
Merge pull request #6596 from damikag/master
k8s-ci-robot Mar 15, 2024
75e7df6
Merge pull request #6602 from ctripcloud/fix-memory-leak
k8s-ci-robot Mar 15, 2024
109998d
Merge pull request #6589 from kawych/nowait
k8s-ci-robot Mar 15, 2024
bed5058
Refactor StartDeletion usage patterns and enforce periodic scaledown …
mtrqq Feb 27, 2024
4bf83f1
Merge pull request #6447 from Jont828/edge-zone
k8s-ci-robot Mar 17, 2024
165738a
Merge pull request #6502 from NiklasRosenstein/master
k8s-ci-robot Mar 18, 2024
616cfb6
Merge pull request #5762 from jackfrancis/helm-chart-clusterapi-clust…
k8s-ci-robot Mar 18, 2024
d08db94
Merge pull request #6575 from mtrqq/feat/periodic-scaledown-status-calls
k8s-ci-robot Mar 18, 2024
d26bc68
Bump golang to 1.22
azylinski Mar 18, 2024
eb5d875
Merge pull request #6635 from azylinski/bump-ca-go-1-22
k8s-ci-robot Mar 18, 2024
2cd5884
updated admission-controller to have adjustable --min-tls-version and…
allenmun197 Mar 12, 2024
24fbe6e
Merge pull request #6625 from allenmun197/ciphers
k8s-ci-robot Mar 19, 2024
ce32577
Merge pull request #6632 from LiveArena/dont-normalize-azurem-vmss
k8s-ci-robot Mar 19, 2024
c16e0cd
Merge pull request #6628 from MaxFedotov/issues/6549
k8s-ci-robot Mar 19, 2024
eae11e7
Merge pull request #6613 from kokes/deprecate_linode
k8s-ci-robot Mar 20, 2024
09954b6
Merge pull request #6315 from tenzen-y/put-apis-separate-mod
k8s-ci-robot Mar 20, 2024
f6fcee1
CA: Move the ProvisioningRequest CRD to apis module
tenzen-y Mar 24, 2024
0130d33
Merge pull request #6651 from tenzen-y/move-provisioning-request-to-a…
k8s-ci-robot Mar 25, 2024
151923f
Bump default VPA version to 1.1.0
laoj2 Mar 25, 2024
af0636a
Format README
mewa Feb 19, 2024
6e6622f
Add chart versions
mewa Feb 19, 2024
c4e0e58
Add script to update required chart versions in README
mewa Feb 19, 2024
c6f1d2b
Add chart version column in version matrix
mewa Feb 19, 2024
89595cb
Move cluster-autoscaler update-chart-version-readme script to /hack
mewa Mar 26, 2024
6684448
Only check recent revisions when updating README
mewa Mar 26, 2024
297295a
Update min cluster-autoscaler chart for Kubernetes 1.29
mewa Mar 26, 2024
9223c7e
Remove unused NodeInfoProcessor
azylinski Mar 27, 2024
3bd6e99
Fix broken link in README.md to point to equinixmetal readme
aayushrangwala Mar 27, 2024
7184d23
Merge pull request #6662 from azylinski/rm-NodeInfoProcessor
k8s-ci-robot Mar 28, 2024
0d5a71e
review comments - simplify retry logic
gandhipr Mar 28, 2024
7254888
CA: Before we perform go test, synchronizing go vendor
tenzen-y Mar 28, 2024
74446d4
Merge pull request #6668 from tenzen-y/sync-vendor
k8s-ci-robot Mar 29, 2024
7ff9480
Cleanup ProvReq wrapper
yaroslava-serdiuk Mar 29, 2024
5d0c973
Make the Estimate func accept pods grouped.
kisieland Mar 28, 2024
a4760f6
Update CAPI docs
lentzi90 Apr 2, 2024
315fabb
Bump golang in /vertical-pod-autoscaler/pkg/updater
dependabot[bot] Apr 3, 2024
1f9035c
Bump golang in /vertical-pod-autoscaler/pkg/admission-controller
dependabot[bot] Apr 3, 2024
4109085
Bump golang in /vertical-pod-autoscaler/pkg/recommender
dependabot[bot] Apr 3, 2024
ec29b02
Merge pull request #6678 from Nordix/lentzi90/capi-docs
k8s-ci-robot Apr 4, 2024
cf64094
Merge pull request #6686 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Apr 4, 2024
609fb71
Merge pull request #6683 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Apr 4, 2024
5aa6b2c
Introduce binbacking optimization for similar pods.
kisieland Mar 28, 2024
425b91e
Merge pull request #6667 from kisieland/refactor-estimation
k8s-ci-robot Apr 5, 2024
c11cc43
CA: Fix apis vendoring
pmendelski Apr 5, 2024
bbe242e
Merge pull request #6448 from blanchardma/docs/fix-aws-iam-policy-exa…
k8s-ci-robot Apr 5, 2024
4294709
Merge pull request #6655 from laoj2/vpa-release-1.1
k8s-ci-robot Apr 5, 2024
d5a8e20
Add g6 EC2 instance type for AWS
ceuity Apr 8, 2024
3780203
Merge pull request #6695 from pmendelski/fix-autoscaler-vendor
k8s-ci-robot Apr 8, 2024
3a078ec
Copyright boilerplate
mewa Apr 8, 2024
0db7e54
Merge pull request #6663 from aayushrangwala/patch-1
k8s-ci-robot Apr 8, 2024
a87d7ac
Merge pull request #6541 from mewa/master
k8s-ci-robot Apr 8, 2024
8273c9c
Merge pull request #6684 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Apr 9, 2024
bdd333c
Lower errors verbosity for kube-env label missing
azylinski Apr 12, 2024
59882e0
Merge pull request #6706 from azylinski/lower-kube-env-err
k8s-ci-robot Apr 12, 2024
b5cd900
Merge pull request #6670 from yaroslava-serdiuk/provreqwrapper
k8s-ci-robot Apr 15, 2024
3c0daad
Merge pull request #6697 from ceuity/master
k8s-ci-robot Apr 16, 2024
b52ddf2
parentController may be nil when owner isn't scalable
voelzmo Apr 16, 2024
97707b8
Update ProvisioningClass API Group
yaroslava-serdiuk Apr 16, 2024
95c985d
Merge pull request #6714 from yaroslava-serdiuk/provreq-api
k8s-ci-robot Apr 16, 2024
228bd4e
Fix Autoscaling for worker nodes with invalid ProviderID
maksim-paskal Apr 17, 2024
9e65a69
Merge pull request #6717 from maksim-paskal/fix-autoscaling-for-robot…
k8s-ci-robot Apr 17, 2024
6b6dfd4
Add tests for Pods owner that doesn't implement /scale
voelzmo Apr 17, 2024
af1e610
Merge pull request #6712 from voelzmo/fix/vpa-updater-npe-ownerref-check
k8s-ci-robot Apr 17, 2024
5f94f2c
Add provreqOrchestrator that handle ProvReq classes (#6627)
yaroslava-serdiuk Apr 17, 2024
554366f
Merge pull request #6550 from gandhipr/prachigandhi/azure-manager-retry
k8s-ci-robot Apr 17, 2024
c4f7524
Cluster Autoscaler: Sync k8s.io dependencies to k/k v1.30.0, bump Go …
towca Apr 19, 2024
6e3217d
Merge pull request #6737 from towca/jtuznik/ca-1.30
k8s-ci-robot Apr 19, 2024
f23d5b7
[v1.30] fix(hetzner): hostname label is not considered
apricote Apr 22, 2024
f652e25
Remove the flag for enabling ProvisioningRequests
towca Apr 24, 2024
2c2660a
Merge pull request #6755 from towca/jtuznik/provreq-disable
k8s-ci-robot Apr 24, 2024
9d69082
Merge pull request #6751 from hetznercloud/hetzner-missing-hostname-l…
k8s-ci-robot Apr 24, 2024
3a26603
fix: scale up broken for providers not implementing NodeGroup.GetOpti…
apricote Apr 2, 2024
55a18a3
Merge pull request #6756 from towca/jtuznik/cp-1.30
k8s-ci-robot Apr 24, 2024
5cf4771
Add --enable-provisioning-requests flag
yaroslava-serdiuk May 14, 2024
79027cd
[cluster-autoscaler-release-1.30] Fix ProvisioningRequest update (#6825)
k8s-infra-cherrypick-robot May 14, 2024
a304cf0
Merge pull request #6826 from yaroslava-serdiuk/provreq-flag
k8s-ci-robot May 16, 2024
00a09b7
Update k/k vendor to 1.30.1 for CA 1.30
BigDarkClown May 27, 2024
7d1f87f
Merge pull request #6872 from BigDarkClown/cluster-autoscaler-release…
k8s-ci-robot May 28, 2024
5f47085
Merge branch 'upstream-release-1.30.0' into sync-upstream-v1.30.0
sssash18 Jul 5, 2024
42cc7dc
sync changes
sssash18 Jul 8, 2024
77eddba
added sync changes file
sssash18 Jul 8, 2024
c894006
golint fix
sssash18 Jul 8, 2024
b204d50
update vpa vendor
sssash18 Jul 8, 2024
5a29eea
fixed volcengine
sssash18 Jul 8, 2024
f168529
ran gofmt
sssash18 Jul 8, 2024
96b3735
synched azure
sssash18 Jul 8, 2024
8b3cd17
synched azure
sssash18 Jul 8, 2024
9d27b20
synched IT
sssash18 Jul 9, 2024
91eb8e9
removed IT log file
sssash18 Jul 17, 2024
25fbdc1
addressed review comments
sssash18 Jul 24, 2024
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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ updates:
open-pull-requests-limit: 3
labels:
- "vertical-pod-autoscaler"
- package-ecosystem: gomod
directory: "/addon-resizer"
schedule:
interval: daily
target-branch: "addon-resizer-release-1.8"
open-pull-requests-limit: 3
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21.6'
go-version: '1.22.1'

- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion addon-resizer/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ emeritus_approvers:
- bskiba # 2022-09-30
- wojtek-t # 2022-09-30
labels:
- addon-resizer
- area/addon-resizer
2 changes: 1 addition & 1 deletion balancer/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ reviewers:
- mwielgus
- kgolab
labels:
- balancer
- area/balancer
3 changes: 1 addition & 2 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# 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]>"

Expand All @@ -22,6 +21,6 @@ ENV GO111MODULE auto

RUN apt-get update && apt-get --yes install libseccomp-dev
RUN go version
RUN go get github.com/tools/godep
RUN go install github.com/tools/godep@latest
RUN godep version
CMD ["/bin/bash"]
2 changes: 1 addition & 1 deletion charts/OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ reviewers:
- gjtempleton

labels:
- helm-charts
- area/helm-charts
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.28.2
appVersion: 1.29.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.34.1
version: 9.36.0
23 changes: 19 additions & 4 deletions charts/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ To create a valid configuration, follow instructions for your cloud provider:
- [Azure](#azure)
- [OpenStack Magnum](#openstack-magnum)
- [Cluster API](#cluster-api)
- [Exoscale](#exoscale)
- [Hetzner Cloud](#hetzner-cloud)

### Templating the autoDiscovery.clusterName

Expand Down Expand Up @@ -222,6 +224,7 @@ $ helm install my-release autoscaler/cluster-autoscaler -f myvalues.yaml
`cloudProvider: clusterapi` must be set, and then one or more of

- `autoDiscovery.clusterName`
- or `autoDiscovery.namespace`
- or `autoDiscovery.labels`

See [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md#configuring-node-group-auto-discovery) for more details.
Expand Down Expand Up @@ -259,6 +262,18 @@ $ helm install my-release autoscaler/cluster-autoscaler \

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.

### Hetzner Cloud

The following parameters are required:

- `cloudProvider=hetzner`
- `extraEnv.HCLOUD_TOKEN=...`
- `autoscalingGroups=...`

Each autoscaling group requires an additional `instanceType` and `region` key to be set.

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.

## Uninstalling the Chart

To uninstall `my-release`:
Expand Down Expand Up @@ -373,17 +388,17 @@ vpa:
| affinity | object | `{}` | Affinity for pod assignment |
| autoDiscovery.clusterName | string | `nil` | Enable autodiscovery for `cloudProvider=aws`, for groups matching `autoDiscovery.tags`. autoDiscovery.clusterName -- Enable autodiscovery for `cloudProvider=azure`, using tags defined in https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/azure/README.md#auto-discovery-setup. Enable autodiscovery for `cloudProvider=clusterapi`, for groups matching `autoDiscovery.labels`. Enable autodiscovery for `cloudProvider=gce`, but no MIG tagging required. Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`. |
| autoDiscovery.labels | list | `[]` | Cluster-API labels to match https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md#configuring-node-group-auto-discovery |
| 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> |
| 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> |
| 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`) |
| awsSecretAccessKey | string | `""` | AWS access secret key ([if AWS user keys used](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/aws/README.md#using-aws-credentials)) |
| azureClientID | string | `""` | Service Principal ClientID with contributor permission to Cluster and Node ResourceGroup. Required if `cloudProvider=azure` |
| azureClientSecret | string | `""` | Service Principal ClientSecret with contributor permission to Cluster and Node ResourceGroup. Required if `cloudProvider=azure` |
| azureClusterName | string | `""` | Azure AKS cluster name. Required if `cloudProvider=azure` |
| azureNodeResourceGroup | string | `""` | Azure resource group where the cluster's nodes are located, typically set as `MC_<cluster-resource-group-name>_<cluster-name>_<location>`. Required if `cloudProvider=azure` |
| azureEnableForceDelete | bool | `false` | Whether to force delete VMs or VMSS instances when scaling down. |
| azureResourceGroup | string | `""` | Azure resource group that the cluster is located. Required if `cloudProvider=azure` |
| azureSubscriptionID | string | `""` | Azure subscription where the resources are located. Required if `cloudProvider=azure` |
| azureTenantID | string | `""` | Azure tenant where the resources are located. Required if `cloudProvider=azure` |
Expand Down Expand Up @@ -415,7 +430,7 @@ 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.28.2"` | Image tag |
| image.tag | string | `"v1.29.0"` | Image tag |
| 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 Down
15 changes: 15 additions & 0 deletions charts/cluster-autoscaler/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ To create a valid configuration, follow instructions for your cloud provider:
- [Azure](#azure)
- [OpenStack Magnum](#openstack-magnum)
- [Cluster API](#cluster-api)
- [Exoscale](#exoscale)
- [Hetzner Cloud](#hetzner-cloud)

### Templating the autoDiscovery.clusterName

Expand Down Expand Up @@ -222,6 +224,7 @@ $ helm install my-release autoscaler/cluster-autoscaler -f myvalues.yaml
`cloudProvider: clusterapi` must be set, and then one or more of

- `autoDiscovery.clusterName`
- or `autoDiscovery.namespace`
- or `autoDiscovery.labels`

See [here](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/cloudprovider/clusterapi/README.md#configuring-node-group-auto-discovery) for more details.
Expand Down Expand Up @@ -259,6 +262,18 @@ $ helm install my-release autoscaler/cluster-autoscaler \

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.

### Hetzner Cloud

The following parameters are required:

- `cloudProvider=hetzner`
- `extraEnv.HCLOUD_TOKEN=...`
- `autoscalingGroups=...`

Each autoscaling group requires an additional `instanceType` and `region` key to be set.

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.

## Uninstalling the Chart

To uninstall `my-release`:
Expand Down
4 changes: 2 additions & 2 deletions charts/cluster-autoscaler/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or .Values.autoDiscovery.clusterName .Values.autoscalingGroups -}}
{{- if or ( or .Values.autoDiscovery.clusterName .Values.autoDiscovery.namespace .Values.autoDiscovery.labels ) .Values.autoscalingGroups }}

To verify that cluster-autoscaler has started, run:

Expand All @@ -8,7 +8,7 @@ To verify that cluster-autoscaler has started, run:

##############################################################################
#### ERROR: You must specify values for either ####
#### autoDiscovery.clusterName or autoscalingGroups[] ####
#### autoDiscovery or autoscalingGroups[] ####
##############################################################################

The deployment and pod will not be created and the installation is not functional
Expand Down
48 changes: 38 additions & 10 deletions charts/cluster-autoscaler/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,11 @@ app.kubernetes.io/name: {{ include "cluster-autoscaler.name" . | quote }}


{{/*
Return labels, including instance, name and version.
Return labels, including instance and name.
*/}}
{{- define "cluster-autoscaler.labels" -}}
{{ include "cluster-autoscaler.instance-name" . }}
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
helm.sh/chart: {{ include "cluster-autoscaler.chart" . | quote }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
Expand Down Expand Up @@ -112,21 +109,52 @@ Return true if the priority expander is enabled
{{- end -}}

{{/*
Return the autodiscoveryparameters for clusterapi.
autoDiscovery.clusterName for clusterapi.
*/}}
{{- define "cluster-autoscaler.capiAutodiscoveryConfig" -}}
{{- if .Values.autoDiscovery.clusterName -}}
{{- define "cluster-autoscaler.capiAutodiscovery.clusterName" -}}
{{- print "clusterName=" -}}{{ tpl (.Values.autoDiscovery.clusterName) . }}
{{- end -}}
{{- if and .Values.autoDiscovery.clusterName .Values.autoDiscovery.labels -}}
{{- print "," -}}

{{/*
autoDiscovery.namespace for clusterapi.
*/}}
{{- define "cluster-autoscaler.capiAutodiscovery.namespace" -}}
{{- print "namespace=" }}{{ .Values.autoDiscovery.namespace -}}
{{- end -}}
{{- if .Values.autoDiscovery.labels -}}

{{/*
autoDiscovery.labels for clusterapi.
*/}}
{{- define "cluster-autoscaler.capiAutodiscovery.labels" -}}
{{- range $i, $el := .Values.autoDiscovery.labels -}}
{{- if $i -}}{{- print "," -}}{{- end -}}
{{- range $key, $val := $el -}}
{{- $key -}}{{- print "=" -}}{{- $val -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Return the autodiscoveryparameters for clusterapi.
*/}}
{{- define "cluster-autoscaler.capiAutodiscoveryConfig" -}}
{{- if .Values.autoDiscovery.clusterName -}}
{{ include "cluster-autoscaler.capiAutodiscovery.clusterName" . }}
{{- if .Values.autoDiscovery.namespace }}
{{- print "," -}}
{{ include "cluster-autoscaler.capiAutodiscovery.namespace" . }}
{{- end -}}
{{- if .Values.autoDiscovery.labels }}
{{- print "," -}}
{{ include "cluster-autoscaler.capiAutodiscovery.labels" . }}
{{- end -}}
{{- else if .Values.autoDiscovery.namespace -}}
{{ include "cluster-autoscaler.capiAutodiscovery.namespace" . }}
{{- if .Values.autoDiscovery.labels }}
{{- print "," -}}
{{ include "cluster-autoscaler.capiAutodiscovery.labels" . }}
{{- end -}}
{{- else if .Values.autoDiscovery.labels -}}
{{ include "cluster-autoscaler.capiAutodiscovery.labels" . }}
{{- end -}}
{{- end -}}
10 changes: 8 additions & 2 deletions charts/cluster-autoscaler/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if or ( or .Values.autoDiscovery.clusterName .Values.autoDiscovery.labels ) .Values.autoscalingGroups }}
{{- if or ( or .Values.autoDiscovery.clusterName .Values.autoDiscovery.namespace .Values.autoDiscovery.labels ) .Values.autoscalingGroups }}
{{/* one of the above is required */}}
apiVersion: {{ template "deployment.apiVersion" . }}
kind: Deployment
Expand Down Expand Up @@ -60,8 +60,12 @@ spec:
{{- end }}
{{- if .Values.autoscalingGroups }}
{{- range .Values.autoscalingGroups }}
{{- if eq $.Values.cloudProvider "hetzner" }}
- --nodes={{ .minSize }}:{{ .maxSize }}:{{ .instanceType }}:{{ .region }}:{{ .name }}
{{- else }}
- --nodes={{ .minSize }}:{{ .maxSize }}:{{ .name }}
{{- end }}
{{- end }}
{{- end }}
{{- if eq .Values.cloudProvider "rancher" }}
{{- if .Values.cloudConfigPath }}
Expand Down Expand Up @@ -95,7 +99,7 @@ spec:
- --cluster-name={{ tpl (.Values.magnumClusterName) . }}
{{- end }}
{{- else if eq .Values.cloudProvider "clusterapi" }}
{{- if or .Values.autoDiscovery.clusterName .Values.autoDiscovery.labels }}
{{- if or .Values.autoDiscovery.clusterName .Values.autoDiscovery.labels .Values.autoDiscovery.namepace }}
- --node-group-auto-discovery=clusterapi:{{ template "cluster-autoscaler.capiAutodiscoveryConfig" . }}
{{- end }}
{{- if eq .Values.clusterAPIMode "incluster-kubeconfig"}}
Expand Down Expand Up @@ -166,6 +170,8 @@ spec:
secretKeyRef:
key: VMType
name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }}
- name: AZURE_ENABLE_FORCE_DELETE
value: "{{ .Values.azureEnableForceDelete }}"
{{- if .Values.azureUseWorkloadIdentityExtension }}
- name: ARM_USE_WORKLOAD_IDENTITY_EXTENSION
value: "true"
Expand Down
25 changes: 15 additions & 10 deletions charts/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ autoDiscovery:
# Enable autodiscovery for `cloudProvider=magnum`, for groups matching `autoDiscovery.roles`.
clusterName: # cluster.local

# autoDiscovery.namespace -- Enable autodiscovery via cluster namespace for for `cloudProvider=clusterapi`
namespace: # default

# autoDiscovery.tags -- ASG tags to match, run through `tpl`.
tags:
- k8s.io/cluster-autoscaler/enabled
Expand All @@ -36,6 +39,14 @@ autoDiscovery:
# 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: []
# - name: asg1
# maxSize: 2
Expand Down Expand Up @@ -75,14 +86,6 @@ azureClientID: ""
# Required if `cloudProvider=azure`
azureClientSecret: ""

# azureClusterName -- Azure AKS cluster name.
# Required if `cloudProvider=azure`
azureClusterName: ""

# azureNodeResourceGroup -- Azure resource group where the cluster's nodes are located, typically set as `MC_<cluster-resource-group-name>_<cluster-name>_<location>`.
# Required if `cloudProvider=azure`
azureNodeResourceGroup: ""

# azureResourceGroup -- Azure resource group that the cluster is located.
# Required if `cloudProvider=azure`
azureResourceGroup: ""
Expand All @@ -104,6 +107,9 @@ azureUseWorkloadIdentityExtension: false
# azureVMType -- Azure VM type.
azureVMType: "vmss"

# azureEnableForceDelete -- Whether to force delete VMs or VMSS instances when scaling down.
azureEnableForceDelete: false

# cloudConfigPath -- Configuration file for cloud provider.
cloudConfigPath: ""

Expand Down Expand Up @@ -230,7 +236,7 @@ image:
# image.repository -- Image repository
repository: registry.k8s.io/autoscaling/cluster-autoscaler
# image.tag -- Image tag
tag: v1.28.2
tag: v1.29.0
# image.pullPolicy -- Image pull policy
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
Expand Down Expand Up @@ -375,7 +381,6 @@ serviceMonitor:
# serviceMonitor.metricRelabelings -- MetricRelabelConfigs to apply to samples before ingestion.
metricRelabelings: {}


# tolerations -- List of node taints to tolerate (requires Kubernetes >= 1.6).
tolerations: []

Expand Down
14 changes: 6 additions & 8 deletions cluster-autoscaler/.gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cluster-autoscaler
cluster-autoscaler-amd64
cluster-autoscaler-arm64
cluster-autoscaler-s390x
cluster_autoscaler
main
.cover
/cluster-autoscaler
/cluster-autoscaler-amd64
/cluster-autoscaler-arm64
/cluster-autoscaler-s390x
/.cover

# Vim-related files
[._]*.s[a-w][a-z]
Expand All @@ -13,4 +11,4 @@ main
Session.vim
.netrwhist
.vscode
/integration/logs
./integration/logs
aaronfern marked this conversation as resolved.
Show resolved Hide resolved
Loading
Loading