Commit Graph

2289 Commits

Author SHA1 Message Date
Shatil Rafiullah a36f8007af Read AWS Region from EC2 Metadata
Tackles kubernetes/autoscaler#1208. EC2 Metadata helpfully supplies AWS
Region info, so rather than _requiring_ an environment variable, this
patch enables `aws_manager.go` to retrieve that information from EC2
itself.

Example YAMLs no longer reference the vestigial `AWS_REGION` environment
variable, but supplying it to `cluster-autoscaler` still relays it to
the AWS SDK like before.
2018-09-28 22:45:34 -07:00
k8s-ci-robot e14f2670e9
Merge pull request #1264 from MIBc/patch-1
Add kube-state-metrics which uses addon-resizer
2018-09-27 05:06:20 -07:00
k8s-ci-robot c9950113f7
Merge pull request #1269 from WebSpider/parameter_documentation
Adds a FAQ entry with all commandline parameters
2018-09-27 05:05:03 -07:00
k8s-ci-robot fd73b0edde
Merge pull request #1272 from schylek/master
VPA - sort conditions on VPA object to avoid floating elements
2018-09-25 03:21:24 -07:00
k8s-ci-robot 8b524a55c9
Merge pull request #1273 from mikeweiwei/my_fix
fix logging calls(cloud_provider_builder.go)
2018-09-25 01:41:35 -07:00
mikeweiwei 4ae1de0a1a fix logging calls(cloud_provider_builder.go) 2018-09-25 16:12:06 +08:00
Slawomir Chylek 59cabaddb9 VPA - sort conditions on VPA object to avoid floating elements 2018-09-25 06:32:36 +02:00
Nils Vogels 469e2d3ac6 Replace go-type defaults with readable text
Add missing parameters (thanks @xmik)
2018-09-23 23:56:29 +02:00
Nils Vogels 94ca3a9e55 Adds a FAQ entry with all commandline parameters 2018-09-23 09:48:31 +02:00
Lv Jiawei 00735aed0e
Add kube-state-metrics which uses addon-resizer
Can we add kube-state-metrics which also use addon-resizer to improve its performance:
https://github.com/kubernetes/kube-state-metrics/blob/master/kubernetes/kube-state-metrics-deployment.yaml#L34
2018-09-21 17:01:37 +08:00
k8s-ci-robot 97acd14b96
Merge pull request #1256 from towca/feat/jtuznik/scale-status
Refactor the scale-(up|down) status processors so that they have more…
2018-09-20 09:05:47 -07:00
k8s-ci-robot 3099aa1265
Merge pull request #1261 from johanneswuerbach/batch-asg-fetch
Fetch ASG names in chunks of 50
2018-09-20 08:33:46 -07:00
Jakub Tużnik 8179e4e716 Refactor the scale-(up|down) status processors so that they have more info available
Replace the simple boolean ScaledUp property of ScaleUpStatus with a more
comprehensive ScaleUpResult. Add more possible values to ScaleDownResult.
Refactor the processors execution so that they are always executed every
iteration, even if RunOnce exits earlier.
2018-09-20 17:12:02 +02:00
k8s-ci-robot 556029ad8d
Merge pull request #1255 from towca/feat/jtuznik/original-reasons
Add the ability to retrieve the original reasons from a PredicateError
2018-09-20 07:12:37 -07:00
Johannes Würbach e29bddc483
Fetch ASG names in chunks of 50 2018-09-20 12:18:41 +02:00
k8s-ci-robot 1e24f65015
Merge pull request #1260 from kgolab/kg-vpa-liveness
Add simple health-check to all VPA components.
2018-09-19 09:28:13 -07:00
Jakub Tużnik 8a7338e6d8 Add the ability to retrieve the original reasons from a PredicateError 2018-09-19 17:31:34 +02:00
k8s-ci-robot 1fa94e35f0
Merge pull request #1254 from losipiuk/lo/muzon2
NodeGroupManager.CreateNodeGroup can return extra created node groups.
2018-09-19 07:35:52 -07:00
Karol Gołąb e56e5c7522 Add simple health-check to all VPA components. 2018-09-19 16:03:29 +02:00
Łukasz Osipiuk bf8cfef10b NodeGroupManager.CreateNodeGroup can return extra created node groups. 2018-09-19 13:55:51 +02:00
k8s-ci-robot 4881e7b1ba
Merge pull request #1259 from mikeweiwei/my_fix
fix logging calls(cloud_provider_builder.go)
2018-09-19 04:53:11 -07:00
mikeweiwei 10333ad872 fix logging calls(cloud_provider_builder.go) 2018-09-19 18:01:27 +08:00
k8s-ci-robot 107710445c
Merge pull request #1257 from kgolab/vpa-validation
Add CRD validation.
2018-09-19 01:24:29 -07:00
Karol Gołąb c9d06fe93f Add CRD validation.
Formatting rules are checked via deserialization from JSON.
Logical rules are checked explicitly.

