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

OCPCLOUD-2060 Merge https://github.com/kubernetes/autoscaler:master (d3ec0c4) into master #256

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
402 commits
Select commit Hold shift + click to select a range
b9bbed2
Merge pull request #5502 from yaroslava-serdiuk/min-size-fix
k8s-ci-robot Feb 14, 2023
1f646e4
Add GetNodeGpuConfig to cloud provider
hbostan Feb 14, 2023
d3d52af
regenerate the ec2 instance types using latest metadata to fetch m7g/…
a7i Feb 14, 2023
2b602fc
Use GpuConfig in utilization calculations for scale-down
hbostan Feb 14, 2023
7cba0a0
Merge pull request #5459 from hbostan/master
k8s-ci-robot Feb 15, 2023
19487b0
Merge pull request #5508 from a7i/amir/aws-7g
k8s-ci-robot Feb 15, 2023
84f748f
Add support for VMSS Flex
manishsat Feb 15, 2023
dc23b9a
Added RBAC Permission to cherryservers.
Shubham82 Feb 16, 2023
0d3a642
fix(*): refresh node instance cache when nodegroup not found in delet…
qianlei90 Feb 16, 2023
6b9d55b
Decrease node group size only if the node pass resource check for sca…
yaroslava-serdiuk Feb 16, 2023
2f1c895
Merge pull request #5514 from yaroslava-serdiuk/min-size-fix
k8s-ci-robot Feb 16, 2023
5119b42
Added Uniform orchestrationMode in test cases
manishsat Feb 16, 2023
5bbfcd3
remove dead code in clusterapi provider tests
elmiko Feb 17, 2023
3141165
Merge pull request #5519 from elmiko/capi-remove-deadcode
k8s-ci-robot Feb 19, 2023
665af54
update FQA to add version in the pause container image due the latest…
cpanato Feb 20, 2023
655e6f4
bump CA chart image to 1.24
Feb 21, 2023
ace98cc
Fix a minor typo
fenggw-fnst Feb 21, 2023
274026b
Merge pull request #5517 from ism-k/bumpup/cluster-autoscaler-chart
k8s-ci-robot Feb 21, 2023
fb9e55b
Merge pull request #5482 from jbartosik/update-dep
k8s-ci-robot Feb 22, 2023
2ea2fb6
Add "resource_name" to scaled_up_gpu_nodes_total and scaled_down_gpu_…
hbostan Feb 17, 2023
03861a8
Merge pull request #5522 from cpanato/update-doc
k8s-ci-robot Feb 22, 2023
3922f49
Merge pull request #5523 from fenggw-fnst/typo
k8s-ci-robot Feb 22, 2023
c611acd
Merge pull request #5518 from kawych/metrics
k8s-ci-robot Feb 22, 2023
63161aa
Added support for in2 instance types
mmcclean-aws Feb 22, 2023
ee86ce4
added inf2 instance types to ec2 api.go and api-2.json files
mmcclean-aws Feb 22, 2023
7128367
Merge pull request #5382 from cnmcavoy/cmcavoy/scale-from-zero-with-l…
k8s-ci-robot Feb 22, 2023
b516e80
Merge pull request #5477 from BigDarkClown/taint
k8s-ci-robot Feb 23, 2023
bdf2dbe
Move PDBRemainingDisruptions to interface and rename it
BigDarkClown Feb 23, 2023
43b459b
Track PDBRemainingDisruptions in AutoscalingContext
BigDarkClown Feb 9, 2023
e8ba4bf
Merge pull request #5497 from BigDarkClown/pdb
k8s-ci-robot Feb 24, 2023
c8d6127
Merge pull request #5521 from qianlei90/fix-delete-panic
k8s-ci-robot Feb 27, 2023
346f553
upgrade vpa and vpa-e2e vendor to 1.26
kushagra98 Feb 27, 2023
5bbf9ec
fix tests due to vendor upgrade
kushagra98 Feb 27, 2023
be2da34
add script to upgrade vpa vendor
kushagra98 Feb 27, 2023
6526f55
Fix multiple recommenders example: deployment name
pbetkier Feb 28, 2023
b4504e3
Create enhancements directory for Addon Resizer
jbartosik Feb 28, 2023
f44fb9f
Merge pull request #5512 from Shubham82/add_RBAC_permissions_cherryse…
k8s-ci-robot Feb 28, 2023
edf8779
Merge pull request #5472 from DataDog/scaledown-nodedeletion-metric-fix
k8s-ci-robot Feb 28, 2023
401e994
cluster-autoscaler: add missing import to kubermark_other.go
mboersma Feb 28, 2023
946189f
Consider pods with emptydir volume in memory be evictable
askoriy Feb 16, 2023
98410d8
AWS: only look for InstanceRequirements when needed
bpineau Feb 28, 2023
6040d29
[cluster-api] Handle ignored errors
mboersma Feb 28, 2023
e83711b
Merge pull request #5539 from pbetkier/patch-1
k8s-ci-robot Mar 1, 2023
a35d6d2
Fix RemovalSimulation for parallel scale down
yaroslava-serdiuk Feb 28, 2023
849bb5f
Add limit for removable nodes count
yaroslava-serdiuk Mar 1, 2023
e1d9861
Merge pull request #5552 from yaroslava-serdiuk/scalability
k8s-ci-robot Mar 1, 2023
5cf8529
Update Ionos Cloud README and deploy example
avorima Jan 30, 2023
5e59ae7
Limit the rate of adding new uneeded nodes
x13n Mar 2, 2023
e551e1f
Merge pull request #5556 from x13n/fast-sd
k8s-ci-robot Mar 2, 2023
4608362
Delete unused return param
peaaceChoi Mar 3, 2023
82e8804
Fix continue condition
peaaceChoi Mar 3, 2023
dec8136
Add Snapshot() method to the NodeDeletionTracker
yaroslava-serdiuk Mar 3, 2023
fe52ef3
Add dependabot configuration for VPA
voelzmo Mar 6, 2023
63b0cad
Automatically apply VPA label to dependabot PRs
voelzmo Mar 6, 2023
4f31778
Merge pull request #5562 from yaroslava-serdiuk/deletions-in-progress
k8s-ci-robot Mar 6, 2023
6cf8c32
cluster-autoscaler: Add option to disable scale down of unready nodes
gregth Feb 5, 2023
b8ec430
Merge pull request #5559 from ionos-cloud/update-ionos-cloud-docs
k8s-ci-robot Mar 6, 2023
553ccf7
Merge pull request #5561 from peaaceChoi/remove-deepcopynode-err
k8s-ci-robot Mar 6, 2023
cc3283c
Merge pull request #4478 from damienleger/container_security_context
k8s-ci-robot Mar 6, 2023
759d49e
Merge remote-tracking branch 'upstream/master'
mmcclean-aws Mar 6, 2023
436c618
rolled back VPA files
mmcclean-aws Mar 6, 2023
eec71a6
Merge pull request #5549 from mboersma/fix-gpu-import
k8s-ci-robot Mar 7, 2023
40d8eef
Merge pull request #5545 from jbartosik/addon-resizer-kep
k8s-ci-robot Mar 7, 2023
64e725b
Cluster Autoscaler: GCE: add pricing info for C3
qiutongs Mar 7, 2023
0064842
add `hostNetwork` parameter
m99coder Mar 7, 2023
af27896
Merge pull request #5572 from qiutongs/master
k8s-ci-robot Mar 7, 2023
d20fe43
docs(README): Update information about EKS PrivateLink
gregth Mar 7, 2023
e226af3
Remove unused OOM Bump constants
voelzmo Mar 7, 2023
4f053f3
Switch to built-in Duration.truncate method
voelzmo Mar 7, 2023
562b977
Merge pull request #5463 from m99coder/patch-1
k8s-ci-robot Mar 8, 2023
cea9d1a
Add empty nodes sorting for scale down candidates
yaroslava-serdiuk Mar 8, 2023
205293a
Merge pull request #5537 from arrikto/feature-disable-unready-scaledown
k8s-ci-robot Mar 8, 2023
fdfd4e6
Removed whitespace
mmcclean-aws Mar 8, 2023
a553eb8
Merge pull request #5529 from mmcclean-aws/master
k8s-ci-robot Mar 8, 2023
2a6bfe6
Merge pull request #5575 from voelzmo/enh/cleanup-recommender
k8s-ci-robot Mar 9, 2023
3feca5c
chart: Add option to install VPA
avorima Mar 2, 2023
29e2554
Make updateMode configurable and update docs
avorima Mar 9, 2023
8f62427
Merge pull request #5574 from arrikto/feature-eks-readme
k8s-ci-robot Mar 9, 2023
b1b7f39
Merge pull request #5578 from yaroslava-serdiuk/empty-sorting
k8s-ci-robot Mar 9, 2023
9c7f989
CA - Document Debugging Snapshotter flag
gjtempleton Mar 9, 2023
0ac54e6
fix(ca/hetzner): specify application name & version
apricote Mar 9, 2023
c0219b2
Merge pull request #5536 from kushagra98/update-vendor-K8s-1.26
k8s-ci-robot Mar 10, 2023
0907390
fix(ovhcloud): Add mutex on NodeGroup.DeleteNodes to prevent outdated…
XavierDuthil Mar 10, 2023
3f7514c
fix(ovhcloud): Fix panic on concurrent read/write on manager cache
XavierDuthil Mar 7, 2023
ecf74e2
fix(ovhcloud): Add support for nodepool templating
XavierDuthil Mar 9, 2023
52f4de5
fix(sdk): For any call to api.ovh.com returning a 500 vendor, retry c…
XavierDuthil Jan 11, 2023
35f9d55
Introduce a regular patch release schedule for CA
MaciekPytel Mar 10, 2023
63b334f
Merge pull request #5581 from gjtempleton/CA-Document-Snapshotter-Flag
k8s-ci-robot Mar 10, 2023
5889a98
Simplify the GCE client FetchMigInstances function.
kisieland Mar 2, 2023
ee08e5b
Update the FetchMigInstances GCE call.
kisieland Mar 2, 2023
61f2700
Modified test case and added test case for Flex
manishsat Mar 13, 2023
acdeb92
docs: fix faq around expendable-pods-priority-cutoff
grosser Mar 14, 2023
1931ea6
Merge pull request #5557 from kisieland/gce-autopilot-client
k8s-ci-robot Mar 14, 2023
2be8f8e
Create core/scaleup package.
kisieland Mar 13, 2023
675ca31
Add ScaleUpManager interface
kisieland Mar 13, 2023
88cdd7a
ScaleUp logic refactors
kisieland Mar 13, 2023
3d796de
ScaleUpManager refactors
kisieland Mar 14, 2023
4805251
ScaleUpManager refactoring
kisieland Mar 15, 2023
7fee123
Fix controller-gen version in automatic download
voelzmo Mar 15, 2023
9cd44fd
ScaleUp wrapper tests refactor
kisieland Mar 15, 2023
c418175
Adding 'enableVmssFlex' feature flag.
manishsat Mar 15, 2023
7bb1f0f
Merge pull request #5589 from MaciekPytel/patch_release_schedule
k8s-ci-robot Mar 16, 2023
3ac07e7
Merge pull request #5593 from zendesk/grosser/doc
k8s-ci-robot Mar 16, 2023
205eeca
Merge pull request #5585 from XavierDuthil/ovhcloud/fix-crash-concurr…
k8s-ci-robot Mar 16, 2023
606ca3b
Merge pull request #5584 from XavierDuthil/ovhcloud/fix-multiple-scal…
k8s-ci-robot Mar 16, 2023
2c26427
Merge pull request #5583 from XavierDuthil/ovhcloud/fallback-to-canad…
k8s-ci-robot Mar 16, 2023
01972d2
Merge pull request #5586 from XavierDuthil/ovhcloud/add-support-for-n…
k8s-ci-robot Mar 16, 2023
57bd2bc
Merge pull request #5600 from voelzmo/fix/controller-gen-download-ver…
k8s-ci-robot Mar 16, 2023
49dca4d
baseURI for skuClient based on cloud
gandhipr Mar 1, 2023
785444a
Merge pull request #5603 from gandhipr/prachigandhi/cloud-based-uri-s…
k8s-ci-robot Mar 17, 2023
137bcf1
Merge pull request #5582 from hetznercloud/fix-version
k8s-ci-robot Mar 20, 2023
5b6c50e
Apply code reivew remarks:
kisieland Mar 17, 2023
b31b006
Merge pull request #5553 from mboersma/capi-err-checks
k8s-ci-robot Mar 21, 2023
241643d
Merge pull request #5597 from kisieland/scale-up-changes-v2
k8s-ci-robot Mar 21, 2023
b849ddf
Improvement: Added the Link for Mirror pods.
Shubham82 Mar 22, 2023
ff6fe58
feat: check only controller ref to decide if a pod is replicated
vadasambar Jan 13, 2023
9f8916d
Fallback f1 and g1 machine families to n1
jayantjain93 Mar 22, 2023
543fb03
Merge pull request #5610 from jayantjain93/fallback-machine-family
k8s-ci-robot Mar 22, 2023
1ea7fb0
link DaemonSet and Mirror Pods to k8s docs.
Shubham82 Mar 23, 2023
44771ef
Merge pull request #5609 from Shubham82/add-link-mirror_pod
k8s-ci-robot Mar 23, 2023
b8ba233
Merge pull request #5507 from vadasambar/feature/5387/allow-scale-dow…
k8s-ci-robot Mar 24, 2023
f953f5c
Fix typo & replace deprecated functions & replace literals with const…
hezhizhen Mar 24, 2023
d91bee9
Merge pull request #5613 from hezhizhen/chore
k8s-ci-robot Mar 24, 2023
0f51c06
Balancer controller impl
mwielgus Feb 10, 2023
dcf8f82
Merge pull request #5551 from askoriy/memory-volumes-evictable
k8s-ci-robot Mar 24, 2023
39e4d59
Merge pull request #5495 from mwielgus/controller-impl
k8s-ci-robot Mar 27, 2023
2042098
Make the "OOMing pods under VPA" test more robust.
kgolab Mar 24, 2023
52f6c67
Merge pull request #5621 from kgolab/master
k8s-ci-robot Mar 27, 2023
28a1abf
Merge pull request #5558 from ionos-cloud/add-vpa-to-chart
k8s-ci-robot Mar 27, 2023
4c4ff67
Fix the setup for allow containers to fail (they should be OOM-killed)
kgolab Mar 27, 2023
27cab2e
Merge pull request #5550 from DataDog/lt-overrides-and-instancetypere…
k8s-ci-robot Mar 27, 2023
a8d3229
Merge pull request #5623 from kgolab/master
k8s-ci-robot Mar 27, 2023
ea9ff4d
refactor as per feedback, added test case for Flex
manishsat Mar 27, 2023
3c414b8
Couple post-refactor clean-ups:
kisieland Mar 28, 2023
e29dff1
Merge pull request #5627 from kisieland/nit-fix
k8s-ci-robot Mar 29, 2023
0c29fdd
[GCE] default os_distribution to default if extraction from kube-env …
jayantjain93 Mar 29, 2023
568f695
Merge pull request #5635 from jayantjain93/fix-os-distribution
k8s-ci-robot Mar 29, 2023
0d167b4
Add Volcengine cloud provider support
dougsong Feb 16, 2023
2f5ea34
docs: fix invalid flag name
apricote Mar 30, 2023
e608038
Merge pull request #5638 from hetznercloud/docs-enforce-node-group-mi…
k8s-ci-robot Mar 30, 2023
1cb55fe
fix: implement function to identify if node is present in aws
vadasambar Mar 23, 2023
c7b707e
Switched from N1 to E2 machine
sarab97 Mar 31, 2023
63870ce
fix: update x/http and x/net packages for VPA
knechtionscoding Apr 3, 2023
9f25a89
Merge pull request #5567 from voelzmo/enh/vpa-dependabot
k8s-ci-robot Apr 3, 2023
ccb5db1
[helm chart] Upgrade Cluster Autoscaler chart to use Cluster Autoscal…
asherf Apr 3, 2023
3de4ffb
refactored to use buildCacheInstance for Uniform & Flex
manishsat Apr 3, 2023
70fd890
Merge pull request #5651 from asherf/upgrade
k8s-ci-robot Apr 4, 2023
943f1e8
Export couple of methods/functions:
kisieland Apr 4, 2023
d5d0a3c
Fix drain logic when skipNodesWithCustomControllerPods=false, set Nod…
BigDarkClown Apr 4, 2023
ad86bdd
Merge pull request #5653 from BigDarkClown/fix-drain
k8s-ci-robot Apr 4, 2023
5136b4b
Bump golang from 1.19.5 to 1.20.3 in /vertical-pod-autoscaler/builder
dependabot[bot] Apr 5, 2023
88bc588
Merge pull request #5662 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot Apr 6, 2023
dfaadfa
Merge pull request #5632 from vadasambar/fix/4456/identify-deleted-no…
k8s-ci-robot Apr 10, 2023
23843f7
Merge pull request #5641 from sarab97/machine-change
k8s-ci-robot Apr 11, 2023
fb425d8
Balancer - main.go and yamls
mwielgus Mar 31, 2023
f173888
Merge pull request #5643 from mwielgus/balancer-main
k8s-ci-robot Apr 12, 2023
6525fe3
chore(deps): update vendored hcloud-go to 1.42.0
apricote Mar 23, 2023
c3399dc
feat: predict LabelArchStable for new hetzner nodes
apricote Mar 23, 2023
6e94d1a
feat: select correct image by ARCH
apricote Mar 23, 2023
973426d
Merge pull request #5652 from kisieland/orchestrator-comments-fix
k8s-ci-robot Apr 12, 2023
17d2bd9
[clusterapi] Add support for MachinePools
mboersma Apr 11, 2023
1434023
[vpa] [recommender] use factories
dbenque Apr 12, 2023
1a37590
Merge pull request #4676 from mboersma/cluster-api-machinepools
k8s-ci-robot Apr 12, 2023
554f4e0
Add first pass for a shared oci implementation.
trungng92 Mar 7, 2023
b6c887c
Add FetchReservations to GCE Autoscaling client
azylinski Apr 6, 2023
76fc21e
Merge pull request #5666 from azylinski/gce-autoscaling-fetch-reserva…
k8s-ci-robot Apr 13, 2023
9ddc04d
Merge pull request #5677 from hetznercloud/arm
k8s-ci-robot Apr 13, 2023
1df7657
Allow custom checks on whether or not a pod can be drained.
x13n Apr 7, 2023
d8336cc
Merge pull request #5671 from x13n/pluggable-drain
k8s-ci-robot Apr 13, 2023
9613f30
Use cloud-provider-aws instead of legacy-cloud-providers/aws
olemarkus Aug 28, 2022
489e37c
Bump golang to 1.20
olemarkus Apr 14, 2023
500ea2a
Use go install instead of go get
olemarkus Apr 15, 2023
c16d259
Removing redundant misspell install command
olemarkus Apr 15, 2023
bdeb613
Merge remote-tracking branch 'upstream/master'
maximrub Apr 15, 2023
e006291
oidc clients tests
maximrub Apr 15, 2023
b939234
headers
maximrub Apr 16, 2023
b663f13
feat: add annotation to ignore local storage volume during scale down
vadasambar Mar 14, 2023
1009797
Merge pull request #5594 from vadasambar/feat/3947/ignore-some-local-…
k8s-ci-robot Apr 17, 2023
e572b85
Update cluster-autoscaler-autodiscover.yaml
cuong-ts Apr 17, 2023
3ad77e8
Add new method 'ReachedLimit' to EstimationLimiter
kisieland Apr 18, 2023
656f191
Limit refresh rate of GCE MIG instances.
olagacek Apr 5, 2023
cb9748c
Merge pull request #5138 from olemarkus/aws-provider
k8s-ci-robot Apr 18, 2023
5c3f810
Merge pull request #5665 from olagacek/master
k8s-ci-robot Apr 18, 2023
ca088d2
Move MaxNodeProvisionTime to NodeGroupAutoscalingOptions
morshielt Apr 2, 2023
71b489f
Merge pull request #5649 from morshielt/csr
k8s-ci-robot Apr 19, 2023
b8d40fd
Add status taints option to template creation
BigDarkClown Apr 5, 2023
9604756
Sanitize taints before scheduling DSs on template node infos
BigDarkClown Apr 5, 2023
299c963
Merge pull request #5659 from BigDarkClown/fix-pls
k8s-ci-robot Apr 19, 2023
a99da16
Incorporated comments
manishsat Apr 20, 2023
ed45027
renaming func to to align what is does.
manishsat Apr 21, 2023
4aee897
Merge pull request #5602 from manishsat/flex-support-without-newtype
k8s-ci-robot Apr 21, 2023
4adb656
chore: update docker image on example files
cuong-ts Apr 23, 2023
6e3bdda
Update cluster-autoscaler/cloudprovider/alicloud/alicloud_cloud_confi…
maximrub Apr 24, 2023
64c8342
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go…
maximrub Apr 24, 2023
acd12d1
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go…
maximrub Apr 24, 2023
5ad2edd
Update cluster-autoscaler/cloudprovider/alicloud/alibaba-cloud-sdk-go…
maximrub Apr 24, 2023
d00e56a
cr fixes
maximrub Apr 24, 2023
240ac79
Merge pull request #5340 from maximrub/master
k8s-ci-robot Apr 24, 2023
62d3c5b
Add a dedicated struct for the MaxResourceLimitReached Reasons
kisieland Apr 24, 2023
b207e20
Code Review 1: comment and alias
dbenque Apr 24, 2023
3ab6ead
Add support for tags on AWS managed nodegroups to indicate resources
tbalzer Mar 13, 2023
066315c
Add detection for VMs that fail provisioning to backoff that nodegrou…
domenicbozzuto Jan 30, 2023
512621f
Merge pull request #5577 from trungng92/add-oke-cloud-provider
k8s-ci-robot Apr 25, 2023
b63a123
refactored vultr node delete
happytreees Apr 25, 2023
0142a57
Merge pull request #5548 from DataDog/azure-fast-backoff
k8s-ci-robot Apr 25, 2023
398ffaf
Fix the buildTemplateLabels method for the ClusterApi provider
aleskandro Apr 18, 2023
7fecbcf
Extract 'SchedulablePods' method in orchestrator.
kisieland Apr 18, 2023
ccf44de
Merge pull request #5697 from aleskandro/fix-capi-build-generic-labels
k8s-ci-robot Apr 26, 2023
12b1dbd
Merge pull request #5706 from kisieland/skipped-reasons-abtract-max-r…
k8s-ci-robot Apr 26, 2023
fe10c53
Merge pull request #5696 from kisieland/orchestrator-update-expansion…
k8s-ci-robot Apr 26, 2023
5ad85b3
Merge pull request #5694 from kisieland/limiter-expand
k8s-ci-robot Apr 26, 2023
8e72470
Add subresource status for vpa
wu0407 Apr 27, 2023
9624e7d
Binpacking Estimator pod orderer
jayantjain93 Apr 26, 2023
8099d0d
Merge pull request #5713 from jayantjain93/pod-group-processor
k8s-ci-robot Apr 27, 2023
4930cf3
Revert commit 3ad77e8341eecc038ce9d706d20c0231b5eb7954
kisieland Apr 27, 2023
f87dbe5
Merge pull request #5715 from kisieland/revert-estimator-expansion
k8s-ci-robot Apr 28, 2023
5349699
Cluster Autoscaler: GCE: add pricing info for G2
ashaltu May 1, 2023
f1b4ba6
Update gce_price_info.go
ashaltu May 1, 2023
e6afdf1
upgrade OCI SDK from v55 to v65
streamnsight May 1, 2023
bba8808
Implement Workload Identity auth method
streamnsight May 1, 2023
999d4f9
Merge pull request #5717 from streamnsight/feature/use-workload-identity
k8s-ci-robot May 1, 2023
a5ccd81
Fix spacing issues.
ashaltu May 1, 2023
90c05f4
Merge pull request #5719 from ashaltu/master
k8s-ci-robot May 2, 2023
a3851b4
Merge pull request #5709 from happytreees/master
k8s-ci-robot May 2, 2023
38cb3d0
Merge pull request #5690 from cuong-ts/patch-1
k8s-ci-robot May 2, 2023
850a0a8
Merge pull request #5680 from wu0407/add-status-subresource
k8s-ci-robot May 2, 2023
632512c
Merge pull request #5637 from dougsong/master
k8s-ci-robot May 2, 2023
9051f27
Merge pull request #5676 from DataDog/david.benque/use-factory-from-main
k8s-ci-robot May 2, 2023
cf9ee01
Bump golang from 1.20.3 to 1.20.4 in /vertical-pod-autoscaler/builder
dependabot[bot] May 3, 2023
6cc73d9
fix ca deploy spec
silenceshell Apr 23, 2023
eb7b790
Merge pull request #5703 from silenceshell/fix-ca-deploy-spec
k8s-ci-robot May 4, 2023
f51a676
Merge pull request #5723 from kubernetes/dependabot/docker/vertical-p…
k8s-ci-robot May 4, 2023
cad686e
Merge pull request #5648 from knechtionscoding/fix/upgrade-net-http
k8s-ci-robot May 4, 2023
47117ad
Merge pull request #5596 from ExB-Group/aws-mng-ephemeral-storage-sca…
k8s-ci-robot May 7, 2023
549d4d2
Add missing trn1n ec2 instance
ff-apple May 8, 2023
b27a473
Revert "Add subresource status for vpa"
jbartosik May 8, 2023
004d3dd
Merge pull request #5735 from ff-apple/aws_master_trn
k8s-ci-robot May 8, 2023
d3ec0c4
Merge pull request #5738 from jbartosik/revert-subresource
k8s-ci-robot May 8, 2023
d9313d1
merge upstream/master into master
May 9, 2023
8aaa13b
UPSTREAM: <carry>: configure repository for OpenShift releases
elmiko Jul 13, 2021
f4b2d1c
UPSTREAM: <carry>: Rename FailureMessage to ErrorMessage
JoelSpeed Mar 27, 2020
e574616
UPSTREAM: <carry>: Handle old Machine API specific machine delete ann…
JoelSpeed May 31, 2022
0f9f184
UPSTREAM: <carry>: Have VPA ignore phantom containers named "POD"
joelsmith Feb 13, 2023
d188d4b
UPSTREAM: <carry>: remove deprecated go test command
elmiko Sep 16, 2022
d4d149e
UPSTREAM: <carry>: update os::util::list_test_packages_under
elmiko Sep 16, 2022
d203f41
UPSTREAM: <carry>: update cluster-autoscaler dockerfile
elmiko Sep 15, 2022
4b7aa8d
UPSTREAM: <carry>: Use mod vendor for go test script
JoelSpeed May 11, 2023
e0720a7
UPSTREAM: <carry>: Add vendor for balancer
JoelSpeed May 11, 2023
fc3c323
UPSTREAM: <carry>: add machine api label and taint functionality
elmiko Feb 16, 2023
c74af56
UPSTREAM: <carry>: revert capacity annotations
elmiko Sep 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
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
@@ -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?
6 changes: 0 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -1,9 +1,3 @@
#### Which component this PR applies to?

