Commit Graph

49 Commits (4d7fcae85a7f26097d0b45039cba44c0b961e79b)

Author SHA1 Message Date
Chao Xu 6709b7ada2 run hack/update-codegen.sh
run hack/verify-gofmt.sh
update bazel
2016-12-14 12:39:49 -08:00
Chao Xu 03d8820edc rename /release_1_5 to /clientset 2016-12-14 12:39:48 -08:00
Kubernetes Submit Queue 59cfdfb8db Merge pull request #38463 from jszczepkowski/hpa-e2e-fix5
Automatic merge from submit-queue (batch tested with PRs 37860, 38429, 38451, 36050, 38463)

HPA e2e tests: fixed waiting for service creation.
2016-12-09 13:22:20 -08:00
Jerzy Szczepkowski 2b070e1724 HPA e2e tests: fixed waiting for service creation.
HPA e2e tests: fixed waiting for service creation. Fixes #32512.
2016-12-09 14:55:51 +01:00
Wojciech Tyczynski a9ec31209e GetOptions - fix tests 2016-12-09 09:42:01 +01:00
Jerzy Szczepkowski e94d2fdc4e HPA e2e tests: fixed problem w/blocking channel.
HPA e2e tests: fixed problem w/blocking channel. Resolves #38298.
2016-12-08 10:59:58 +01:00
Chao Xu a55c71db4d test/e2e 2016-11-23 15:53:09 -08:00
Jan Chaloupka 4fde09d308 Replace client with clientset in code 2016-10-23 22:00:35 +02:00
gmarek 7681a1bdff Move RunRC-like functions to test/utils 2016-10-12 15:06:56 +02:00
deads2k 48ac4d549d change e2e scale to avoid adapter 2016-09-26 07:58:01 -04:00
Chao Xu 3688a78769 let load and density e2e tests use GC if it's on 2016-08-11 11:48:20 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Jerzy Szczepkowski 86764ba4ce Changed constans to reduce hpa e2e test flakiness.
Changed constans to reduce hpa e2e test flakiness.
2016-06-15 11:33:50 +02:00
Jerzy Szczepkowski 862e2fe2fb Fixed problem with too long name in e2e autoscaling tests.
Fixed problem with too long name in e2e autoscaling tests.
2016-06-02 09:40:11 +02:00
Jerzy Szczepkowski 967a7c95d2 Rework of resource consumer.
Major rework of resource consumer: added controller running as a pod that spreads requests around consumers. This should fix #21664 and #23536.
2016-06-01 15:50:03 +02:00
Clayton Coleman fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
goltermann 3fa6c6f6d9 Enable vet 2016-04-20 09:48:24 -07:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Madhusudan.C.S fe26381c90 Support for both map-based and set-based selectors in extensions/v1beta1.Scale
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
   extensions Scale type (extensions/v1beta1.Scale). This is a serialized
   version of either the map-based selector (in case of ReplicationControllers)
   or the unversioned.LabelSelector struct (in case of Deployments and
   ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
   unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
   single internal selector field. The rules for conversion are as follows:
   i.   If the target resource that this scale targets supports LabelSelector
        (Deployments and ReplicaSets), then serialize the LabelSelector and
        store the string in the TargetSelector field in the external version
        and leave the map-based Selector field as nil.
   ii.  If the target resource only supports a map-based selector
        (ReplicationControllers), then still serialize that selector and
	store the serialized string in the TargetSelector field. Also,
	set the the Selector map field in the external Scale type.
   iii. When converting from external to internal version, parse the
        TargetSelector string into LabelSelector struct if the string isn't
	empty. If it is empty, then check if the Selector map is set and just
	assign that map to the MatchLabels component of the LabelSelector.
   iv.  When converting from internal to external version, serialize the
        LabelSelector and store it in the TargetSelector field. If only
	the MatchLabel component is set, then also copy that value to
	the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
   type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
   return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
   enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
   helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
Marcin Wielgus 0a7e344d49 CustomMetric support in autoscaling utils 2016-03-04 15:50:55 +01:00
feihujiang ac9f890238 Support the subresource of service proxy 2016-02-18 15:16:05 +08:00
Piotr Szczesniak 1077d37aaf Revert "Revert "Decrease request size in autoscaling suite"" 2016-02-01 20:42:03 +01:00
Jeff Lowdermilk e44164b939 Revert "Decrease request size in autoscaling suite" 2016-02-01 11:18:32 -08:00
Marcin Wielgus ed73bad857 Decrease request size in autoscaling suite 2016-02-01 12:02:26 +01:00
Jerzy Szczepkowski dd62c8e831 Autoscaling e2e tests: bumped resource consumer to version beta2.
Autoscaling e2e tests: bumped resource consumer to version beta2.
2015-12-14 16:55:26 +01:00
Tim Hockin ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
Alexander Vollschwitz 108cb4121d added RunDeployment to allow horizontal pod autoscaling e2e tests to use deployments
added deployment-based e2e tests for horizontal pod autoscaling
adjusted to changes from PR #16330
changed test titles according to PR comments & to merge change from PR #16895
2015-11-06 15:24:59 +01:00
Piotr Szczesniak 77d9ce230c Fixed flakiness in cluster size autoscaling e2e 2015-10-27 16:36:33 +01:00
Piotr Szczesniak aef0059621 Revert "Revert "Improved HPA e2e to test stability of the scale decision"" 2015-10-27 09:44:05 +01:00
Piotr Szczesniak 16682ca924 Revert "Improved HPA e2e to test stability of the scale decision" 2015-10-26 15:23:24 +01:00
Piotr Szczesniak d7a3b064dd Improved HPA e2e to test stability of the scale decision 2015-10-23 14:54:12 +02:00
Justin Santa Barbara 67d3a93166 Fix misc typos
Mostly in comments, but also renamed the (test) function
migUdpateCmdBase -> migUpdateCmdBase.
2015-10-20 05:52:45 -04:00
Piotr Szczesniak 8262774a76 Implemented e2e test for Initial Resources 2015-10-06 10:24:35 +02:00
Piotr Szczesniak 3a18af8ea8 Fixed flakiness in autoscaling e2e with no scheduling pods 2015-09-29 15:52:30 +02:00
Piotr Szczesniak 80d3e6eb5f Added debug logs to autoscaling_utils.go 2015-09-28 11:59:17 +02:00
Piotr Szczesniak ea27ecf9ff Small fixes in autoscaling e2e utils 2015-09-25 14:52:32 +02:00
Piotr Szczesniak b2cc7d0ac0 Another attempt to fix problem with not ready endpoints in autoscaling e2e 2015-09-25 10:24:28 +02:00
Daniel Smith 76a37694f6 Revert "Temporary workaround of problem with not ready endpoints."
This reverts commit eb9cb8fbae.
2015-09-24 10:49:43 -07:00
Piotr Szczesniak eb9cb8fbae Temporary workaround of problem with not ready endpoints. 2015-09-24 14:57:21 +02:00
Jerzy Szczepkowski c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Ewa Socala 58bea1b7e3 WaitForService added to autoscaling_utils.go 2015-09-23 16:13:05 +02:00
Ewa Socala 152991f06c Static Consumption added to autoscaling_utils.go 2015-09-21 10:45:10 +02:00
Ewa Socala d6d199ddab Horizontal Pod Autoscaler is deleted along with namespace 2015-09-18 09:38:10 +02:00
Ewa Socala 997186d10c CPU & Memory Limit added to RCConfig in autoscaling_utils.go 2015-09-17 15:19:21 +02:00
Ewa Socala e837209f15 Memory dynamic consumption 2015-09-16 14:43:23 +02:00
Ewa Socala 2201a3bfa8 Milicore to Millicore in autoscaling_utils.go 2015-09-10 14:36:19 +02:00
derekwaynecarr b05c11edac Fix typo for milicores to millicores 2015-09-08 14:12:08 -04:00
Ewa Socala 3ddbb7d96b Horizontal Pod Autoscaling e2e tests 2015-09-08 13:28:41 +02:00
Ewa Socala 4f282efb11 Added autoscaling utils for dynamic consumption of CPU 2015-09-03 09:15:12 +02:00