Commit Graph

1530 Commits

Author SHA1 Message Date
Pengfei Ni c8a680239a Ensure azureRef consistent with providerID from kubernetes cloud provider 2018-01-16 12:46:16 +08:00
Marcin Wielgus e544d55c5e
Merge pull request #543 from schylek/vpa-api-lint
VPA go API client
2018-01-15 15:08:12 +01:00
Slawomir Chylek 0111ff4b00 Disable golint on generated sources and api definition. 2018-01-15 13:33:37 +01:00
Marcin Wielgus f77951f868
Merge pull request #541 from KarolKraskiewicz/recommender-new-metrics-client-squashed
metrics client for recommender
2018-01-15 11:44:11 +01:00
Pengfei Ni 0b5cabdaf9 Support multiple node groups on Azure (#542)
* Add azure node group caches

* Fix azure client fakes

* Wrap all clients to azClient

* Add support for multipe node groups in Azure

* Add unit tests
2018-01-15 11:33:41 +01:00
kgrygiel 9825f5e10f Add a fake recommender returning constant recommendations. 2018-01-13 19:37:39 +01:00
Karol Kraśkiewicz 89174c8267 metrics client for recommender 2018-01-13 14:24:46 +01:00
kgrygiel a8c06c4162 Add a VPA API client to the recommender. 2018-01-13 13:37:43 +01:00
kgrygiel 69b8fc9ceb Add auto-generated go client for the VPA API. 2018-01-13 13:37:26 +01:00
kgrygiel 5a22ad061d Give recommender permissions to call VPA API. 2018-01-13 13:36:40 +01:00
kgrygiel 08603ba538 Config and tools for generating go VPA API client.
Instructions to generate the client:
1. git clone https://github.com/kubernetes/code-generator
2. hack/update-codegen.sh
2018-01-13 13:36:08 +01:00
Marcin Wielgus e66aba78fc
Merge pull request #538 from mwielgus/remove-ex
Remove accidentaly added files to vpa/api
2018-01-12 13:03:08 +01:00
Marcin Wielgus 9319f79e20 Remove accidentaly added files to vpa/api 2018-01-12 13:00:25 +01:00
tkulczynski dc5d9087db Split ContainerUsageSample to per resource (#537)
* Split ContainerUsageSample to per resource

* Get rid of empty line for lint
2018-01-12 11:00:29 +01:00
tkulczynski d8e3e8646f Implement Prometheus client (#535) 2018-01-11 16:49:05 +01:00
Marcin Wielgus e40ad6bc65
Merge pull request #532 from mwielgus/vpa-crd
CustomResourceDefinition for vpa
2018-01-11 16:40:57 +01:00
Marcin Wielgus d1f771b0ce CustomResourceDefinition for vpa 2018-01-11 16:08:14 +01:00
Marcin Wielgus 4a8ac2ef9a
Merge pull request #536 from feiskyer/trim
Trim spaces for user-specified configs
2018-01-11 16:07:26 +01:00
Pengfei Ni 8fc2d2f55a Trim spaces for user-specified configs 2018-01-11 22:48:26 +08:00
Marcin Wielgus ddc3206e9c
Merge pull request #412 from KarolKraskiewicz/recommender-spec-client-squashed
spec client for VPA recommender
2018-01-09 14:53:10 +01:00
Marcin Wielgus a6ba74e04d
Merge pull request #531 from mwielgus/vpa-api
VPA api definition
2018-01-09 14:12:10 +01:00
Marcin Wielgus 175ccacb81 VPA api definition 2018-01-09 13:43:55 +01:00
Beata Skiba 52b4cfc3ab
Merge pull request #529 from KarolKraskiewicz/vpa-updater-lister-in-separate-routine
running updater podLister in a separate go routine
2018-01-08 20:01:38 +01:00
Karol Kraśkiewicz 5bb827e017 running updater podLister in a separate go routine 2018-01-07 13:31:26 +01:00
Karol Kraśkiewicz b645bd7852 Updated imports and API after rebasing on new Godep 2018-01-07 13:12:45 +01:00
Karol Kraśkiewicz d5d88bed90 Remarks after code review 2018-01-07 11:27:24 +01:00
Karol Kraśkiewicz 5a20ae6ada change the name of a repo holding recommender image 2018-01-07 11:27:24 +01:00
Karol Kraśkiewicz f17e9a49f3 spec client for VPA recommender + recommender containerization and deployment 2018-01-07 11:27:24 +01:00
Marcin Wielgus eb9776ac61
Merge pull request #526 from x13n/patch-1
Version info in README
2018-01-04 19:40:55 +01:00
Daniel Kłobuszewski c638436678
Version info in README 2018-01-04 14:54:56 +01:00
Marcin Wielgus 5239169e37
Merge pull request #520 from feiskyer/docker-push
Use docker push for non-gcr images
2018-01-03 19:30:22 +01:00
Marcin Wielgus 37a8fdf74a
Merge pull request #521 from KarolKraskiewicz/metrics-api-version-update
VPA Godeps update
2018-01-03 19:29:48 +01:00
Karol Kraśkiewicz f427739b83 comment for public placeholder method, required by verify-all.sh 2018-01-03 18:07:07 +01:00
Krzysztof Grygiel 6738c54789 Introduce the PodResourceRecommender type. (#509)
* Introduce the PodResourceRecommender type.

Provide a simple implementation of the recommender that calculates
recommended resources based on provided percentiles of the CPU usage
and memory peaks distributions.
2018-01-03 10:51:36 +01:00
Marcin Wielgus fc37aff5a8
Merge pull request #524 from feiskyer/azure-toleration
Add operator and pod tolerations
2018-01-03 10:50:11 +01:00
Pengfei Ni dd5a0e05fd Add operator and pod tolerations 2018-01-03 10:46:03 +08:00
Pengfei Ni f88a000e0f Use docker push for non-gcr images 2018-01-03 10:42:12 +08:00
Marcin Wielgus 30f4fabc15
Merge pull request #522 from mwieczorek/azure-patch1
Add operator and value to pod tolerations in azure example yaml
2018-01-02 19:45:42 +01:00
Marcin Wielgus 027ce38083
Merge pull request #523 from bskiba/stateful-ca
Add info about CA limitations in multi-zonal cluster with stateful sets
2018-01-02 19:44:02 +01:00
Beata Skiba 73641caef4 Add info about CA limitations in multi-zonal cluster with stateful sets 2018-01-02 18:48:17 +01:00
mwieczorek d6f1fee930 Add operator and value to pod tolerations in azure example yaml
and change image url to accessible one
2018-01-02 16:11:22 +01:00
Karol Kraśkiewicz 69db09e907 VPA code adjusted to work woth new version of dependencies
- with modified eviction algorithm as most significant change
2018-01-01 20:23:18 +01:00
Karol Kraśkiewicz 9a7b352182 Godep: new versions of most dependencies
- needed to bump metrics api version
2018-01-01 20:10:51 +01:00
Karol Kraśkiewicz 654c323017 Placeholders for all metrics api usages (for godep) 2017-12-31 14:26:20 +01:00
Marcin Wielgus c24580a55b
Merge pull request #514 from feiskyer/node-pools
Add support for Azure virtual machine availability sets (VMAS)
2017-12-29 20:51:58 +01:00
Pengfei Ni a5ed998ef1 Fix golint problems 2017-12-29 10:04:45 +08:00
Pengfei Ni e2da77059f Support clusters without windows nodes 2017-12-29 10:04:45 +08:00
Pengfei Ni d7d8601011 Update deployment guides 2017-12-29 10:04:44 +08:00
Pengfei Ni a4810fe323 Add unit tests 2017-12-29 10:04:09 +08:00
Pengfei Ni 22a40bc7b6 Add mock clients 2017-12-29 10:04:09 +08:00