Enums are checked in go code to avoid problems with old kubectl
which don't support enums nor arrays in CRD validation.
2018-09-18 23:43:45 +02:00
k8s-ci-robot dd92706b69
Merge pull request #1253 from mikeweiwei/my_fix
fix logging calls(azure_container_service_pool.go)
2018-09-18 04:38:07 -07:00
mikeweiwei 1d19d628c6 fix logging calls(azure_container_service_pool.go) 2018-09-18 19:23:34 +08:00
k8s-ci-robot d56bb24b71
Merge pull request #1244 from losipiuk/lo/muzon
Call CheckPodsSchedulableOnNode in scale_up.go via caching layer
2018-09-18 02:16:35 -07:00
Łukasz Osipiuk 535e7a3e69
Merge pull request #1252 from kubernetes/aleksandra-malinowska-patch-1
Update OWNERS
2018-09-18 11:11:36 +02:00
Aleksandra Malinowska 33720c24df
Update OWNERS 2018-09-18 11:11:20 +02:00
Aleksandra Malinowska 0a893c492a
Update OWNERS 2018-09-18 11:04:11 +02:00
Łukasz Osipiuk 8904988ee0
Merge pull request #1250 from aleksandra-malinowska/readme-1.12
Update Cluster Autoscaler releases recommendation
2018-09-18 09:15:16 +02:00
Łukasz Osipiuk 4cd7c4d955
Merge pull request #1247 from mikeweiwei/my_fix
Add operator for the  pod tolerations
2018-09-18 09:13:53 +02:00
mikeweiwei f23431b29b add operator for the pod tolerations (cluster-autoscaler-run-on-master.yaml) 2018-09-18 10:10:39 +08:00
Aleksandra Malinowska a053d3eefa Update Cluster Autoscaler releases recommendation 2018-09-17 20:51:26 +02:00
Aleksandra Malinowska 1c78f3e61d
Merge pull request #1245 from hercynium/HEAD-PodDelayPatch
Add configurable delay for pod age before considering for scale-up
2018-09-17 20:48:13 +02:00
Steve Scaffidi 88d857222d Renamed one more variable for consistency
Change-Id: Idf42fd58089a1e75f3291ab7cc583735c68735f2
2018-09-17 14:08:10 -04:00
Steve Scaffidi af34d2e04f Added info about new --new-pod-scale-up-delay param to FAQ
Change-Id: I9e6e56cca1f807b4c1d729dede590b1d10c0f56c
2018-09-17 14:04:14 -04:00
Steve Scaffidi 56b5456269 Fixing nits: renamed newPodScaleUpBuffer -> newPodScaleUpDelay, deleted redundant comment
Change-Id: I7969194d8e07e2fb34029d0d7990341c891d0623
2018-09-17 10:38:28 -04:00
Łukasz Osipiuk 705a6d87e2 fixup! Call CheckPodsSchedulableOnNode in scale_up.go via caching layer 2018-09-17 13:01:19 +02:00
Beata Skiba f81c4d3987
Merge pull request #1246 from mikeweiwei/my_fix
Warning instead Warningf
2018-09-17 11:00:43 +02:00
mikeweiwei 78ca068e29 Warning instead Warningf 2018-09-17 14:07:13 +08:00
Steve Scaffidi 33b93cbc5f Add configurable delay for pod age before considering for scale-up
- This is intended to address the issue described in https://github.com/kubernetes/autoscaler/issues/923
  - the delay is configurable via a CLI option
  - in production (on AWS) we set this to a value of 2m
  - the delay could possibly be set as low as 30s and still be effective depending on your workload and environment
  - the default of 0 for the CLI option results in no change to the CA's behavior from defaults.

Change-Id: I7e3f36bb48641faaf8a392cca01a12b07fb0ee35
2018-09-14 13:55:09 -04:00
Łukasz Osipiuk 0ad4efe920 Call CheckPodsSchedulableOnNode in scale_up.go via caching layer 2018-09-13 17:01:15 +02:00
MaciekPytel 4b3357df41
Merge pull request #1233 from towca/jtuznik/scale-down-status-processor
Add a scale down status processor, refactor so that there's more scal…
2018-09-13 16:54:13 +02:00
Beata Skiba eb45514d39
Merge pull request #1243 from kgolab/kg-vpa-godep-bindata
Add bindata.go which got mistakenly removed by PR #1241.
2018-09-13 14:17:40 +02:00
Karol Gołąb e4346f3bc4 Add bindata.go which got mistakenly removed by PR #1241. 2018-09-13 13:55:26 +02:00
Jakub Tużnik 71111da20c Add a scale down status processor, refactor so that there's more scale down info available to it 2018-09-12 14:52:20 +02:00
Aleksandra Malinowska dcde1663da
Merge pull request #1242 from aleksandra-malinowska/export-gke-flag
Export GKE API endpoint flag
2018-09-12 11:59:08 +02:00
Aleksandra Malinowska e6c7b7355d Export GKE API endpoint flag 2018-09-12 11:42:16 +02:00
Beata Skiba b0d96974ea
Merge pull request #1238 from choury/patch-1
Use the same package name in main.go
2018-09-12 11:13:09 +02:00