Commit Graph

5809 Commits

Author SHA1 Message Date
Prachi Gandhi c77a4aca08 update cloud-provider-azure version for azure imports 2022-07-06 17:19:46 -07:00
Kubernetes Prow Robot 0fcbac8a8f
Merge pull request #4728 from moolen/feature/nonroot
feat: use non-root user for base-image
2022-07-05 18:09:20 -07:00
Kubernetes Prow Robot 042badcc37
Merge pull request #5004 from yaroslava-serdiuk/node-temlate-fix
GCE: Always add boot disk annotations to templates
2022-07-05 03:04:47 -07:00
Yaroslava Serdiuk dd488f0d6e GCE: Always add boot disk annotations to templates 2022-07-04 17:20:07 +00:00
Kubernetes Prow Robot af5fb0722b
Merge pull request #4896 from fookenc/master
Adding support for identifying nodes that have been deleted from cloud provider that are still registered within Kubernetes
2022-07-04 05:13:24 -07:00
Kubernetes Prow Robot de59b91dc4
Merge pull request #4993 from MaciekPytel/gce_machine_types
GCE: move fetching MachineType to MigInfoProvider
2022-06-29 07:26:06 -07:00
Maciek Pytel 6c8898b944 GCE: move fetching MachineType to MigInfoProvider
This allows more consistent error handling with other GCE API calls.
Also removed caching errors for MachineType API in cache.go, since
it was never never used anyway and it's inconsistent with error handling
for other APIs.
2022-06-29 15:44:45 +02:00
Kubernetes Prow Robot 3a301dbcbd
Merge pull request #4845 from shafeeqes/fix/kubeconfig
Fix a bug in admission-controller while using an external kubeconfig
2022-06-27 06:46:59 -07:00
Kubernetes Prow Robot 5745044ddf
Merge pull request #4990 from mikelo/issue.4285
switched policy for PodDisruptionBudget from v1beta1 to v1 in time for 1.25
2022-06-27 05:50:59 -07:00
Kubernetes Prow Robot abdb6dfaf0
Merge pull request #4985 from ruifaling/master
Update documentation for cluster-autoscaler supported cloud providers
2022-06-27 03:53:00 -07:00
Kubernetes Prow Robot c9ad734a63
Merge pull request #4987 from Shubham82/Correct_Link
Correct the Hyperlink of VPA design-proposal in README.
2022-06-27 03:30:58 -07:00
mikelo c127763a45 switched policy for PodDisruptionBudget from v1beta1 to v1 in time for 1.25 2022-06-24 19:13:03 +02:00
Kubernetes Prow Robot 6ce299ed36
Merge pull request #4941 from gjtempleton/CA-Chart-Cleanup-Maintainers
CA Chart - Cleanup Chart Maintainers
2022-06-24 02:34:58 -07:00
Shubham Kuchhal 8e09334680 Correct the link of VPA design-proposal in README. 2022-06-22 17:40:41 +05:30
ruifaling 78f9ac8d38 Update guide line documentation for cluster-autoscaler supported cloud providers 2022-06-22 11:07:21 +08:00
Kubernetes Prow Robot 8037b0f9f5
Merge pull request #4982 from towca/jtuznik/arch-fix
CA: GCE: Return UnknownArch from ToSystemArchitecture for invalid architectures
2022-06-21 05:27:43 -07:00
Kuba Tużnik 902a764ec0 CA: GCE: Return UnknownArch from ToSystemArchitecture for invalid architectures
PR #4973 changed ToSystemArchitecture behavior to return DefaultArch
instead of UnknownArch for invalid architectures. This kind of defaulting
makes sense while parsing KUBE_ENV, but prevents using the function
in contexts where an invalid architecture should result in an error.

