Commit Graph

5208 Commits

Author SHA1 Message Date
Aleksandra Gacek a7660c1f5a Set PodsTriggeredScaleUp field for failed scale ups. 2021-10-15 12:38:51 +02:00
Kubernetes Prow Robot c7c14381f5
Merge pull request #4391 from jayantjain93/scale-from-0-processer
Introduce Empty Cluster Processor
2021-10-13 06:59:51 -07:00
Jayant Jain da5ff3d971 Introduce Empty Cluster Processor
This refactors the handling of cases when the cluster is empty/not ready by CA into a processors in empty_cluster_processor.go
2021-10-13 13:30:30 +00:00
Kubernetes Prow Robot c4a9731a7b
Merge pull request #4392 from olagacek/master
Extend ScaleUpStatus with node groups that failed scale up.
2021-10-13 04:17:50 -07:00
Aleksandra Gacek b5677acc80 Extend ScaleUpStatus with node groups that failed scale up. 2021-10-13 12:53:43 +02:00
Kubernetes Prow Robot 0108e886a2
Merge pull request #4390 from yaroslava-serdiuk/log
Add descriptive log for pre_filtering_processor
2021-10-07 19:11:50 -07:00
Kubernetes Prow Robot 9e63892f86
Merge pull request #4359 from cparik/4358-Add-fsGroup-Security-Context
Issue#4358 - Add fsGroup to security context of autoscaler pod
2021-10-07 05:31:45 -07:00
Kubernetes Prow Robot b3e2085d86
Merge pull request #4387 from MyannaHarris/aws_readme_tags
[AWS EKS - Scale-to-0] Update README to include warning about eks:nodegroup-name tag
2021-10-06 10:18:40 -07:00
MyannaHarris 602bd4d014 [AWS EKS - Scale-to-0] Update README to include warning about eks:nodegroup-name tag 2021-10-06 10:03:17 -07:00
Yaroslava Serdiuk 511d47a6f2 Add descriptive log for pre_filtering_processor 2021-10-06 14:41:43 +00:00
Kubernetes Prow Robot 062fb7b43d
Merge pull request #4304 from MyannaHarris/aws-check-mng-tags
[AWS EKS - Scale-to-0] Add check for the AWS EKS tags on the ASG
2021-10-04 15:53:49 -07:00
MyannaHarris 6a14e6eb60 [AWS EKS - Scale-to-0] Add check for the AWS EKS tags on the ASG
This change is the first change for the AWS EKS Managed Nodegroups support for scale-to-0 changes in the cluster autoscaler. It checks for the AWS EKS specific tags that we automaticaly add for Managed Nodegroups.

Variable name update in test Co-authored-by: Guy Templeton <guyjtempleton@googlemail.com>
2021-10-04 15:30:22 -07:00
Kubernetes Prow Robot 83192a72c9
Merge pull request #4329 from jbartosik/multi-recommender-kep-1
Adjust KEP for customized recommender
2021-10-04 06:51:08 -07:00
Kubernetes Prow Robot 9cb8193068
Merge pull request #4354 from DataDog/fix-expanders-tests
fix expanders unit tests
2021-09-29 06:40:50 -07:00
Chetan Parik c378fc159d Issue#4358 - Add fsGroup to security context of autoscaler pod 2021-09-28 06:22:20 +00:00
Benjamin Pineau 874cad0c79 Fix expanders unit tests
The github action hooks didn't run the unit tests on the expanders
update in #4233 (likely the known "tests don't run automatically for
new contributor" limitation).

