Commit Graph

951 Commits

Author SHA1 Message Date
Marcin Wielgus f9cabf3a1a Merge pull request #297 from bskiba/additional-k
Only consider up to 10% of the nodes as additional candidates for scale down
2017-09-07 04:34:23 +05:30
Marcin Wielgus 6099925407 Merge pull request #311 from aleksandra-malinowska/refactor-simulator-test
Refactor FindNodesToRemove test
2017-09-07 04:30:38 +05:30
Aleksandra Malinowska 45356edf40 refactor FindNodesToRemove test 2017-09-06 14:39:42 +02:00
Marcin Wielgus 1d85f541f3 Merge pull request #308 from mwielgus/nap-6
Tests for add autoprovisioned node groups
2017-09-06 16:40:15 +05:30
Marcin Wielgus e85e94510d Tests for add autoprovisioned node groups 2017-09-06 02:44:16 +02:00
Marcin Wielgus 5de93aa069 Merge pull request #307 from mwielgus/scale-up-2
Build template NodeInfo for node autoprovisioning
2017-09-05 21:27:06 +05:30
Marcin Wielgus 1ad8d9e10c Build template NodeInfo for node autoprovisioning 2017-09-05 17:28:49 +02:00
Marcin Wielgus 829ec9a0ef Merge pull request #299 from mwielgus/update-test-provider
Expand test cloud provider with autoprovisioning options
2017-09-05 17:33:50 +05:30
Marcin Wielgus b0d603e548 Expand test cloud provider with autoprovisioning options 2017-09-05 13:39:59 +02:00
Aleksandra Malinowska 704b46b777 Merge pull request #306 from mwielgus/test-in-docker
Test-in-docker in CA Makefile
2017-09-05 12:47:47 +02:00
Marcin Wielgus 4c0c2cd4f2 Test-in-docker in CA Makefile 2017-09-05 11:47:01 +02:00
Marcin Wielgus 6166035373 Merge pull request #300 from mwielgus/graceful-1
Graceful termination update in CA FAQ
2017-09-05 15:04:14 +05:30
Marcin Wielgus 10a4c7579d Merge pull request #301 from mwielgus/ca-0.6-faq
Link to 0.6 FAQ in CA FAQ
2017-09-05 14:55:36 +05:30
Marcin Wielgus 5e369e6d0b Merge pull request #302 from mwielgus/versions-faq
Version information also in FAQ
2017-09-05 14:55:10 +05:30
Marcin Wielgus 520e751b44 Merge pull request #304 from mwielgus/ca-0.7-a2
Bump CA version to 0.7.0-alpha2
2017-09-05 14:37:55 +05:30
Marcin Wielgus 8c1f356cc9 Merge pull request #287 from alok87/run_in_master_ca_Aws
Run CA in master node - aws
2017-09-05 04:57:48 +05:30
Marcin Wielgus e04e880ee7 Merge pull request #298 from sergeylanzman/patch-1
Move regexp.MustCompile in AWS provider to global variable
2017-09-05 04:10:24 +05:30
Marcin Wielgus 3219aed14d Merge pull request #303 from sergeylanzman/master
Small optimize code and fix typos
2017-09-05 04:04:25 +05:30
Sergey Lanzman 437a3f60e1 Small optimize code 2017-09-04 23:50:45 +03:00
Marcin Wielgus a62acdfa2e Bump CA version to 0.7.0-alpha2 2017-09-04 21:34:11 +02:00
Sergey Lanzman 44195b39a2 Fix small typos 2017-09-04 22:18:07 +03:00
Sergey Lanzman 41c7901647 Fix typo GetAvilableMachineTypes() => GetAvailableMachineTypes() 2017-09-04 22:17:17 +03:00
Sergey Lanzman 415f53cdea Change from deprecated Core to CoreV1 for kube client 2017-09-04 22:16:21 +03:00
Marcin Wielgus 98fd99cc4e Version information also in FAQ 2017-09-04 20:51:14 +02:00
Marcin Wielgus 97205c26d6 Link to 0.6 FAQ in CA FAQ 2017-09-04 20:25:18 +02:00
Marcin Wielgus a13f82a2bb Graceful termination update in CA FAQ 2017-09-04 19:54:36 +02:00
Sergey Lanzman 4bc1f7291b Move regexp.MustCompile in AWS provider to global variable
Function AwsRefFromProviderId call many times. If scale down enable this call default every 10 seconds per each node.
regexp.MustCompile it very heavy function and not need call each time
2017-09-04 20:43:22 +03:00
Beata Skiba a6c18b87d2 Only consider up to 10% of the nodes as additional candidates for scale down. 2017-09-04 17:37:02 +02:00
Aleksandra Malinowska 7ae64de0af Merge pull request #291 from mwielgus/nap-cleanup
Clean up empty autoprovisioned node groups
2017-09-04 15:03:26 +02:00
Marcin Wielgus ceaafc2d18 Merge pull request #292 from smarterclayton/cluster_scale
Allow testing against GCE without running on GCE
2017-09-04 17:27:23 +05:30
Marcin Wielgus bcc8cded64 Clean up empty autoprovisioned node groups 2017-09-04 13:53:07 +02:00
Marcin Wielgus 8bb60302c1 Merge pull request #294 from smarterclayton/leader_elect
Support resource-lock type configmap for leader election
2017-09-04 15:48:03 +05:30
Clayton Coleman f411e38bb8
Support resource-lock type configmap for leader election
The lock type parameter was being ignored. Use the new factory method to
instantiate the lock type.
2017-09-03 18:14:46 -04:00
Clayton Coleman 035e667eb1
Allow use of Default Application Credentials for GCE
Also allows project and zone to be specified by the config file, rather
than automatically overwritten. This allows local testing against the
GCE API without having to run on a GCE instance. The default credentials
take priority over the token source, but less priority than a token
source in the config.

