Commit Graph

1530 Commits

Author SHA1 Message Date
AdamDang b533b61047
Typo fix "structur"->"structure"
line 31: a spell err  "structur" should be "structure"
2018-03-15 19:54:12 +08:00
Marcin Wielgus 96b1a651ad
Merge pull request #714 from schylek/slow
VPA e2e tests fixes. Increased timeout and min/max recommendation set.
2018-03-14 16:05:26 +01:00
Marcin Wielgus 8155f20b39
Merge pull request #705 from AdamDang/patch-1
Typo fix "record"->"records"
2018-03-14 16:04:50 +01:00
Marcin Wielgus ebb587254f
Merge pull request #713 from bskiba/fix-faq
Fix command for e2e tests after changes in test infra
2018-03-14 16:04:27 +01:00
Slawomir Chylek 2efb5c5e43 VPA e2e tests fixes. Increased timeout and min/max recommendation set. 2018-03-14 15:51:05 +01:00
Beata Skiba b709af17b9
Merge pull request #707 from kgrygiel/master
Use the builder pattern in tests to make them more readable and extensible.
2018-03-14 12:19:09 +01:00
kgrygiel 532f76d3c3 Use the builder pattern in tests to make them more readable. 2018-03-14 12:04:29 +01:00
Beata Skiba fe64787b50 Fix command for e2e tests after changes in test infra
The semantics of -v flag changed - it is currently used to controll log
output for glog. The -v flag for kubetest has been replaced by
--verbose-commands.

