Commit Graph

1724 Commits

Author SHA1 Message Date
Łukasz Osipiuk eb6eff282a Add gpu related tests to scale_up_test 2018-05-15 22:43:31 +02:00
Łukasz Osipiuk c406da4174 Support gpus in nodes and pods definitions in UT 2018-05-15 22:43:31 +02:00
Łukasz Osipiuk be381facfb Introduce asserting expanding strategy for scale_up_test 2018-05-15 17:01:31 +02:00
Łukasz Osipiuk c1073fe23a Model expected scale up in scale_up_test with struct 2018-05-15 17:01:30 +02:00
Łukasz Osipiuk 8bdc6a1bdc Move commons structs from scale_up_test.go to scale_test_common.go 2018-05-15 17:00:45 +02:00
Karol Gołąb 74b540fdab Remove DynamicAutoscaler since it's unused (#851)
* Remove DynamicAutoscaler since it's unused

* Remove configmap flag with its unused-elsewhere dependecies

* gofmt
2018-05-14 20:22:42 +02:00
Beata Skiba c310476e51
Merge pull request #850 from schylek/dis
Delete not needed test of VPA admission controller.
2018-05-14 11:40:52 +02:00
MaciekPytel bc39d4dcd5
Merge pull request #842 from kgolab/kg-clean-up-008
Merge two variables into one.
2018-05-14 10:54:43 +02:00
Slawomir Chylek 332c347ad3 Delete not needed test of VPA admission controller. 2018-05-14 10:35:19 +02:00
Aleksandra Malinowska b2ad790121
Merge pull request #830 from aleksandra-malinowska/stateful-set-drain
Add support for rescheduled pods with the same name in drain
2018-05-11 13:47:53 +02:00
Aleksandra Malinowska 44ba1c719f Fix log message 2018-05-11 12:58:32 +02:00
Aleksandra Malinowska b52ec59b05 Fix cleaning up taints 2018-05-11 12:00:48 +02:00
Karol Gołąb f1f92f065e Merge two variables into one. 2018-05-10 14:32:37 +02:00
Aleksandra Malinowska 02230e0450
Merge pull request #841 from kgolab/kg-clean-up-006
Remove unused error handling
2018-05-10 14:10:45 +02:00
Karol Gołąb f877f5a64e Remove unused error handling 2018-05-10 12:15:42 +02:00
Aleksandra Malinowska ffeebde8d8 Add support for rescheduled pods with the same name in drain 2018-05-10 12:00:56 +02:00
Aleksandra Malinowska bd1bc4474a
Merge pull request #839 from feiskyer/aks-example
Fix autoscaler manifests yaml for AKS
2018-05-09 11:34:41 +02:00
Pengfei Ni 9c58bfc309 Fix autoscaler yaml manitests for AKS 2018-05-09 16:14:46 +08:00
Marcin Wielgus 9c5728fd74
Merge pull request #836 from kgolab/kg-clean-up-004
Use timestamp argument
2018-05-08 20:24:37 +02:00
MaciekPytel 3d4f9d2e06
Merge pull request #837 from kgolab/kg-clean-up-005
Add missing classifier
2018-05-08 16:45:18 +02:00
Karol Gołąb 34d12a2628 Add missing classifier 2018-05-08 16:25:06 +02:00
Karol Gołąb 53b1c6a394 Use timestamp argument 2018-05-08 13:08:30 +02:00
MaciekPytel e5659e7c57
Merge pull request #835 from kgolab/kg-clean-up-003
Make the code slightly more idiomatic go
2018-05-08 12:58:14 +02:00
MaciekPytel ce67d7ca7b
Merge pull request #834 from kgolab/kg-clean-up-002
Remove unused CloudProvider() method.
2018-05-08 12:48:13 +02:00
Karol Gołąb da16642bcf Make the code slightly more idiomatic go 2018-05-08 11:35:01 +02:00
Karol Gołąb ae203ed517 Removed unused CloudProvider() method. 2018-05-08 11:23:55 +02:00
Marcin Wielgus f0907eb5ad
Merge pull request #813 from kkmsft/azure-containerservice
Autoscaler for Azure Container Service (AKS and ACS)
2018-05-08 01:08:35 +02:00
Beata Skiba 12daa44e34
Merge pull request #832 from AdamDang/patch-7
Typo fix: memeory->memory
2018-05-07 18:42:09 +02:00
AdamDang 5661813b3f
Update container.go 2018-05-07 23:46:32 +08:00
MaciekPytel 5947f88d95
Merge pull request #831 from kgolab/kg-clean-up-001
Remove implementation details (CleanUp) from the interface.
2018-05-07 17:31:12 +02:00
Krishnakumar R a34d5cb327 Add containerservice from azure-sdk-go for AKS/ACS autoscaler. 2018-05-07 07:42:41 -07:00
Krishnakumar R 9f76840780 Kubernetes Autoscaler for Azure container service (AKS and ACS) 2018-05-07 07:42:10 -07:00
Karol Gołąb 854fcc1ff8 Remove implementation details (CleanUp) from the interface.
The CleanUp method is instead called directly from the implementation,
when required.
Test updated in a quick way since the mock we're using does not support
AtLeast(1) - thus Times(2).
2018-05-07 15:24:14 +02:00
Marcin Wielgus 0b94471727
Merge pull request #825 from feiskyer/vmss-template
Add TemplateNodeInfo support for Azure vmss
2018-05-05 19:00:49 +02:00
Marcin Wielgus 6a6b8ffb1f
Merge pull request #826 from kkmsft/patch-2
Update FAQ with note on referring kubernetes.sync
2018-05-05 18:48:33 +02:00
Marcin Wielgus 4b65f90e90
Merge pull request #827 from bskiba/lister
Use ResourceEventHandlerFuncs to create vpa lister.
2018-05-05 18:48:07 +02:00
Beata Skiba 8853d56d9c Use ResourceEventHandlerFuncs to create vpa lister. 2018-05-04 12:09:25 +02:00
Pengfei Ni d47f3d8aa5 Add TemplateNodeInfo support for Azure vmss 2018-05-04 09:15:22 +08:00
kkmsft 84d8679b25
Update FAQ with note on referring kubernetes.sync 2018-05-03 16:14:33 -07:00
Marcin Wielgus e8d37fb522
Merge pull request #815 from kgrygiel/vpa-aggregations
Switch from per-pod aggregations to per-labelset aggregations.
2018-05-03 21:16:13 +02:00
Marcin Wielgus 056b16066f
Merge pull request #824 from AdamDang/patch-5
Typo fix in FAQ.md : kubernets->kubernetes
2018-05-03 10:46:28 +02:00
Marcin Wielgus 1a4bd0343a
Merge pull request #823 from feiskyer/vmss-zero-nodes
Add zero nodes support for Azure VMSS
2018-05-02 23:20:49 +02:00
AdamDang 25d411f4bc
Typo fix in FAQ.md : kubernets->kubernetes
kubernets->kubernetes
2018-05-02 18:59:23 +08:00
Pengfei Ni 1b0e26bfd3 Add zero nodes support for Azure VMSS 2018-05-02 17:07:27 +08:00
Marcin Wielgus ad84c46edc
Merge pull request #817 from losipiuk/lo/use-sort-slice
Use less verbose sort.Slice instead sort.Sort
2018-04-26 18:44:45 +02:00
Marcin Wielgus a86ea7669a
Merge pull request #818 from AdamDang/patch-10
"pod" and "Pod" are mixed except that in proper noun
2018-04-26 18:43:34 +02:00
AdamDang c013fd96bf
"pod" and "Pod" are mixed except that in proper noun
In this doc, "pod" and "Pod" are mixed. For the proper noun like "Vertical Pod Autoscaler", it's in capital. That's OK.
But in other situations, it's mixed in capital and lowercase. It's better to use same format.
2018-04-26 22:36:52 +08:00
kgrygiel 832afbddbd Switch from per-pod aggregations to per-labelset aggregations.
* Usage samples are no longer aggregated per pod (which prevented from garbage collecting terminated pods and could lead to very large number of aggregations, when many pods with different names were created in the cluster).
* We introduce a new concept of the AggregateStateKey, which determines the set of containers
for which usage samples are aggregated. In the current implementation the AggregateStateKey
consists of { namespace, containerName, label set }, however it can be easily changed/extended in future, if necessary.
* Each container holds a pointer to the AggregateContainerState to which it contributes usage samples.
* Each VPA holds a set of all AggregateContainerStates which it matches.
* Pod no longer keeps links to the VPAs that match it. VPA no longer keeps links to Pods it matches.
* Checkpoint specific code is moved out from AggregateContainerState to Vpa.
* Memory peaks are stored in a histogram, similarly to CPU samples. Each container keeps its last peak.
  Sliding window is no longer used.
* Added more test cases.
* TODO: Garbage collect old Pods and AggregateContainerStates.
* TODO: Delete sliding window.
2018-04-26 13:29:39 +02:00
Beata Skiba 054f6d8650
Merge pull request #794 from krzysztof-jastrzebski/pods
Refactor cluster autoscaler builder and add pod list processor.
2018-04-26 13:08:56 +02:00
Krzysztof Jastrzebski 88b769b324 Refactor cluster autoscaler builder and add pod list processor. 2018-04-26 12:37:51 +02:00