NewStrategy became NewFilter, with a BestOptions (plural) method,
and returns a Options slice instead of a single Option.
2021-09-27 16:00:53 +02:00
Kubernetes Prow Robot 82bdc4a07e
Merge pull request #4233 from ryanmcnamara/rm/expander-chain
Allow specification of multiple expanders
2021-09-24 01:15:23 -07:00
Ryan McNamara 068af5bf7e Allow specification of multiple expanders
Multiple expanders can now be specified, expanders now "filter to the
tied for best" instead of "selecting the best" so the output of one
expander is now fed to the input of the next. Each expander may only
be used once to disallow bad configuration. This should not be a change
in functionality as in the event of a tie the random expander is still
used.
2021-09-23 14:31:39 -06:00
Kubernetes Prow Robot 24f6ad401e
Merge pull request #4347 from towca/jtuznik/t2d
Cluster Autoscaler: GCE: add pricing info for T2D
2021-09-23 01:57:11 -07:00
Kubernetes Prow Robot f74babc6df
Merge pull request #4330 from davidjumani/patch-1
Update image for cloudstack cluster-autoscaler
2021-09-23 00:35:11 -07:00
Jakub Tużnik 5111199559 Cluster Autoscaler: GCE: add pricing info for T2D 2021-09-22 19:47:18 +02:00
Kubernetes Prow Robot 7e6e0f90bf
Merge pull request #4295 from pohly/azure-cli-credentials
azure: support CLI credentials instead of service principal
2021-09-21 17:06:00 -07:00
Patrick Ohly 9d512397cd azure: support CLI credentials instead of service principal
During development it is simpler to reuse the existing credentials. Also, some
setups with Active Directory make it hard to create a service principal because
that depends on additional privileges.
2021-09-21 07:44:02 +02:00
Kubernetes Prow Robot b434c57277
Merge pull request #4338 from nqn/Standard_ND96asr_v4
Add Standard_ND96asr_v4
2021-09-20 18:30:23 -07:00
Kubernetes Prow Robot 6586d0c1ad
Merge pull request #4303 from damienleger/priorityclass-securitycontext
[CA] [AWS examples] Add priorityClassName & securityContext & upgrade image
2021-09-20 01:14:09 -07:00
Joachim Bartosik 23902caec6 Address review comments 2021-09-17 19:19:59 +03:00
Kubernetes Prow Robot bb860357f6
Merge pull request #4341 from jbartosik/fix-test
Fix cluster feeder test
2021-09-17 09:13:00 -07:00
Joachim Bartosik 0c23868401 Fix cluster feeder test
I didn't update one call to `model.NewClusterState` in #4308. Fix it.
2021-09-17 18:53:32 +03:00
Niklas Q Nielsen 2b484930e2 Add Standard_ND96asr_v4 2021-09-16 16:10:03 -07:00
Kubernetes Prow Robot 68a7d27b84
Merge pull request #4302 from jbartosik/cluster-state-self-cleanup
Rate limit garbage collection inside `ClusterState`
2021-09-16 03:27:45 -07:00
Kubernetes Prow Robot 6cff594c3d
Merge pull request #4335 from jbartosik/reduce-log-spam
Make logs about managing cache less verbose
2021-09-16 02:51:46 -07:00
Joachim Bartosik 3b3505425f Make logs about managing cache less verbose 2021-09-16 10:06:43 +02:00
davidjumani a5d7c1c719
Update image for cloudstack cluster-autoscaler 2021-09-15 11:57:54 +05:30
Joachim Bartosik 5f00de699b Adjust KEP for customized recommender
Use a list of structs instead of a list of strings to choose
recommenders.

This will allow us to pass parameters to recommenders (if we decide we
want to allow that).

Related to #3913
2021-09-15 08:05:24 +02:00
Kubernetes Prow Robot 3255cee5e1
Merge pull request #4328 from olagacek/master
Use custom spam filtering function in event recorder.
2021-09-14 06:01:08 -07:00
Aleksandra Gacek 8939cb700c Use custom spam filtering function to event recorder. 2021-09-14 14:42:24 +02:00
Kubernetes Prow Robot d1aee4a266
Merge pull request #4327 from olagacek/master
Update k8s dependencies to 1.23.0-alpha.1 in CA.
2021-09-14 02:35:07 -07:00
Aleksandra Gacek 7034b12b89 Update k8s dependencies to 1.23.0-alpha.1 in CA. 2021-09-14 11:15:54 +02:00
Kubernetes Prow Robot 10451c2032
Merge pull request #4324 from MaciekPytel/param_order
Change parameter order of TemplateNodeInfoProvider
2021-09-14 01:57:09 -07:00
Kubernetes Prow Robot ae8faf8f3e
Merge pull request #4322 from towca/jtuznik/spot
Cluster Autoscaler: GCE: Add support for Spot VMs
2021-09-13 07:20:07 -07:00
Maciek Pytel a0109324a2 Change parameter order of TemplateNodeInfoProvider
Every other processors (and, I think, function in CA?) that takes
AutoscalingContext has it as first parameter. Changing the new processor
for consistency.
2021-09-13 15:08:14 +02:00
Kubernetes Prow Robot 39b10bf7a7
Merge pull request #4191 from DataDog/nodeinfoprovider-processor
Move GetNodeInfosForGroups to it's own processor
2021-09-13 05:40:07 -07:00
Jakub Tużnik 0427bb0f2b Cluster Autoscaler: GCE: Add support for Spot VMs 2021-09-10 23:36:08 +02:00
Damien LEGER 6df9e9876f Use v1.21.0 in all examples to match last EKS minor version available 2021-09-09 08:44:23 +00:00
Kubernetes Prow Robot 0f3e441c5a
Merge pull request #4229 from stevehipwell/ca-aws-tag-docs
[ca] Update AWS docs for ASG tags
2021-09-09 01:04:10 -07:00
Kubernetes Prow Robot 3c9ee8a86b
Merge pull request #4298 from MaxRink/fix-cluster-autoscaler-helmchart-4297
[CA][HELM]fix not being able to set args without value
2021-09-09 01:02:10 -07:00
Kubernetes Prow Robot ecf0241cec
Merge pull request #4308 from jbartosik/upadte-vpa-e2e-deps
Update VPA e2e dependencies
2021-09-08 01:23:20 -07:00
Joachim Bartosik 87b262b743 Update vpa e2e vendor 2021-09-06 22:53:41 +02:00
Joachim Bartosik 136eaa9340 Update vpa e2e go/mod and go.sum 2021-09-06 22:53:40 +02:00
Joachim Bartosik a6bb213ca9 Update VPA e2e dependencies so they will work with 1.20 K8s
1. IsRetryableAPIError is no longer needed, stop using it
https://github.com/kubernetes/kubernetes/pull/95495
2. LogClusterImageSources is now private, stop using it
https://github.com/kubernetes/kubernetes/pull/89676
3. DeleteResourceAndWaitForGC was moved
4. k8s.io/kubernetes/test/e2e/manifest was moved
2021-09-06 22:53:15 +02:00