Guillaume Breton
59df00f0be
Add rate limiter to the Vertical Pod autoscaler updater component
...
This patch adds a rate limiter to the vertical pod autoscaler updater.
It adds two flags
- eviction-rate-limit to control the number of pods that can be evicted
every seconds.
- eviction-rate-limit-burst to control the burst of that can be evicted
immediately.
2019-10-25 14:46:00 +02:00
Kubernetes Prow Robot
a32987c2f5
Merge pull request #2484 from amodm/master
...
Update RBAC in Azure examples to include csinodes permission
2019-10-25 05:25:39 -07:00
Jarvis-Zhou
7c9d6e3518
Do not assign return values to variables when not needed
2019-10-25 19:28:00 +08:00
Kubernetes Prow Robot
6f5c47099d
Merge pull request #2478 from FayerZhang/master
...
fix golint failures
2019-10-25 04:17:39 -07:00
Amod Malviya
6cfd53dfcb
Update RBAC in Azure examples to include csinodes permission
2019-10-25 14:47:21 +05:30
Kubernetes Prow Robot
8337753a97
Merge pull request #2482 from jaypipes/rework-aws-readme
...
[aws] minor documentation fixes
2019-10-24 17:53:39 -07:00
Jay Pipes
804a948110
[aws] clean up docs around IAM policy
...
Cleans up the documentation regarding the IAM policy permissions that
need to be added for cluster autoscaler to work properly, depending on
the features desired.
2019-10-24 19:03:53 -04:00
Jay Pipes
873ce0f825
[aws] correct placement of static instance docs
...
The example for using MixedInstancePolicy was accidentally placed under
the new section of the docs for using static instance types, instead of
its correct location under the MixedInstancePolicy section.
2019-10-24 18:51:26 -04:00
Jay Pipes
72f936e956
[aws] use simple string prefix placeholder match
...
Addresses a [comment on PR2235](https://github.com/kubernetes/autoscaler/pull/2235/files#r313536379 )
to remove the unnecessary use of a regex with a simpler string prefix
matching for placeholder names.
2019-10-24 12:50:30 -04:00
Thomas Hartland
229fc959b4
Make error message in scale down consistent
2019-10-23 15:28:09 +02:00
Julien Balestra
8745965e3c
cluster-autoscaler/gce: create a test for an instance with unknown mig
...
Signed-off-by: Julien Balestra <julien.balestra@datadoghq.com>
2019-10-23 14:39:16 +02:00
feifei.zhang@huawei.com
dcd7a2b73c
fix golint failures
2019-10-23 09:53:46 +08:00
Kubernetes Prow Robot
7118ea8228
Merge pull request #2407 from losipiuk/lo/scale-down-cleanup-1
...
Extract separate package for core/utils.go and split into multiple files.
2019-10-22 08:43:22 -07:00
Łukasz Osipiuk
7f083d2393
Move core/utils.go to separate package and split into multiple files
2019-10-22 14:23:40 +02:00
Łukasz Osipiuk
41e9271b9e
Remove unused GetCandidatesForScaleDown
2019-10-22 14:23:38 +02:00
David Langworthy
4e19609a21
Add mock and mutex
2019-10-21 11:36:47 -07:00
Kubernetes Prow Robot
b80a9f6c08
Merge pull request #2427 from digitalocean/doks-use-node-provider-id
...
doks: use providerID for node.ID
2019-10-21 10:19:38 -07:00
Steven Normore
7e69503a7a
doks: use providerID for node.ID
2019-10-21 12:48:08 -04:00
Steven Normore
1d39163eff
Upgrade vendored digitalocean/godo version to v1.22.0
2019-10-21 12:48:08 -04:00
Kubernetes Prow Robot
6da7fdfd62
Merge pull request #2426 from digitalocean/doks-fix-max-size-check
...
doks: fix max size check, support increase to max
2019-10-21 09:25:38 -07:00
Kubernetes Prow Robot
c547c75d5c
Merge pull request #2471 from losipiuk/lo/remove-kjastrzebski
...
Remove krzysztof-jastrzebski from OWNERS
2019-10-21 02:35:36 -07:00
Łukasz Osipiuk
84afd54ad5
Remove krzysztof-jastrzebski from OWNERS
2019-10-21 11:18:09 +02:00
Kubernetes Prow Robot
3f137fde4f
Merge pull request #2448 from hectorj2f/hectorj2f/chore_typos
...
cluster-autoscaler: fix some typos in the code
2019-10-21 00:33:37 -07:00
Kubernetes Prow Robot
ab9e1d4a14
Merge pull request #2461 from tghartland/update-magnum-image
...
Update magnum example deployment with image built by magnum CI
2019-10-18 03:37:58 -07:00
David Langworthy
d34f9c6e9d
This commit improves the performance of the azure cloud provider.
...
Previously, the cloud provider called Get to obtain the status for each node pool. When running with a large number of node pools, e.g. 10+, these will cause Azure to throttle, not only the autoscaler, but all services operating under the same identity.
This commit replaces the Get call for each node pool with a List call which obtains the status for all the node pools at once. The frequency of these calls is set with the vmssSizeRefreshPeriod constant.
2019-10-17 09:16:54 -07:00
Ace Eldeib
57e4471bd8
refactor: common discovery opts
2019-10-17 05:51:27 -07:00
Ace Eldeib
95704a7f6c
refactor: move gce discovery config
2019-10-17 05:51:13 -07:00
Ace Eldeib
d63067e70b
refactor: move aws discovery config
2019-10-17 05:19:11 -07:00
Ace Eldeib
88d93a9f16
feat: azure vmss min/mix autodiscovery
2019-10-17 04:54:03 -07:00
Thomas Hartland
74a18af61d
Update image in magnum deployment examples
2019-10-16 16:32:05 +02:00
Kubernetes Prow Robot
cc0b570123
Merge pull request #2456 from losipiuk/lo/create-errors-fixes
...
Less aggresive create errors reporting for GCE
2019-10-16 04:51:41 -07:00
Kubernetes Prow Robot
db09b86fd2
Merge pull request #2455 from calixwu/hotfix/vpa-webhook-address-flags
...
fix the webhook-address and webhook-port reference for vpa-admission-…
2019-10-16 02:37:41 -07:00
Łukasz Osipiuk
9e78a6892a
Less aggresive errors reporting for creted nodes in GCE
...
Now if node is being reported as CREATING in GCE only report
non-stockout/non-quota errors if instance is not yet running.
That is reported InstanceState must be either empty or PROVISIONING or
STAGING.
Change-Id: I4816dea3f872d9ba3ebe01b4bccabac4bc95707c
2019-10-15 16:44:35 +02:00
Łukasz Osipiuk
aa53261098
More verbose logging of GCE instance create errors
2019-10-15 15:36:38 +02:00
calix
92a183fa51
fix the webhook-address and webhook-port reference for vpa-admission-controller
2019-10-15 19:46:05 +08:00
Kubernetes Prow Robot
31b511868a
Merge pull request #2249 from Jeffwan/dynamic_ec2_list
...
Generate EC2 Instance Type list in runtime
2019-10-15 00:53:52 -07:00
Jiaxin Shan
7eb864502c
Load AWS EC2 Instance Types dynamically
2019-10-14 17:19:42 -07:00
Kubernetes Prow Robot
c6452f9a59
Merge pull request #2450 from losipiuk/lo/rename-GetCreatedNodesWithOutOfResourcesErrors
...
Rename GetCreatedNodesWithOutOfResourcesErrors to GetCreatedNodesWithErrors
2019-10-14 05:34:35 -07:00
Łukasz Osipiuk
288d4107b2
Rename GetCreatedNodesWithOutOfResourcesErrors to GetCreatedNodesWithErrors
2019-10-14 10:56:56 +02:00
Hector Fernandez
24401b373f
cluster-autoscaler: fix some typos in the code
2019-10-13 12:52:53 +02:00
Kubernetes Prow Robot
6485f9c9fc
Merge pull request #2433 from mgalgs/patch-2
...
priority expander: Documentation updates
2019-10-11 02:15:39 -07:00
Kubernetes Prow Robot
a5c35dc506
Merge pull request #2437 from bskiba/remove-beta1
...
Remove e2e tests for v1beta1
2019-10-10 00:34:52 -07:00
Jiaxin Shan
0d278a2554
Skip acceptable range check before it has data
2019-10-09 17:59:43 -07:00
Mitchel Humpherys
0b7429a127
priority expander: Document skipping behavior for unmatched groups
...
If a group doesn't match any of the regexes in the priorities list it won't
be considered for expansion, which could catch some users off-guard.
Document this behavior.
2019-10-09 14:00:40 -07:00
Mitchel Humpherys
2e0d1f0b47
priority expander: Use kube-system namespace in example
...
CA is most often deployed in the kube-system namespace. Modify the
ConfigMap example accordingly.
2019-10-09 13:59:59 -07:00
Beata Skiba
9420e790a0
Remove e2e tests for v1beta1
2019-10-09 17:24:41 +02:00
Mitchel Humpherys
f671478808
priority expander: Document random fallback
...
When none of the regexes match in the priorities list,
CA will fall back to a random group selection. Document
this in the readme.
2019-10-08 17:25:19 -07:00
Kubernetes Prow Robot
a258103f8e
Merge pull request #2428 from LogMeIn/fix/aws-use-newsession
...
AWS – use `session.NewSession` instead of `session.New` to
2019-10-08 14:33:50 -07:00
Alfred Krohmer
f7695c52ea
AWS – use `session.NewSession` instead of `session.New` to
...
`session.New` is deprecated and requires the `AWS_SDK_LOAD_CONFIG`
environment variable to be set in order to automatically call
`AssumeRoleWithWebIdentity` when `AWS_WEB_IDENTITY_TOKEN_FILE` is set
(which is not documented and most likely unintended).
2019-10-07 15:09:51 +02:00
Steven Normore
7bf947e23a
doks: fix max size check, support increase to max
2019-10-05 15:09:25 -04:00