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

vpa: Update to VPA v1.1.1 #111

Closed
wants to merge 483 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
483 commits
Select commit Hold shift + click to select a range
c4bd3f0
Implement TemplateNodeInfo for civo cloudprovider
vishalanarase Nov 28, 2023
93b7537
Add comment for type and function
vishalanarase Nov 28, 2023
ae18f05
refactor(*): move getKubeClient to utils/kubernetes
qianlei90 Oct 8, 2023
70bc124
Merge pull request #6322 from vishalanarase/civo/add-node-template
k8s-ci-robot Nov 29, 2023
d887dff
Calculate real value for template using node group
vishalanarase Nov 29, 2023
32e6849
Fix lint error
vishalanarase Nov 29, 2023
d98363f
Fix tests
vishalanarase Nov 29, 2023
0a1d74f
Merge pull request #6294 from vadasambar/refactor/kube-client
k8s-ci-robot Nov 29, 2023
06db46b
Merge pull request #6296 from guopeng0/fix/alicloud
k8s-ci-robot Nov 29, 2023
85b6058
Merge pull request #6324 from vishalanarase/civo/updated-node-template
k8s-ci-robot Nov 30, 2023
8fe636e
Update aws-sdk-go to 1.48.7 via tarball
ROunofF Nov 29, 2023
dd09d59
+ Added SDK version in the log
ROunofF Nov 29, 2023
04b89f6
Merge pull request #6245 from alexanderConstantinescu/aws-cache-insta…
k8s-ci-robot Dec 4, 2023
c0661b5
Merge pull request #6261 from sibucan/aws-capacity-type-fix
k8s-ci-robot Dec 4, 2023
dfd20f2
Merge pull request #6186 from jackfrancis/azure-aks-vmtype-deprecate
k8s-ci-robot Dec 4, 2023
cea6c36
Merge pull request #6325 from ROunofF/update-local-sdk2
k8s-ci-robot Dec 4, 2023
9a754db
Switch to multistage build Dockerfiles for VPA
voelzmo Dec 4, 2023
df6784b
Merge pull request #6302 from piotrwrotniak/fixedp
k8s-ci-robot Dec 4, 2023
65970f9
Adding 33 instances types
ROunofF Nov 29, 2023
b6ffd65
Merge pull request #6347 from ROunofF/update-instance-type
k8s-ci-robot Dec 5, 2023
a70364d
heml chart - update cluster-autoscaler to 1.28
ilpianista Dec 4, 2023
8f75e9c
Merge pull request #6340 from ilpianista/patch-1
k8s-ci-robot Dec 6, 2023
4d45f47
Bump builder images to go 1.21.5
voelzmo Dec 6, 2023
2793a3e
Merge branch 'master' into master
aayushrangwala Dec 8, 2023
844e61c
Merge pull request #6338 from voelzmo/enh/switch-to-multistage-build
k8s-ci-robot Dec 8, 2023
eb5ef4b
feat: add metrics to show target size of every node group
guopeng0 Dec 8, 2023
cbebabb
deprecate unused node-autoprovisioning-enabled and max-autoprovisione…
prashantrewar Nov 3, 2023
3c4b180
Fix error messages and expose underlying error.
ElanHasson Dec 11, 2023
f08828b
oopsie fix
ElanHasson Dec 11, 2023
e87470e
Update rancher_nodegroup.go
ElanHasson Dec 11, 2023
0a46895
fix(hetzner): insufficient nodes when boot fails
apricote Dec 11, 2023
b4586f9
Merge pull request #6364 from hetznercloud/hcloud-wait-all-actions
k8s-ci-robot Dec 11, 2023
37673fe
Merge pull request #6301 from brydoncheyney/bcheyney/autoscaler-annot…
k8s-ci-robot Dec 11, 2023
98a77a8
Merge pull request #6361 from guopeng0/feature/metrics
k8s-ci-robot Dec 11, 2023
2acea3b
Include quantity in error message
ElanHasson Dec 12, 2023
7c14b8f
Add VSCode workspace files to .gitignore
Jont828 Dec 12, 2023
9ce68ed
use corect variables
ElanHasson Dec 12, 2023
cc6ecec
Remove debug line.
fische Dec 12, 2023
7383034
Fix typo.
fische Dec 12, 2023
c3810ec
Rename filterNodeGroups to filterNodeFromSelectedGroups.
fische Dec 12, 2023
a6f1c2b
Remove vpa/builder and switch dependabot updates to component Dockerf…
voelzmo Dec 12, 2023
95ad6c9
Fallback to initial node list if filtering fails.
fische Dec 12, 2023
368441d
Fix compilation errors.
fische Dec 12, 2023
5f6eedc
Split new test into a separate function.
fische Dec 12, 2023
90e24ac
Merge remote-tracking branch 'origin' into fix-taint-unselected-node
fische Dec 12, 2023
a8a2e78
fix: updated readme for hetzner cloud provider
pmdroid Dec 12, 2023
49bed4c
Merge pull request #6371 from pmdroid/fix-hetzner-docs
k8s-ci-robot Dec 13, 2023
cf6176f
Add error details to autoscaling backoff.
walidghallab Nov 29, 2023
f0001eb
Merge pull request #6327 from walidghallab/autoscaler-status
k8s-ci-robot Dec 14, 2023
f89427a
Make backoff.Status.ErrorInfo non-pointer.
walidghallab Dec 14, 2023
e495509
Merge pull request #6374 from walidghallab/autoscaler-status
k8s-ci-robot Dec 14, 2023
b95adf1
Merge pull request #6246 from prashantrewar/deprecate-unused-flag
k8s-ci-robot Dec 14, 2023
ac01132
allow specifing grpc timeout rather than hardcoded 5 seconds
tedli Dec 14, 2023
e3d3303
[GCE] Support paginated instance listing
x13n Dec 15, 2023
2afb968
Merge pull request #6376 from x13n/master
k8s-ci-robot Dec 15, 2023
5bf33b2
Merge pull request #6373 from tedli/grpc-timeout
k8s-ci-robot Dec 15, 2023
e28f9fd
azure: fix chart bugs after AKS vmType deprecation
jackfrancis Dec 15, 2023
ab04101
Merge pull request #6370 from voelzmo/enh/remove-vpa-builder
k8s-ci-robot Dec 19, 2023
90361b4
Merge pull request #6384 from jackfrancis/azure-chart-fix-aks-deprecate
k8s-ci-robot Dec 19, 2023
c420cea
Merge pull request #6369 from Jont828/code-workspace
k8s-ci-robot Dec 20, 2023
4239750
Add recommendation for single container only if no other recommendati…
voelzmo Dec 20, 2023
38ab33a
Add custom recommender name back to test
voelzmo Dec 20, 2023
1740647
go mod vendor for e2e tests
voelzmo Dec 20, 2023
8703ff9
[civo] Add Gpu count to node template
vishalanarase Dec 20, 2023
b82a108
Update dependabot.yml to include addon-resizer
baizhenyu Dec 20, 2023
bb82ce3
Update VPA release README to reference 1.X VPA versions.
laoj2 Dec 20, 2023
044c03d
feat:add node group health and back off metrics
guopeng0 Dec 21, 2023
9ffbea4
implement priority based evictor and refactor drain logic
damikag Nov 28, 2023
fc48d5c
Merge pull request #6139 from damikag/priority-evictor
k8s-ci-robot Dec 21, 2023
600cda5
Merge pull request #6394 from laoj2/release-doc
k8s-ci-robot Dec 22, 2023
d9f1317
Merge pull request #6271 from aayushrangwala/master
k8s-ci-robot Dec 27, 2023
23b9845
fix:Adding missing RBAC + Update deployment tolerations
FarnazBGH Dec 27, 2023
33a1432
Merge pull request #6399 from FarnazBGH/fix-cluster-api-example
k8s-ci-robot Dec 27, 2023
a85ec16
Merge pull request #6390 from vishalanarase/civo/gpu-count
k8s-ci-robot Dec 27, 2023
5469d79
Merge pull request #6393 from baizhenyu/patch-1
k8s-ci-robot Dec 27, 2023
11a0846
Convert status in cluster-autoscaler-status to yaml and add error inf…
walidghallab Dec 11, 2023
4b63993
Truncate error messages in CA config map to 500 characters per node g…
walidghallab Dec 28, 2023
1255c95
feat:add node group health and back off metrics
guopeng0 Dec 21, 2023
9521a0f
Regenerate patch release schedule (#6346)
x13n Dec 29, 2023
a5e540d
Restore flags for setting QPS limit in CA
jbartosik Dec 28, 2023
0f7fe5c
Merge pull request #6405 from jbartosik/add-back-ca-rate-limiting
k8s-ci-robot Dec 29, 2023
c7ad47b
Merge pull request #6375 from walidghallab/status
k8s-ci-robot Dec 29, 2023
138c448
Refactor status_test.go to use table tests
walidghallab Dec 20, 2023
43b46b3
Fix typo
jbartosik Dec 29, 2023
10fafe7
Merge pull request #6411 from jbartosik/fix-typo
k8s-ci-robot Dec 29, 2023
89241e4
feat:add node group health and back off metrics
guopeng0 Dec 21, 2023
849e9e7
Merge branch 'master' into feature/node_group_healthy_metrics
guopeng0 Jan 2, 2024
4778d9e
Pass Burst and QPS client params to capi k8s clients
kdw174 Jan 2, 2024
2754aa4
fix paths to opts
kdw174 Jan 2, 2024
1cc6239
remove unnecessary float32 casting
kdw174 Jan 2, 2024
bb72e46
Merge pull request #6416 from kdw174/capi-k8s-client-params
k8s-ci-robot Jan 2, 2024
f4891e3
Merge pull request #6291 from sergelogvinov/non-azure-providerid
k8s-ci-robot Jan 3, 2024
d29ffd0
Add ProvisioningRequestPodsFilter processor (#6386)
yaroslava-serdiuk Jan 3, 2024
6ec7256
docs: clarifies scale down operation by CA in FAQ.md and main.go
faan11 Jan 7, 2024
0024f25
Merge pull request #6290 from faan11/master
k8s-ci-robot Jan 8, 2024
5737488
Merge pull request #6410 from walidghallab/refactor
k8s-ci-robot Jan 8, 2024
e71a123
fix(kwok): fix panic when scale down node group
qianlei90 Dec 2, 2023
8671aae
Fixed the TOC of Multi-dimensional Pod Autoscaler AEP.
Shubham82 Jan 10, 2024
1de5639
Added the RBAC Permission to equinixmetal Cloud Provider.
Shubham82 Jan 10, 2024
cdb24d8
Merge pull request #6434 from Shubham82/fixed-Contents-MPA
k8s-ci-robot Jan 10, 2024
205a06d
Bump golang in /vertical-pod-autoscaler/pkg/updater
dependabot[bot] Jan 10, 2024
a6f1d22
Bump golang in /vertical-pod-autoscaler/pkg/admission-controller
dependabot[bot] Jan 10, 2024
2e4ec97
Bump golang in /vertical-pod-autoscaler/pkg/recommender
dependabot[bot] Jan 10, 2024
934d0c3
Merge pull request #6443 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Jan 11, 2024
293b42f
Merge pull request #6444 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Jan 11, 2024
7ea57f3
Merge pull request #6442 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Jan 11, 2024
5de49a1
feat: support `--scale-down-delay-after-*` per nodegroup
vadasambar May 5, 2023
c4063ef
Taint utils taking multiple taints
BigDarkClown Dec 15, 2023
838ba52
Merge pull request #6378 from BigDarkClown/multitaint
k8s-ci-robot Jan 12, 2024
ffb54c8
Merge pull request #5729 from vadasambar/feat/3071/scale-down-after-a…
k8s-ci-robot Jan 12, 2024
23843ad
Merge branch 'kubernetes:master' into feature/node_group_healthy_metrics
guopeng0 Jan 12, 2024
ae0ab53
feat:add node group health and back off metrics
guopeng0 Jan 13, 2024
13c5875
Merge pull request #6363 from ElanHasson/patch-1
k8s-ci-robot Jan 15, 2024
aa3bab1
Use exponential buckets for function_duration_seconds
x13n Jan 17, 2024
d31e1cf
Merge pull request #6453 from x13n/master
k8s-ci-robot Jan 18, 2024
df0ce2d
Merge pull request #6336 from qianlei90/fix-kwok-provider
k8s-ci-robot Jan 18, 2024
a47ef89
Only log when we fail to get NodeGroup for a node.
fische Jan 19, 2024
3a3b388
just moving controller_fetcher to use it out of the recommender
dbenque Jan 19, 2024
2bba2ba
check targetRef of VPA against pod ownerRef
dbenque Jan 19, 2024
e8e3ad0
Move to table-based tests.
fische Jan 22, 2024
ed25db1
Merge pull request #6391 from voelzmo/fix/vpa-e2e-tests
k8s-ci-robot Jan 22, 2024
e6f9ba1
Allow draining when DaemonSet kind has custom API Group
shamil Dec 29, 2023
ea26159
use ParseGroupVersion in Drinable method
shamil Jan 22, 2024
5773f50
feat:add node group health and back off metrics
guopeng0 Jan 13, 2024
68e661f
feat:add node group health and back off metrics
guopeng0 Jan 13, 2024
4b9d4b1
Merge branch 'feature/node_group_healthy_metrics' of https://github.c…
guopeng0 Jan 23, 2024
779c1ba
Merge pull request #6412 from shamil/validate_api_version_in_ds_v2
k8s-ci-robot Jan 23, 2024
a2f8902
Merge pull request #6396 from guopeng0/feature/node_group_healthy_met…
k8s-ci-robot Jan 24, 2024
486184c
doc: cluster-autoscaler: Oracle provider: Add small security note
icy Jan 25, 2024
3db3d22
Bump CA Chart image to v1.29
Shubham82 Jan 29, 2024
3c47994
prefer statefulset in TestGetMatchingVpa to avoid double ownerref RS/…
dbenque Jan 29, 2024
a5cae3b
TestGetMatchingVpa add pod matching selector but not matching ownerRef
dbenque Jan 29, 2024
0673eb0
Introduce GceInstance that extends cloudprovider.Instance with Numeri…
scotch-bonnet Jan 28, 2024
1af8021
Consider atomic nodes
kushagra98 Jan 29, 2024
476b524
fix deleteNodesFromCloudProvider panic
daimaxiaxie Jan 30, 2024
fc4ef07
Update the VPA Version to v1.0.0
Shubham82 Jan 30, 2024
cf171a7
Merge pull request #6473 from scotch-bonnet/master
k8s-ci-robot Jan 30, 2024
ed6ebbe
ScaleUp for check-capacity ProvisioningRequestClass (#6451)
yaroslava-serdiuk Jan 30, 2024
f70c09f
Consider atomic nodes
kushagra98 Jan 29, 2024
bd5a51a
Add unit tests
kushagra98 Jan 30, 2024
8c3121c
chore: add vadasambar to reviewers
vadasambar Jan 30, 2024
f22c4b0
Merge branch 'kubernetes:master' into fix-deleteNodesFromCloudProvide…
daimaxiaxie Jan 31, 2024
e02b467
Add unit tests
kushagra98 Jan 30, 2024
6f57c57
chore: remove unused arg from StaticAutoScaler
marquiz Jan 31, 2024
a5502e3
Add unit tests
kushagra98 Jan 30, 2024
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
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
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
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
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
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
2de6976
Fix e2e test setup
voelzmo Feb 7, 2024
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
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
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
24811cf
Merge pull request #6594 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Mar 7, 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
c7fb744
Merge pull request #6603 from psychic-spoon/psychic-spoonca-1.29-upda…
k8s-ci-robot Mar 11, 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
151923f
Bump default VPA version to 1.1.0
laoj2 Mar 25, 2024
7803cdd
Merge pull request #6696 from laoj2/vpa-release-1.1
k8s-ci-robot Apr 5, 2024
08b30b8
parentController may be nil when owner isn't scalable
voelzmo Apr 16, 2024
5a12cc9
Add tests for Pods owner that doesn't implement /scale
voelzmo Apr 17, 2024
eb37ce3
Merge pull request #6724 from voelzmo/fix/cherry-pick-fix-vpa-updater…
k8s-ci-robot Apr 18, 2024
7d2bd30
Bump VPA version to 1.1.1
kwiesmueller Apr 24, 2024
9999227
Merge pull request #6766 from kwiesmueller/vpa-release-1.1
k8s-ci-robot Apr 24, 2024
0bc73b3
Bump vpa version to 1.1.1
kwiesmueller Apr 25, 2024
b396895
Merge pull request #6772 from kwiesmueller/vpa-release-1.1
k8s-ci-robot Apr 25, 2024
d4ec2be
Merge tag 'vertical-pod-autoscaler-1.1.1' into vpa-1.1.1
mikkeloscar May 6, 2024
e821c6e
Update Go version and image build version
mikkeloscar May 6, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
24 changes: 22 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,29 @@ updates:
labels:
- "vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/builder"
directory: "/vertical-pod-autoscaler/pkg/recommender"
schedule:
interval: daily
open-pull-requests-limit: 10
open-pull-requests-limit: 3
labels:
- "vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/pkg/updater"
schedule:
interval: daily
open-pull-requests-limit: 3
labels:
- "vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/pkg/admission-controller"
schedule:
interval: daily
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.20.0'
go-version: '1.21.6'

- uses: actions/checkout@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# VSCode project files
**/.vscode
*.code-workspace

# Emacs save files
*~
Expand Down
4 changes: 3 additions & 1 deletion addon-resizer/OWNERS
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
approvers:
- kwiesmueller
- jbartosik
reviewers:
- kwiesmueller
- jbartosik
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
2 changes: 1 addition & 1 deletion builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.20.4
FROM golang:1.21.8
LABEL maintainer="Marcin Wielgus <[email protected]>"

ENV GOPATH /gopath/
Expand Down
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.27.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.29.3
version: 9.35.0
49 changes: 39 additions & 10 deletions charts/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,13 @@ To create a valid configuration, follow instructions for your cloud provider:

- [AWS](#aws---using-auto-discovery-of-tagged-instance-groups)
- [GCE](#gce)
- [Azure AKS](#azure-aks)
- [Azure](#azure)
- [OpenStack Magnum](#openstack-magnum)
- [Cluster API](#cluster-api)

### Templating the autoDiscovery.clusterName

The cluster name can be templated in the `autoDiscovery.clusterName` variable. This is useful when the cluster name is dynamically generated based on other values coming from external systems like Argo CD or Flux. This also allows you to use global Helm values to set the cluster name, e.g., `autoDiscovery.clusterName=\{\{ .Values.global.clusterName }}`, so that you don't need to set it in more than 1 location in the values file.

### AWS - Using auto-discovery of tagged instance groups

Expand Down Expand Up @@ -182,20 +187,18 @@ In the event you want to explicitly specify MIGs instead of using auto-discovery
--set autoscalingGroups[n].name=https://content.googleapis.com/compute/v1/projects/$PROJECTID/zones/$ZONENAME/instanceGroupManagers/$FULL-MIG-NAME,autoscalingGroups[n].maxSize=$MAXSIZE,autoscalingGroups[n].minSize=$MINSIZE
```

### Azure AKS
### Azure

The following parameters are required:

- `cloudProvider=azure`
- `autoscalingGroups[0].name=your-agent-pool,autoscalingGroups[0].maxSize=10,autoscalingGroups[0].minSize=1`
- `autoscalingGroups[0].name=your-vmss,autoscalingGroups[0].maxSize=10,autoscalingGroups[0].minSize=1`
- `azureClientID: "your-service-principal-app-id"`
- `azureClientSecret: "your-service-principal-client-secret"`
- `azureSubscriptionID: "your-azure-subscription-id"`
- `azureTenantID: "your-azure-tenant-id"`
- `azureClusterName: "your-aks-cluster-name"`
- `azureResourceGroup: "your-aks-cluster-resource-group-name"`
- `azureVMType: "AKS"`
- `azureNodeResourceGroup: "your-aks-cluster-node-resource-group"`
- `azureVMType: "vmss"`

### OpenStack Magnum

Expand Down Expand Up @@ -230,6 +233,32 @@ Additional config parameters available, see the `values.yaml` for more details
- `clusterAPIWorkloadKubeconfigPath`
- `clusterAPICloudConfigPath`

### Exoscale

The following parameters are required:

- `cloudProvider=exoscale`
- `autoDiscovery.clusterName=<CLUSTER NAME>`

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.

```console
$ kubectl create secret generic my-release-exoscale-cluster-autoscaler \
--from-literal=api-key="EXOxxxxxxxxxxxxxxxxxxxxxxxx" \
--from-literal=api-secret="xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --from-literal=api-zone="ch-gva-2"
```

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>
```

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.

## Uninstalling the Chart

To uninstall `my-release`:
Expand Down Expand Up @@ -353,14 +382,12 @@ vpa:
| 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` |
| 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` |
| 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 | `"AKS"` | Azure VM type. |
| azureVMType | string | `"vmss"` | Azure VM type. |
| 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. |
| 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` |
Expand All @@ -386,8 +413,9 @@ 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.27.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. |
| magnumClusterName | string | `""` | Cluster name or ID in Magnum. Required if `cloudProvider=magnum` and not setting `autoDiscovery.clusterName`. |
| nameOverride | string | `""` | String to partially override `cluster-autoscaler.fullname` template (will maintain the release name) |
Expand All @@ -411,6 +439,7 @@ vpa:
| rbac.serviceAccount.name | string | `""` | The name of the ServiceAccount to use. If not set and create is `true`, a name is generated using the fullname template. |
| 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 |
| securityContext | object | `{}` | [Security context for pod](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) |
| service.annotations | object | `{}` | Annotations to add to service |
Expand Down
41 changes: 35 additions & 6 deletions charts/cluster-autoscaler/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,13 @@ To create a valid configuration, follow instructions for your cloud provider:

- [AWS](#aws---using-auto-discovery-of-tagged-instance-groups)
- [GCE](#gce)
- [Azure AKS](#azure-aks)
- [Azure](#azure)
- [OpenStack Magnum](#openstack-magnum)
- [Cluster API](#cluster-api)

### Templating the autoDiscovery.clusterName

The cluster name can be templated in the `autoDiscovery.clusterName` variable. This is useful when the cluster name is dynamically generated based on other values coming from external systems like Argo CD or Flux. This also allows you to use global Helm values to set the cluster name, e.g., `autoDiscovery.clusterName=\{\{ .Values.global.clusterName }}`, so that you don't need to set it in more than 1 location in the values file.

### AWS - Using auto-discovery of tagged instance groups

Expand Down Expand Up @@ -182,20 +187,18 @@ In the event you want to explicitly specify MIGs instead of using auto-discovery
--set autoscalingGroups[n].name=https://content.googleapis.com/compute/v1/projects/$PROJECTID/zones/$ZONENAME/instanceGroupManagers/$FULL-MIG-NAME,autoscalingGroups[n].maxSize=$MAXSIZE,autoscalingGroups[n].minSize=$MINSIZE
```

### Azure AKS
### Azure

The following parameters are required:

- `cloudProvider=azure`
- `autoscalingGroups[0].name=your-agent-pool,autoscalingGroups[0].maxSize=10,autoscalingGroups[0].minSize=1`
- `autoscalingGroups[0].name=your-vmss,autoscalingGroups[0].maxSize=10,autoscalingGroups[0].minSize=1`
- `azureClientID: "your-service-principal-app-id"`
- `azureClientSecret: "your-service-principal-client-secret"`
- `azureSubscriptionID: "your-azure-subscription-id"`
- `azureTenantID: "your-azure-tenant-id"`
- `azureClusterName: "your-aks-cluster-name"`
- `azureResourceGroup: "your-aks-cluster-resource-group-name"`
- `azureVMType: "AKS"`
- `azureNodeResourceGroup: "your-aks-cluster-node-resource-group"`
- `azureVMType: "vmss"`

### OpenStack Magnum

Expand Down Expand Up @@ -230,6 +233,32 @@ Additional config parameters available, see the `values.yaml` for more details
- `clusterAPIWorkloadKubeconfigPath`
- `clusterAPICloudConfigPath`

### Exoscale

The following parameters are required:

- `cloudProvider=exoscale`
- `autoDiscovery.clusterName=<CLUSTER NAME>`

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.

```console
$ kubectl create secret generic my-release-exoscale-cluster-autoscaler \
--from-literal=api-key="EXOxxxxxxxxxxxxxxxxxxxxxxxx" \
--from-literal=api-secret="xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --from-literal=api-zone="ch-gva-2"
```

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>
```

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.

## Uninstalling the Chart

To uninstall `my-release`:
Expand Down
7 changes: 5 additions & 2 deletions charts/cluster-autoscaler/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ app.kubernetes.io/name: {{ include "cluster-autoscaler.name" . | quote }}


{{/*
Return labels, including instance and name.
Return labels, including instance, name and version.
*/}}
{{- 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 @@ -113,7 +116,7 @@ Return the autodiscoveryparameters for clusterapi.
*/}}
{{- define "cluster-autoscaler.capiAutodiscoveryConfig" -}}
{{- if .Values.autoDiscovery.clusterName -}}
{{- print "clusterName=" -}}{{ .Values.autoDiscovery.clusterName }}
{{- print "clusterName=" -}}{{ tpl (.Values.autoDiscovery.clusterName) . }}
{{- end -}}
{{- if and .Values.autoDiscovery.clusterName .Values.autoDiscovery.labels -}}
{{- print "," -}}
Expand Down
3 changes: 3 additions & 0 deletions charts/cluster-autoscaler/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ rules:
verbs:
- watch
- list
- create
- delete
- get
- update
- apiGroups:
Expand Down Expand Up @@ -120,6 +122,7 @@ rules:
verbs:
- list
- watch
- get
- apiGroups:
- coordination.k8s.io
resources:
Expand Down
Loading
Loading