See https://github.com/kubernetes/test-infra/pull/7073
2018-03-14 11:31:08 +01:00
Beata Skiba 322d2e06ae
Merge pull request #708 from AdamDang/patch-2
Typo fix "typ"->"type"
2018-03-13 14:54:52 +01:00
AdamDang 5c4693f95f
Typo fix "typ"->"type"
line 31 and line 82: "the typ of AutoscalerError"
here shoule be type
2018-03-13 19:50:19 +08:00
Marcin Wielgus c427dfa057
Merge pull request #704 from aleksandra-malinowska/regional-flag
Add regional flag
2018-03-12 14:37:09 +01:00
Aleksandra Malinowska f98e953eb4 Add regional flag 2018-03-12 14:15:56 +01:00
AdamDang d96d1ef3ba
Typo fix "record"->"records"
"record" should be replaced with "records" here.
2018-03-12 21:06:31 +08:00
MaciekPytel 887408b6a6
Merge pull request #702 from normanjoyner/bugfix/k8s-typo
fix misspelling of Kubernetes
2018-03-12 10:36:16 +01:00
Norman Joyner 9028d95f72
fix misspelling of Kubernetes 2018-03-10 10:35:21 -05:00
Krzysztof Grygiel a3b98c417d Extend the Updater policy with new rules (#690)
* Extend recommendation capping to handle Min & Max.

* Change the calculation of update priority.

Calculate total request and total recommended resources for all containers
in the pod when calculating the resource diff, instead of adding relative
differences for each containers (which favors pods with more smaller
containers).

* Give higher update priority to growing pods.

* Check whether the request is within the recommended range.

If all containers in the pod have requests within the recommended
[min..max] range, the pod is only considered for eviction by the Updater
if it:
1. lives for long enough (>12h) AND
2. diverges from the recommendation target by more than a certain threshold.

* Do not use time.Now() in the tests.

* Addressed review comments.

Added TODOs describing better updater policies when dealing with:
(a) pods without specified request
(b) pending pods
(c) general resource shortage

* Fix lint warnings.
2018-03-09 12:04:27 +01:00
Marcin Wielgus 4b4b05dde4
Merge pull request #686 from KarolKraskiewicz/pod-statua
pod life cycle phase added to the model
2018-03-07 13:40:00 +01:00
Marcin Wielgus 2d9f75ace5
Merge branch 'master' into pod-statua 2018-03-06 15:11:40 +01:00
Marcin Wielgus 4e65b07447
Merge pull request #696 from kawych/master
Document Addon Resizer configuration
2018-03-06 14:51:13 +01:00
Marcin Wielgus 3266dee998
Merge pull request #698 from schylek/agg
VPA AggregateContainerState serialization.
2018-03-06 14:48:24 +01:00
Slawomir Chylek 1e38dd9d74 VPA AggregateContainerState serialization. 2018-03-06 12:27:25 +01:00
Karol Wychowaniec 516a180495 Document Addon Resizer configuration 2018-03-06 11:14:11 +01:00
Marcin Wielgus 509238bc8c
Merge pull request #689 from schylek/serialize
VPA - serialization of histograms to snapshots.
2018-03-05 23:45:23 +01:00
Marcin Wielgus 71381ba025
Merge pull request #694 from schylek/init
VPA AC e2e tests - change min/max recommended to resource policy
2018-03-05 23:44:39 +01:00
Slawomir Chylek 71b0ba4078 VPA admission controller e2e tests - change min/max recommended to resource policy 2018-03-05 13:16:19 +01:00
Marcin Wielgus 9e72d87cb7
Merge pull request #692 from schylek/e2e
Increase timeout to reduce flakiness of autoscaling-vpa-full
2018-03-05 12:04:32 +01:00
Marcin Wielgus 10efe367dc
Merge pull request #691 from schylek/limits
Verify target in admission-controller unit tests.
2018-03-05 12:04:13 +01:00
Slawomir Chylek edc65a1f4a Increase timeout to reduce flakiness of autoscaling-vpa-full 2018-03-05 11:43:18 +01:00
Slawomir Chylek 0871ddf68d Verify target in admission-controller unit tests. 2018-03-05 11:23:05 +01:00
Slawomir Chylek 0b21746708 startDecay changed to referenceTimestamp 2018-03-05 10:26:55 +01:00
Slawomir Chylek 39c0083256 VPA - serialization of histograms to snapshots. 2018-03-05 10:22:28 +01:00
Marcin Wielgus b27e70d43d
Merge pull request #688 from MaciekPytel/price_expander_gpu
Better GPU handling in price expander
2018-03-02 16:43:00 +01:00
Maciej Pytel abbc45da2e Delay scale-up including GPU request
Nodes with GPU are expensive and it's likely a bunch of pods
using them will be created in a batch. In this case we can
wait a bit for all pods to be created to make more efficient
scale-up decision.
2018-03-02 15:55:04 +01:00
Maciej Pytel d876d74912 Ignore unfitness in price expander if using GPU 2018-03-02 15:50:43 +01:00
Marcin Wielgus 0888a16e53
Merge pull request #685 from kgrygiel/master
Introduce recommendation confidence.
2018-03-02 11:56:22 +01:00
kgrygiel e5e9587c62 Addressed review comments. 2018-03-01 10:49:17 +01:00
Marcin Wielgus 1da8dc8e68
Merge pull request #684 from schylek/snapshot
Generated code for VPA Snapshot CRD object.
2018-02-28 23:27:45 +01:00
Slawomir Chylek 17e4c9eb82 Generated code for VPA Checkpoint CRD object. 2018-02-28 12:39:04 +01:00
Karol Kraśkiewicz 78ba53c90a pod life cycle phase added to the model 2018-02-27 20:27:26 +01:00
Beata Skiba b68b849e55
Merge pull request #683 from schylek/startup
VPA Admission controller e2e tests for boundary cases.
2018-02-27 15:03:26 +01:00
Slawomir Chylek 4e7f5612e3 VPA Admission controller e2e tests for boundary cases. 2018-02-27 10:13:52 +01:00
Marcin Wielgus a68c20ee49
Merge pull request #680 from schylek/pending
VPA actuation e2e test for pods stuck at pending.
2018-02-26 21:16:58 +01:00
Beata Skiba 727cb2fa33
Merge pull request #676 from tkulczynski/request-limit
Make requests smaller or equal to limits
2018-02-26 19:11:08 +01:00
kgrygiel ee24cc2325 Introduce recommendation confidence.
The confidence depends on the amount of aggregated utilization history.
2018-02-26 17:47:51 +01:00
Slawomir Chylek 4e97a071b9 VPA actuation e2e test for pods stuck at pending. 2018-02-26 13:47:59 +01:00
Marcin Wielgus ce2a8eabff
Merge pull request #681 from feiskyer/az
Improve azure node's providerID handling
2018-02-26 13:24:02 +01:00
Marcin Wielgus c839cade62
Merge pull request #679 from schylek/vpa-full
First VPA full stack e2e tests.
2018-02-26 13:22:57 +01:00
Marcin Wielgus b81f70cadf
Merge pull request #682 from feiskyer/azure-standard
Make deployment parameters robust for various acs-engine versions
2018-02-26 13:18:36 +01:00
Pengfei Ni 91f6bfdd79 Update documentation and manifests 2018-02-24 15:53:29 +08:00
Pengfei Ni 9b50b39c29 Read deployment parameters from files instead of environment variables 2018-02-24 15:52:48 +08:00