<!--
Which autoscaling component hosted in this repository (cluster-autoscaler, vertical-pod-autoscaler, addon-resizer, helm charts) this PR applies to?
-->

#### What type of PR is this?

<!--
Expand Down
16 changes: 16 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,16 @@
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/builder"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "vertical-pod-autoscaler"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
go-version: '>=1.20.0'

- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Expand Up @@ -41,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
2 changes: 1 addition & 1 deletion addon-resizer/deploy/example.yaml
Expand Up @@ -41,7 +41,7 @@ spec:
spec:
serviceAccountName: pod-nanny
containers:
- image: k8s.gcr.io/autoscaling/addon-resizer:1.8.14
- image: registry.k8s.io/autoscaling/addon-resizer:1.8.14
imagePullPolicy: Always
name: pod-nanny
resources:
Expand Down
1 change: 1 addition & 0 deletions addon-resizer/enhancements/README.md
@@ -0,0 +1 @@
Lightweight enhancements proposals for Addon Resizer. Please use [KEP template](https://github.com/kubernetes/enhancements/blob/master/keps/NNNN-kep-template/README.md) as guidance.
6 changes: 6 additions & 0 deletions balancer/Dockerfile
@@ -0,0 +1,6 @@
FROM gcr.io/distroless/static:latest
MAINTAINER Marcin Wielgus "mwielgus@google.com"

COPY balancer /

ENTRYPOINT ["/balancer"]
59 changes: 59 additions & 0 deletions balancer/Makefile
@@ -0,0 +1,59 @@
all: build

FLAGS=
OFFICIAL_NAME=balancer

build: clean
go build .

build-linux-amd64: clean
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build .

test-unit: clean
go test --test.short -race ./... $(FLAGS)

docker-build:
ifndef REGISTRY
ERR = $(error REGISTRY is undefined)
$(ERR)
endif
ifndef TAG
ERR = $(error TAG is undefined)
$(ERR)
endif
docker build --pull -t ${REGISTRY}/${OFFICIAL_NAME}:${TAG} .

docker-push:
ifndef REGISTRY
ERR = $(error REGISTRY is undefined)
$(ERR)
endif
ifndef TAG
ERR = $(error TAG is undefined)
$(ERR)
endif
docker push ${REGISTRY}/${OFFICIAL_NAME}:${TAG}

docker-builder:
docker build -t vpa-autoscaling-builder ../vertical-pod-autoscaler/builder

build-in-docker: clean docker-builder
docker run -v `pwd`/..:/gopath/src/k8s.io/autoscaler vpa-autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/balancer && make build-linux-amd64'

build-image-in-docker: build-in-docker docker-build

test-in-docker: build-in-docker
docker run -v `pwd`/..:/gopath/src/k8s.io/autoscaler vpa-autoscaling-builder:latest bash -c 'cd /gopath/src/k8s.io/autoscaler/balancer && make test-unit'

release: build-image-in-docker docker-push
@echo "Full in-docker release ${OFFICIAL_NAME}:${TAG} completed"

clean:
rm -f balancer

format:
test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -d {} + | tee /dev/stderr)" || \
test -z "$$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -s -w {} + | tee /dev/stderr)"

.PHONY: all build test-unit clean format release

89 changes: 89 additions & 0 deletions balancer/deploy/controller.yaml
@@ -0,0 +1,89 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: balancer-controller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: balancer-controller
namespace: kube-system
rules:
- apiGroups:
- balancer.x-k8s.io
resources:
- balancers
verbs:
- get
- list
- watch
- patch
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- deployments/scale
verbs:
- get
- list
- watch
- patch
- update
- apiGroups:
- ""
resources:
- events
verbs:
- get
- list
- watch
- create
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: balancer-controller
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: balancer-controller
subjects:
- kind: ServiceAccount
name: balancer-controller
namespace: kube-system
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: balancer-controller
namespace: kube-system
spec:
replicas: 1
selector:
matchLabels:
app: balancer-controller
template:
metadata:
labels:
app: balancer-controller
spec:
serviceAccountName: balancer-controller
containers:
- name: controller
image: gcr.io/gke-autoscaling-gcr/balancer:0.1.1
imagePullPolicy: Always
args: ["-v","4"]
resources:
requests:
cpu: 100m