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.29.2 #302

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1056 commits
Select commit Hold shift + click to select a range
60fcea2
clusterapi: Add 'watch' verb to scale-from-zero example
dlipovetsky Oct 6, 2023
834ec22
Merge pull request #6179 from dlipovetsky/master
k8s-ci-robot Oct 9, 2023
bc0e288
Merge pull request #6165 from pohly/binpacking-fix
k8s-ci-robot Oct 10, 2023
d7d33c7
Merge pull request #6178 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Oct 10, 2023
07df121
Merge pull request #6140 from alphajc/master
k8s-ci-robot Oct 10, 2023
e6ebe87
Merge pull request #6183 from dbonfigli/dbonfigli-owner
k8s-ci-robot Oct 10, 2023
e7bf3ec
Merge pull request #6134 from jackfrancis/azure-manager-env-ut
k8s-ci-robot Oct 10, 2023
1fee557
Update with make generate
ROunofF Sep 27, 2023
7cb08df
Add pdb filtering to remainingPdbTracker
artemvmin Sep 30, 2023
125e9c1
Convert replicated, system, not-safe-to-evict, and local storage pods…
artemvmin Sep 30, 2023
d6ee96d
Convert scale-down pdb check to drainability rule
artemvmin Sep 30, 2023
324a33e
Pass DeleteOptions once during default rule creation
artemvmin Oct 2, 2023
2fa6c26
Split out custom controller and common checks into separate drainabil…
artemvmin Oct 4, 2023
96e67ee
Filter out disabled drainability rules during creation
artemvmin Oct 6, 2023
084264c
Refactor GetPodsForDeletion logic and tests into simulator
artemvmin Oct 6, 2023
9a7459c
Fix custom controller drainability rule and add test coverage
artemvmin Oct 9, 2023
33e300f
Add unit test for long-terminating pod past grace period
artemvmin Oct 9, 2023
133fdc7
Merge pull request #6164 from artemvmin/scale-down-drainability
k8s-ci-robot Oct 11, 2023
48b481b
Removed node drainer, kept node termination handler
dumlutimuralp Oct 12, 2023
5c65c39
Merge pull request #6185 from ROunofF/master
k8s-ci-robot Oct 12, 2023
833e4cb
Add HasNodeGroupStartedScaleUp to cluster state registry.
hbostan Oct 3, 2023
3065285
Merge pull request #6169 from hbostan/master
k8s-ci-robot Oct 13, 2023
f115964
Add kwiesmueller to OWNERS
rsgowman Oct 16, 2023
3899147
Merge pull request #6198 from rsgowman/rsgowman/owners
k8s-ci-robot Oct 16, 2023
79c1ff4
Add information about provisioning-class-name annotation.
kisieland Oct 16, 2023
cc888a1
Merge pull request #6197 from kisieland/prov-req-annotation-fix
k8s-ci-robot Oct 17, 2023
e56c2d8
Remove redundant if branch
mikutas Oct 17, 2023
dab41cc
Merge pull request #6157 from mikutas/6156-informer
k8s-ci-robot Oct 18, 2023
87013c2
Add mechanism to override drainability status
artemvmin Oct 13, 2023
a0d56b3
Log drainability override
artemvmin Oct 16, 2023
3b70373
fix(cluster-autoscaler-chart): if secretKeyRefNameOverride is true, d…
jonwraymond Oct 18, 2023
7e0b682
fix: correct version bump
jonwraymond Oct 18, 2023
a3a29cf
Merge pull request #6196 from artemvmin/drain-blocking-rule
k8s-ci-robot Oct 19, 2023
ab4c5cb
Initialize default drainability rules
artemvmin Oct 19, 2023
e1408ed
feat: each node pool can now have different init configs
Silvest89 Oct 10, 2023
4103407
Merge pull request #6210 from artemvmin/set-drainability-rules
k8s-ci-robot Oct 19, 2023
54d3a4c
ClusterAPI: Allow overriding the kubernetes.io/arch label set by the …
aleskandro Aug 26, 2023
8c35e0a
Merge pull request #6066 from aleskandro/fix-default-label-arch
k8s-ci-robot Oct 19, 2023
f1a5ffe
Merge pull request #6184 from Silvest89/hetzner-provider-multi-node-p…
k8s-ci-robot Oct 20, 2023
83723e1
Update image builder to use Go 1.21.3
towca Oct 20, 2023
4872bdd
Merge pull request #6212 from kubernetes/towca-patch-1
k8s-ci-robot Oct 20, 2023
d532844
Add node-delete-delay-after-taint to FAQ
lisenet Oct 20, 2023
fe6eae5
Reports node taints.
piotrwrotniak Oct 17, 2023
ddaa9f0
Add debugging-snapshot-enabled back
lisenet Oct 20, 2023
d88664a
Rename comments, logs, structs, and vars from packet to equinix metal
aayushrangwala Sep 4, 2023
4c75ced
Rename types
aayushrangwala Sep 18, 2023
1ec0667
fix: provider name to be used in builder to provide backward compatib…
aayushrangwala Sep 21, 2023
e4a4747
Rename comments, logs, structs, and vars from packet to equinix metal
aayushrangwala Sep 4, 2023
b00ec61
Created a new env var for metal to replace/support packet env vars as…
aayushrangwala Sep 4, 2023
0d84ab6
Support backward compatibility for PACKET_MANAGER env var
aayushrangwala Oct 12, 2023
5cea330
Merge pull request #6201 from piotrwrotniak/addmetrics
k8s-ci-robot Oct 23, 2023
1e4cb18
fix: refactor cloud provider names
aayushrangwala Oct 23, 2023
1ff7028
Merge pull request #6206 from jonwraymond/fix-secret
k8s-ci-robot Oct 23, 2023
557b0f2
Merge pull request #6214 from lisenet/fix-add-node-delete-delay-after…
k8s-ci-robot Oct 23, 2023
6fd2cb5
Documents startup/status/ignore node taints.
piotrwrotniak Oct 20, 2023
69883a4
Adding price info for c3d
ndixita Oct 24, 2023
c068feb
Merge pull request #6218 from piotrwrotniak/adddocs
k8s-ci-robot Oct 24, 2023
57a4cef
Merge pull request #6219 from ndixita/master
k8s-ci-robot Oct 24, 2023
85e97c2
Bump CA golang to 1.21.3
azylinski Oct 24, 2023
f872258
Merge pull request #6085 from aayushrangwala/rename-metal-env
k8s-ci-robot Oct 26, 2023
4d8e654
Merge pull request #6220 from azylinski/bump-go-1.21
k8s-ci-robot Oct 26, 2023
d0e1546
cloudprovider/exoscale: update limits/quotas URL
irregulator Oct 30, 2023
cc348f1
Add the AppVersion to cluster-autoscaler.labels as app.kubernetes.io/…
jw-maynard Aug 3, 2023
1b69238
Bump version in chart.yaml
jw-maynard Aug 3, 2023
ffec40d
Merge pull request #5599 from voelzmo/enh/implement-eviction-behavior…
k8s-ci-robot Nov 2, 2023
db5e83b
Merge pull request #6233 from irregulator/master
k8s-ci-robot Nov 2, 2023
c7ec443
add note for CRD and RBAC handling for VPA (>=1.0.0)
wu0407 Nov 3, 2023
b7b45f7
feat(helm): add support for exoscale provider
thomasstxyz Nov 4, 2023
321eb9e
Add TOC link in README for EvictionRequirement example
voelzmo Nov 6, 2023
e134cb2
Fix 'evictionRequirements.resources' to be plural in yaml
voelzmo Nov 6, 2023
7f55435
Run 'hack/generate-crd-yamls.sh'
voelzmo Nov 6, 2023
383337e
Adapt AEP to have 'resources' in plural
voelzmo Nov 6, 2023
f229fb5
Remove deprecated dependency: gogo/protobuf
azylinski Nov 7, 2023
4470430
Fix klog formating directives in cluster-autoscaler package.
olagacek Nov 7, 2023
ec8f1ef
Update kubernetes dependencies to 1.29.0-alpha.3.
olagacek Nov 7, 2023
5bd2005
Change scheduler framework function names after recent refactor in
olagacek Nov 7, 2023
eda7809
Merge pull request #6255 from olagacek/master
k8s-ci-robot Nov 7, 2023
d4c6e2f
Merge pull request #6257 from olagacek/master
k8s-ci-robot Nov 7, 2023
0bf9dc0
Merge branch 'master' into rm-gogo-protobuf
azylinski Nov 8, 2023
185cae3
chore(helm): bump version of cluster-autoscaler
thomasstxyz Nov 8, 2023
c873215
chore(helm): docs, update README template
thomasstxyz Nov 8, 2023
51dec6e
Merge pull request #6253 from azylinski/rm-gogo-protobuf
k8s-ci-robot Nov 8, 2023
7ffb662
Fix capacityType label in AWS ManagedNodeGroup
sibucan Nov 8, 2023
2b1f29d
Cleanup: Remove deprecated github.com/golang/protobuf usage
azylinski Nov 7, 2023
f2b8272
Remove maps.Copy usage.
piotrwrotniak Nov 9, 2023
fe403c2
Merge pull request #6263 from piotrwrotniak/patch-1
k8s-ci-robot Nov 9, 2023
f03e98f
chore: upgrade vpa go and k8s dependencies
a7i Nov 7, 2023
185143d
ScaleUp is only ever called when there are unscheduled pods
grosser Nov 9, 2023
67ccba1
Merge pull request #6098 from wu0407/add-update-crd-note
k8s-ci-robot Nov 9, 2023
c3e33c7
Merge pull request #6258 from a7i/vpa-k8s-1.28
k8s-ci-robot Nov 9, 2023
f8d1c50
Bump golang from 1.21.2 to 1.21.4 in /vertical-pod-autoscaler/builder
dependabot[bot] Nov 9, 2023
b15b745
Disambiguate the resource usage node removal eligibility messages
shapirus Oct 24, 2023
9d4cc86
Merge pull request #6223 from shapirus/master
k8s-ci-robot Nov 10, 2023
edad525
Merge pull request #6254 from azylinski/rm-deprecated-golang-protobuf…
k8s-ci-robot Nov 10, 2023
747d0b9
Cleanup: Remove separate client for k8s events
azylinski Nov 6, 2023
e525b02
Merge pull request #6274 from azylinski/rm-separate-k8s-events-client
k8s-ci-robot Nov 14, 2023
dc3a239
Merge pull request #6249 from WhizUs/feat/helmchart-cloudprovider-exo…
k8s-ci-robot Nov 14, 2023
996bf06
Merge branch 'master' into add-version-labels
gjtempleton Nov 14, 2023
bb623b0
Update Chart.yaml
gjtempleton Nov 14, 2023
cb785f2
Merge pull request #6012 from jw-maynard/add-version-labels
k8s-ci-robot Nov 15, 2023
e836e47
Remove gce-expander-ephemeral-storage-support flag
azylinski Nov 14, 2023
ed84969
Merge pull request #6262 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Nov 15, 2023
53071ec
Add min/max/current asg size to log
mads-hartmann Nov 15, 2023
5c286e1
Clarify that log line updates cache, now AWS
mads-hartmann Nov 15, 2023
54bfbfa
Update README.md: Link to Cluster-API
guettli Oct 13, 2023
b8c7165
Merge pull request #6282 from mads-hartmann/mads/log-min-max-cur-size…
k8s-ci-robot Nov 15, 2023
0c48815
Merge pull request #6250 from voelzmo/enh/add-link-to-evictionrequire…
k8s-ci-robot Nov 15, 2023
6a7e6a2
Merge pull request #6194 from guettli/patch-2
k8s-ci-robot Nov 15, 2023
ed6ca63
azure: add owner-jackfrancis
gandhipr Nov 15, 2023
84b978a
Update OWNERS - typo
gandhipr Nov 15, 2023
82f85c2
Merge pull request #6288 from gandhipr/add-approver-azure-cas
k8s-ci-robot Nov 16, 2023
0dd7b86
Update README.md
dumlutimuralp Nov 16, 2023
f7b8072
Merge pull request #6192 from dumlutimuralp/patch-1
k8s-ci-robot Nov 16, 2023
909c140
Merge pull request #6266 from zendesk/grosser/clear
k8s-ci-robot Nov 16, 2023
841315f
Template the autoDiscovery.clusterName variable in the Helm chart
mtougeron Oct 11, 2023
4eacea0
Merge pull request #6189 from mtougeron/tpl-clusterName-in-chart
k8s-ci-robot Nov 16, 2023
db80037
fix: Add revisionHistoryLimit override to cluster-autoscaler
bodgit Nov 16, 2023
8de60c9
Merge pull request #6292 from bodgit/chart-enhancements
k8s-ci-robot Nov 17, 2023
2b8874d
allow users to avoid aws instance not found spam
grosser Nov 9, 2023
11c4b66
fix: alicloud the function NodeGroupForNode is incorrect
guopeng0 Nov 18, 2023
0b8bc74
Update README.md
AlexanderSerbul Nov 19, 2023
81eed96
Merge pull request #6265 from zendesk/grosser/spam
k8s-ci-robot Nov 20, 2023
4c53c20
fix: handle error when listing machines
ctrox Nov 20, 2023
705143a
AWS: cache instance requirements
alexanderConstantinescu Nov 3, 2023
7de0d94
fix: update node annotation used to limit log spam with valid key
brydoncheyney Nov 20, 2023
d706ef7
Merge pull request #6297 from AlexanderSerbul/patch-1
k8s-ci-robot Nov 20, 2023
670e145
Removes unnecessary check
piotrwrotniak Nov 20, 2023
dcaba44
Merge pull request #6298 from ninech/rancher-fix-nil-machines
k8s-ci-robot Nov 20, 2023
de44d78
Merge pull request #6275 from azylinski/rm-flag-ephemeral-storage-sup…
k8s-ci-robot Nov 21, 2023
0ca611a
Allow overriding domain suffix in GCE cloud provider.
olagacek Nov 15, 2023
0979221
Merge pull request #6284 from olagacek/master
k8s-ci-robot Nov 21, 2023
a6f57ba
chore(deps): update vendored hcloud-go to 2.4.0
apricote Nov 22, 2023
a1ab7b9
Add new pod list processors for clearing TPU requests & filtering out
atwamahmoud Oct 18, 2023
86ab017
Fix multiple comments and update flags
atwamahmoud Oct 31, 2023
cfbfaa2
Add new test for new behaviour and revert changes made to other tests
atwamahmoud Nov 7, 2023
4635a6d
Allow users to specify which schedulers to ignore
atwamahmoud Nov 8, 2023
a1ae4d3
Update flags, Improve tests readability & use Bypass instead of ignor…
atwamahmoud Nov 17, 2023
5115f12
Update static_autoscaler tests & handle pod list processors errors as…
atwamahmoud Nov 21, 2023
39245a5
Merge pull request #6235 from atwamahmoud/ignore-scheduler-processing
k8s-ci-robot Nov 22, 2023
8673628
Merge pull request #6251 from voelzmo/fix/evictionRequirements-in-crd
k8s-ci-robot Nov 22, 2023
54909eb
Fix: Include restartable init containers in Pod utilization calc
azylinski Oct 25, 2023
03bf1e6
Merge pull request #6225 from azylinski/fix-calc-pod-cpu-utilization
k8s-ci-robot Nov 23, 2023
4fd6e94
Implement ProvReq service
yaroslava-serdiuk Nov 17, 2023
1caf2dd
Set Go versions to the same settings kubernetes/kubernetes uses
towca Nov 24, 2023
9f87b78
Merge pull request #6317 from towca/jtuznik/go-bump
k8s-ci-robot Nov 24, 2023
cfbee9a
feat: implement kwok cloudprovider
vadasambar May 30, 2023
3e555b5
add unit test for function getScalingInstancesByGroup
guopeng0 Nov 26, 2023
6998fd2
Merge pull request #6299 from yaroslava-serdiuk/provreq
k8s-ci-robot Nov 27, 2023
e23e63a
Merge pull request #5820 from vadasambar/kwok-poc
k8s-ci-robot Nov 27, 2023
9e526ae
Azure: Remove AKS vmType
jackfrancis Sep 22, 2023
225fc33
Merge pull request #6308 from hetznercloud/bump-hcloud-go
k8s-ci-robot Nov 28, 2023
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
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
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
7c14b8f
Add VSCode workspace files to .gitignore
Jont828 Dec 12, 2023
a6f1c2b
Remove vpa/builder and switch dependabot updates to component Dockerf…
voelzmo 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
bb82ce3
Update VPA release README to reference 1.X VPA versions.
laoj2 Dec 20, 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
095ae9f
Update dependencies to kubernetes 1.29.0
MaciekPytel Dec 27, 2023
33fb788
Merge pull request #6398 from MaciekPytel/cluster-autoscaler-release-…
k8s-ci-robot Dec 27, 2023
3ca833d
[civo] Add Gpu count to node template
vishalanarase Dec 20, 2023
dc58627
Merge pull request #6404 from vishalanarase/cluster-autoscaler-releas…
k8s-ci-robot Dec 28, 2023
ae8f1e6
Restore flags for setting QPS limit in CA
jbartosik Dec 28, 2023
cf156de
Merge pull request #6409 from jbartosik/add-back-ca-rate-limiting
k8s-ci-robot Dec 29, 2023
146a1ab
Pass Burst and QPS client params to capi k8s clients
kdw174 Jan 2, 2024
57f8deb
Merge pull request #6438 from kdw174/capi-k8s-params-1.29
k8s-ci-robot Jan 23, 2024
da4e109
Dependency update for CA 1.29.1
MaciekPytel Jan 23, 2024
4b73b3e
Merge pull request #6466 from MaciekPytel/ca_1_29_1
k8s-ci-robot Jan 23, 2024
e05d34e
feat: support `--scale-down-delay-after-*` per nodegroup
vadasambar May 5, 2023
706373b
Backport #6522 [CA] Bump go version into CA1.29
Shubham82 Feb 12, 2024
9ad1d24
Backport #6491 and #6494 [CA] Add informer argument to the CloudProvi…
Shubham82 Mar 6, 2024
506b7e2
Merge pull request #6590 from Shubham82/cherry-picked-of-#6494_and_#6…
k8s-ci-robot Mar 7, 2024
da42fcc
Merge pull request #6617 from ionos-cloud/update-ionos-sdk
k8s-ci-robot Mar 13, 2024
642c18b
Merge pull request #6629 from ionos-cloud/update-ionos-sdk-1.29
k8s-ci-robot Mar 14, 2024
a522f41
Merge pull request #6526 from Shubham82/cherry-picked-of-#6522-upstre…
k8s-ci-robot Mar 15, 2024
aec9e1e
Merge pull request #6484 from vadasambar/chore/cherry-pick-scale-down…
k8s-ci-robot Mar 18, 2024
23b5eb8
CA - Update k/k vendor to 1.29.3
gjtempleton Mar 19, 2024
002321e
Merge pull request #6642 from gjtempleton/cluster-autoscaler-1.29-ven…
k8s-ci-robot Mar 20, 2024
88f3a9a
[v1.29][Hetzner] Fix missing ephemeral storage definition
Silvest89 Mar 4, 2024
46f04ae
Merge pull request #6673 from hetznercloud/hetzner-ephemeral-storage-…
k8s-ci-robot Apr 2, 2024
d665ce6
Use cache to track vms pools
wenxuan0923 Apr 4, 2024
dba6883
fx
wenxuan0923 Apr 4, 2024
cbdd49b
Add UTs
wenxuan0923 Apr 5, 2024
d1aa705
Fx boilder plate header
wenxuan0923 Apr 5, 2024
a454720
Add const
wenxuan0923 Apr 9, 2024
cca2f18
Rename vmsPoolSet
wenxuan0923 Apr 9, 2024
a7b4386
Merge pull request #6689 from wenxuan0923/wenx/add-vms-spec
k8s-ci-robot Apr 12, 2024
a1a8d39
[v1.29][Hetzner] Fix Autoscaling for worker nodes with invalid Provid…
maksim-paskal Apr 17, 2024
acfd0dd
Merge pull request #6720 from hetznercloud/hetzner-invalid-providerid…
k8s-ci-robot Apr 18, 2024
ad5190e
Merge branch 'upstream-release-1.29.0' into sync-upstream-v1.29.0
sssash18 Apr 22, 2024
963dd87
Sync with upstream v1.29.0
sssash18 Apr 24, 2024
d002137
Sync with upstream v1.29.0
sssash18 Apr 24, 2024
dbaab85
Gofmt format
sssash18 Apr 24, 2024
5567eec
Update go.mod for vpA
sssash18 Apr 24, 2024
6a3021d
Update go.mod for vpa/e2e
sssash18 Apr 24, 2024
6be4e88
Added mcm as exception in boilerplate
sssash18 Apr 24, 2024
1b95a4c
Added integration as exception in boilerplate
sssash18 Apr 24, 2024
e41730d
Updateed README for charts
sssash18 Apr 24, 2024
206917d
Merge branch 'machine-controller-manager-provider' into sync-upstream…
sssash18 Apr 25, 2024
71881be
Addressed review comments
sssash18 May 9, 2024
6a675ac
Addressed review comments
sssash18 May 10, 2024
de667fa
Addressed review comments
sssash18 May 10, 2024
1c89c6e
Addressed review comments
sssash18 May 10, 2024
fea4608
Improved log levels for better logging
sssash18 May 14, 2024
bd12c66
modified the log place
sssash18 May 14, 2024
877b57d
Added flags
sssash18 May 21, 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.
18 changes: 16 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,23 @@ 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"
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cluster-autoscaler/dev

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

# Emacs save files
*~
Expand All @@ -29,4 +30,7 @@ cluster-autoscaler/dev
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
.netrwhist

# Binary files
bin/
9 changes: 0 additions & 9 deletions LICENSES/BSD-2-Clause.txt
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
Copyright (c) <year> <owner>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11 changes: 0 additions & 11 deletions LICENSES/BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
Copyright (c) <year> <owner>.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9 changes: 0 additions & 9 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
MIT License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions addon-resizer/OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
approvers:
- kwiesmueller
- jbartosik
reviewers:
- kwiesmueller
- jbartosik
emeritus_approvers:
- bskiba # 2022-09-30
Expand Down
1 change: 1 addition & 0 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.


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

Expand Down
4 changes: 2 additions & 2 deletions charts/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.27.2
appVersion: 1.28.2
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.2
version: 9.34.1
47 changes: 39 additions & 8 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 @@ -360,7 +389,7 @@ vpa:
| 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 +415,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.28.2"` | 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 +441,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