This commit reverts ToSystemArchitecture to previous behavior, and
moves defaulting to the callsite.
2022-06-21 14:07:18 +02:00
Kubernetes Prow Robot 298beabcaa
Merge pull request #4971 from gjtempleton/CA-Image-Push-Support-Newer-Docker-Versions
CA - Push Image script - Support newer docker versions
2022-06-20 09:58:05 -07:00
Kubernetes Prow Robot 34dfd9af0a
Merge pull request #4970 from MaciekPytel/estimation_limiter
Binpacking can exit without packing all the pods
2022-06-20 08:48:05 -07:00
Maciek Pytel 5342f189f1 Check if pods fit on the new node in binpacking
Previously we've just assumed pod will always fit on a newly added node
during binpacking, because we've already checked that a pod fits on an
empty template node earlier in scale-up logic.
This assumption is incorrect, as it doesn't take into account potential
impact of other scheduling we've done in binpacking. For pods using
zonal Filters (such as PodTopologySpreading with zonal topology key) the
pod may no longer be able to schedule even on an empty node as a result
of earlier decisions we've made in binpacking.
2022-06-20 17:02:51 +02:00
Maciek Pytel ab891418f6 Limit binpacking based on #new_nodes or time
The binpacking algorithm is O(#pending_pods * #new_nodes) and
calculating a very large scale-up can get stuck for minutes or even
hours, leading to CA failing it's healthcheck and going down.
The new limiting prevents this scenario by stopping binpacking after
reaching specified threshold. Any pods that remain pending as a result
of shorter binpacking will be processed next autoscaler loop.

The thresholds used can be controlled with newly introduced flags:
--max-nodes-per-scaleup and --max-nodegroup-binpacking-duration. The
limiting can be disabled by setting both flags to 0 (not recommended,
especially for --max-nodegroup-binpacking-duration).
2022-06-20 17:02:51 +02:00
Maciek Pytel f599494f48 Add EstimationLimiter interface, update Estimator 2022-06-20 17:02:51 +02:00
Kubernetes Prow Robot 1968b7a26a
Merge pull request #4953 from voelzmo/fix/add-level-guard
Add level-guard to Recommender selector log statement
2022-06-17 05:06:31 -07:00
Marco Voelz 1369064807
Use V4 instead of V3 2022-06-17 10:09:41 +02:00
GuyTempleton 8e83371377
CA Chart - Cleanup Chart Maintainers 2022-06-16 14:54:20 +01:00
Kubernetes Prow Robot 9a76079a19
Merge pull request #4973 from olagacek/master
Handle gracefully empty arch in kube env.
2022-06-15 04:59:18 -07:00
Aleksandra Gacek 2592738262 Handle gracefully empty arch in kube env. 2022-06-15 13:22:59 +02:00
GuyTempleton 2f35f61299
CA - Push Image script - Support newer docker versions 2022-06-14 17:03:50 +01:00
Kubernetes Prow Robot ccd9b6b00c
Merge pull request #4955 from Andrius521/node-partition-size
Add support for passing os partition size when creating nodes
2022-06-14 02:09:34 -07:00
Kubernetes Prow Robot f47f68de3d
Merge pull request #4960 from voelzmo/patch-1
Adapt links to original design-proposal in README
2022-06-13 06:22:11 -07:00
Kubernetes Prow Robot 1489317b76
Merge pull request #4959 from BigDarkClown/pricing
Correct invalid GCE instances pricing
2022-06-13 06:20:12 -07:00
Andrius521 ecabfa2a18 Merge branch 'node-partition-size' of https://github.com/Andrius521/autoscaler into node-partition-size 2022-06-13 10:45:44 +03:00
Andrius521 d75685328f Merge branch 'node-partition-size' of https://github.com/Andrius521/autoscaler into node-partition-size 2022-06-13 10:43:59 +03:00
Marco Voelz 80cdf9fd55
Adapt links to original design-proposal in README
Design-proposals have been archived and are no longer available from the community repo.
2022-06-10 16:20:20 +02:00
Bartłomiej Wróblewski e83c8b4d8e Correct invalid GCE instances pricing 2022-06-10 13:14:11 +00:00
Andrius521 054ec9dd57 Merge branch 'node-partition-size' of https://github.com/Andrius521/autoscaler into node-partition-size 2022-06-09 10:21:14 +03:00
Andrius521 a35024e059 Add support for passing os partition size when creating nodes 2022-06-09 10:18:32 +03:00
Kubernetes Prow Robot a5601983c2
Merge pull request #4952 from Shubham82/fix-typo
Fixed Typo in aws_wrapper.go
2022-06-07 09:32:56 -07:00
Kubernetes Prow Robot fba0cc3015
Merge pull request #4949 from airbnb/drmorr--owner
add drmorr to AWS OWNERS
2022-06-07 09:30:56 -07:00
Marco Voelz cfae011867 Add level-guard to Recommender selector log statement 2022-06-07 10:30:24 +02:00
Shubham Kuchhal 4e79ff81f0 Fixed Typo in aws_wrapper.go 2022-06-07 12:56:38 +05:30
Kubernetes Prow Robot 5776dabded
Merge pull request #4948 from towca/jtuznik/act-fix-4
CA: fix flakiness in actuation.TestStartDeletion
2022-06-06 11:56:22 -07:00
David Morrison 98b8cc7aef add drmorr to AWS OWNERS 2022-06-06 09:24:11 -07:00
Kuba Tużnik 2598a39b1a CA: fix flakiness in actuation.TestStartDeletion
Part of the test verifies if all taint updates happened as expected.
The taints are verified asynchronously, and the test waits for exactly
as many taint updates as defined in the test case. A couple of test
cases were missing some expected updates (clearing the taint if
drain/deletion fails). The test could randomly fail if one of the
missing updates happened to apear before one of the expected updates.
This commit adds the missing expected updates, all should be accounted
for now.

This commit also adds a sync point to wait for all expected node
deletion results before asserting them. Without it, the test would
sometimes move to the assertion before the results were actually
reported.
2022-06-06 17:57:32 +02:00
Andrius521 532f77332e Add support for passing os partition size when creating nodes 2022-06-06 16:56:32 +03:00
Kubernetes Prow Robot 6cdb8da5e5
Merge pull request #4185 from sergeyshevch/feature/ca/hetzner-firewall
[CA]: hetzner cloud firewall feature
2022-06-06 06:46:23 -07:00
Joachim 34200f66ab
Increase default VPA version to 0.11.0 (#4929)
Issue tracking the release: #4889
2022-06-06 15:35:39 +02:00
Kubernetes Prow Robot f55d8ad337
Merge pull request #4921 from elmiko/event-duplication
add a flag to allow event duplication
2022-06-06 06:34:26 -07:00
Kubernetes Prow Robot 034235c365
Merge pull request #4914 from cw-sakamoto/master
[cluster-autoscaler][chart]fix chart for cluster-autoscaler priority-expander-configmap
2022-06-04 03:26:20 -07:00
Michael McCune 8c27f76933 add a flag to allow event duplication
this change brings in a new command line flag,
`--record-duplicated-events`, which allows a user to enable the
duplication of events bypassing the 5 minute de-duplication window.
2022-06-03 14:26:38 -04:00