Also, if the node template cannot be located, don't panic, just report
it.
2017-09-02 12:02:26 -04:00
Clayton Coleman 5d23189b38
Return the proper error when failing to init cloud provider 2017-09-02 12:02:19 -04:00
Marcin Wielgus ae00f0544b Merge pull request #290 from mwielgus/max-nap-groups
Limit autoprovisioned groups to 15
2017-09-01 23:49:33 +05:30
Marcin Wielgus de524a6688 Limit autoprovisioned groups to 15 2017-09-01 18:25:28 +02:00
Marcin Wielgus 462a6b787f Merge pull request #288 from MaciekPytel/write_events_on_failed_scaleup
Write events on failed scaleup
2017-09-01 18:29:37 +05:30
Maciej Pytel a440d92a60 Log event on scale-up timeout 2017-09-01 14:19:14 +02:00
Maciej Pytel a86268f114 Write event on scale-up failure 2017-09-01 13:34:20 +02:00
Marcin Wielgus c0b48e4a15 Merge pull request #285 from mwielgus/loglevel
Set verbosity for each of the glog.Info logs
2017-09-01 16:42:11 +05:30
Marcin Wielgus 021a2fdf5d Merge pull request #286 from mwielgus/exist-no-error
Do not return error from exist
2017-09-01 16:05:52 +05:30
Marcin Wielgus 2d8f59e23d Set verbosity for each of the glog.Info logs 2017-09-01 12:34:29 +02:00
alok87 694f461ae8 Information to run CA in master in aws 2017-09-01 09:30:55 +05:30
Marcin Wielgus f217d4ac93 Do not return error from exist 2017-09-01 00:24:01 +02:00
Beata Skiba eea0cf9699 Merge pull request #273 from bskiba/sd-opt
Keep maximum 30 candidates for scale down with drain
2017-08-31 15:32:49 +02:00
Beata Skiba 576e4105db Make ScaleDownNonEmptyCandidatesCount a flag. 2017-08-31 15:05:06 +02:00
Beata Skiba 4560cc0a85 Keep maximum 30 candidates for scale down with drain 2017-08-31 14:58:40 +02:00
Marcin Wielgus e9261a249c Merge pull request #284 from mwielgus/nap-5
Node autoprovisioning in scale up
2017-08-31 17:47:25 +05:30
Marcin Wielgus 22f856d4da Small refactoring in ScaleUp 2017-08-31 13:21:20 +02:00