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

Update to upstream latest #35

Open
wants to merge 2,580 commits into
base: master
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2580 commits
Select commit Hold shift + click to select a range
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
d3d079e
docs: precise AWS IAM policy example
blanchardma 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
6415be0
Fix unit tests
Jont828 Jan 16, 2024
e8ca5fd
Add support for edge zones in Azure provider
Jont828 Jan 11, 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
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
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
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
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
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
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.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/vpa_release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: VPA release
about: Create an issue for tracking VPA release
title: 'VPA release X.Y.Z'
labels: 'vertical-pod-autoscaler'
assignees: ''

---

Please follow instructions in
[RELEASE.md](https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/RELEASE.md) and note each
completed step on this issue.

Please provide any information that is related to the release:

- When we plan to do the release?
- Are there any issues / PRs blocking the release?
61 changes: 61 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature

Optionally add one or more of the following kinds if applicable:
/kind api-change
/kind deprecation
/kind failing-test
/kind flake
/kind regression
-->

#### What this PR does / why we need it:

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?
<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
```release-note

```

#### Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

<!--
This section can be blank if this pull request does not require a release note.

When adding links which point to resources within git repositories, like
KEPs or supporting documentation, please reference a specific commit and avoid
linking directly to the master branch. This ensures that links reference a
specific point in time, rather than a document that may change over time.

See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files

Please use the following format for linking documentation:
- [KEP]: <link>
- [Usage]: <link>
- [Other doc]: <link>
-->
```docs

```
36 changes: 36 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/vertical-pod-autoscaler"
schedule:
interval: daily
open-pull-requests-limit: 0 # setting this to 0 means only allowing security updates, see https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit
labels:
- "vertical-pod-autoscaler"
- package-ecosystem: docker
directory: "/vertical-pod-autoscaler/pkg/recommender"
schedule:
interval: daily
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
11 changes: 10 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ on:
env:
GOPATH: ${{ github.workspace }}/go

permissions:
contents: read

jobs:
test-and-verify:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: '1.22.1'

- uses: actions/checkout@v2
with:
Expand All @@ -26,11 +29,17 @@ jobs:
- name: Prepare
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/install-verify-tools.sh
env:
GO111MODULE: auto

- name: Verify
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/verify-all.sh -v
env:
GO111MODULE: auto

- name: Test
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler
run: hack/for-go-proj.sh test
env:
GO111MODULE: auto
8 changes: 7 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
permissions:
contents: read

jobs:
changes:
permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests
outputs:
charts: ${{ steps.filter.outputs.charts }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,7 +41,7 @@ jobs:
run: |
changed=$(ct list-changed)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "changed=true" >> $GITHUB_OUTPUT
fi
- if: steps.list-changed.outputs.changed == 'true'
name: Create kind cluster
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
permissions:
contents: read

jobs:
release:
permissions:
contents: write # for helm/chart-releaser-action to push chart release and create a release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
3 changes: 3 additions & 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 All @@ -28,3 +29,5 @@
Session.vim
.netrwhist

# Binary files
bin/
6 changes: 4 additions & 2 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
approvers:
- mwielgus
- maciekpytel
- bskiba
- gjtempleton
reviewers:
- mwielgus
- maciekpytel
- bskiba
- gjtempleton
emeritus_approvers:
- bskiba # 2022-09-30
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kubernetes Autoscaler

[![Build Status](https://travis-ci.org/kubernetes/autoscaler.svg?branch=master)](https://travis-ci.org/kubernetes/autoscaler) [![GoDoc Widget]][GoDoc]
[![Release Charts](https://github.com/kubernetes/autoscaler/actions/workflows/release.yaml/badge.svg)](https://github.com/kubernetes/autoscaler/actions/workflows/release.yaml) [![Tests](https://github.com/kubernetes/autoscaler/actions/workflows/ci.yaml/badge.svg)](https://github.com/kubernetes/autoscaler/actions/workflows/ci.yaml) [![GoDoc Widget]][GoDoc]

This repository contains autoscaling-related components for Kubernetes.

Expand Down
27 changes: 24 additions & 3 deletions addon-resizer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ IMGNAME = addon-resizer
IMAGE = $(REGISTRY)/$(IMGNAME)
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
TAG = 2.3
# The output type could either be docker (local), or registry.
OUTPUT_TYPE ?= docker

BASEIMAGE?=gcr.io/distroless/static:latest

Expand All @@ -37,14 +39,24 @@ all: all-container
sub-container-%:
$(MAKE) ARCH=$* container

sub-manifest-push-%:
$(MAKE) ARCH=$* manifest-push

sub-push-%:
$(MAKE) ARCH=$* push

all-container: test $(addprefix sub-container-,$(ALL_ARCH))

all-push: $(addprefix sub-push-,$(ALL_ARCH))
all-manifest-push: $(addprefix sub-manifest-push-,$(ALL_ARCH))
docker manifest push -p $(IMAGE):$(TAG)

all-push: $(addprefix sub-push-,$(ALL_ARCH)) all-manifest-push

buildx-setup:
docker buildx inspect img-builder > /dev/null || docker buildx create --name img-builder --use

container: .container-$(ARCH)
.container-$(ARCH):
.container-$(ARCH): buildx-setup
cp -r * $(TEMP_DIR)
cd $(TEMP_DIR) && sed -i 's|BASEIMAGE|$(BASEIMAGE)|g' Dockerfile

Expand All @@ -55,7 +67,11 @@ container: .container-$(ARCH)
cd /go/src/k8s.io/autoscaler/addon-resizer/ && \
CGO_ENABLED=0 GOARM=$(GOARM) GOARCH=$(ARCH) godep go build -a -installsuffix cgo --ldflags '-w -X k8s.io/autoscaler/addon-resizer/nanny.AddonResizerVersion=$(TAG)' -o $(TEMP_DIR)/pod_nanny main.go"

docker build -t $(MULTI_ARCH_IMG):$(TAG) $(TEMP_DIR)
docker buildx build \
--pull \
--platform linux/$(ARCH) \
--output=type=$(OUTPUT_TYPE) \
-t $(MULTI_ARCH_IMG):$(TAG) $(TEMP_DIR)

ifeq ($(ARCH), amd64)
# This is for to maintain the backward compatibility
Expand All @@ -77,6 +93,11 @@ ifeq ($(ARCH), amd64)
gcloud docker -- push $(IMAGE):$(TAG)
endif

manifest-push: .manifest-push-$(ARCH)
.manifest-push-$(ARCH):
docker manifest create --amend $(IMAGE):$(TAG) $(MULTI_ARCH_IMG):$(TAG) && \
docker manifest annotate --os=linux --arch=$(ARCH) $(IMAGE):$(TAG) $(MULTI_ARCH_IMG):$(TAG)

clean: $(addprefix sub-clean-,$(ALL_ARCH))
sub-clean-%:
docker rmi -f $(IMAGE)-$*:$(TAG) || true
Expand Down
13 changes: 9 additions & 4 deletions addon-resizer/OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
approvers:
- bskiba
- wojtek-t
- kwiesmueller
- jbartosik
reviewers:
- bskiba
- wojtek-t
- kwiesmueller
- jbartosik
emeritus_approvers:
- bskiba # 2022-09-30
- wojtek-t # 2022-09-30
labels:
- area/addon-resizer
8 changes: 4 additions & 4 deletions addon-resizer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ vertically scales the dependent container up and down. Currently the only
option is to scale it linearly based on the number of nodes, and it only works
for a singleton.

Currently recommended version is 1.8, on addon-resizer-release-1.8 branch. The latest version and Docker images are 2.1 pushed to:
Currently recommended version is 1.8, on addon-resizer-release-1.8 branch. The latest version and Docker images are 2.3 pushed to:

* gcr.io/google-containers/addon-resizer-amd64:2.1
* gcr.io/google-containers/addon-resizer-arm64:2.1
* gcr.io/google-containers/addon-resizer-arm:2.1
* gcr.io/google-containers/addon-resizer-amd64:2.3
* gcr.io/google-containers/addon-resizer-arm64:2.3
* gcr.io/google-containers/addon-resizer-arm:2.3

## Nanny program and arguments

Expand Down
46 changes: 36 additions & 10 deletions addon-resizer/deploy/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
spec:
serviceAccountName: pod-nanny
containers:
- image: k8s.gcr.io/addon-resizer:1.8.7
- image: registry.k8s.io/autoscaling/addon-resizer:1.8.14
imagePullPolicy: Always
name: pod-nanny
resources:
Expand Down Expand Up @@ -79,6 +79,37 @@ spec:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: default:pod-nanny
rules:
### --use-metrics=false
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
### --use-metrics=true
# - nonResourceURLs:
# - /metrics
# verbs:
# - get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: pod-nanny-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: default:pod-nanny
subjects:
- kind: ServiceAccount
name: pod-nanny
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: default:pod-nanny
namespace: default
Expand All @@ -87,33 +118,28 @@ rules:
- ""
resources:
- pods
- nodes
verbs:
- get
- list
- watch
- apiGroups:
- "apps"
resources:
- deployments
resourceNames:
- nanny-v1
verbs:
- get
- list
- update
- watch
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
kind: RoleBinding
metadata:
name: pod-nanny-binding
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
kind: Role
name: default:pod-nanny
subjects:
- kind: ServiceAccount
name: pod-nanny
namespace: default
---
Loading