Commit Graph

533 Commits

Author SHA1 Message Date
k8s-merge-robot
acf9492cb1 Merge pull request #23660 from goltermann/vetclean
Automatic merge from submit-queue

Additional go vet fixes

Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Mike Danese
476103a822 bump single call timeout in e2e tests 2016-04-07 14:12:38 -07:00
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
Isaac Hollander McCreery
53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
k8s-merge-robot
86ee449600 Merge pull request #23447 from cjcullen/testtransport
Auto commit by PR queue bot
2016-03-26 16:37:12 -07:00
k8s-merge-robot
23fc7905c1 Merge pull request #23466 from andyzheng0831/fix
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
Andy Zheng
364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
CJ Cullen
4c188eae10 Change the extractRT to return a non-nil Response. 2016-03-24 12:58:38 -07:00
goltermann
34d4eaea08 Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code. 2016-03-22 17:26:50 -07:00
Janet Kuo
482efba8de Copy annotations back from RS to Deployment on rollback 2016-03-21 10:21:48 -07:00
Jan Safranek
4402e57588 e2e test for dynamic provisioning.
The test works only on GCE, AWS and OpenStack. It creates and deletes a 2GiB
volume.
2016-03-15 13:01:03 +01:00
k8s-merge-robot
c9977cc774 Merge pull request #22760 from mikedanese/flake-pods
Auto commit by PR queue bot
2016-03-11 14:30:49 -08:00
Mike Danese
f8e1404f87 e2e: seperate wait for termination notice and graceful termination 2016-03-11 09:42:31 -08:00
Madhusudan.C.S
db48dcf583 ReplicaSetSpec.Template shouldn't be a pointer.
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.

See PR #19510.
2016-03-09 21:24:16 -08: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
Prashanth Balasubramanian
f6c8b9b238 Don't list master node when looking to a NodePort node. 2016-03-08 15:12:13 -08:00
k8s-merge-robot
7e9256b39e Merge pull request #22383 from spxtr/core
Auto commit by PR queue bot
2016-03-08 06:44:18 -08:00
k8s-merge-robot
999e6311b5 Merge pull request #18672 from bprashanth/netexec
Auto commit by PR queue bot
2016-03-08 06:10:02 -08:00
k8s-merge-robot
1b003ba25a Merge pull request #22648 from wojtek-t/fix_wait_for_rc_pods_gone
Auto commit by PR queue bot
2016-03-08 03:43:34 -08:00
Joe Finney
44ef1224fe Move CoreDump into test/e2e/util.go, add docstring. 2016-03-07 10:18:35 -08:00
k8s-merge-robot
09f00aeb32 Merge pull request #22303 from marun/expose-net-e2e-utils
Auto commit by PR queue bot
2016-03-07 10:01:08 -08:00
Wojciech Tyczynski
ef0953585e Speed up DeleteRC test util func 2016-03-07 17:53:49 +01:00
k8s-merge-robot
61c9a004a5 Merge pull request #22397 from bprashanth/dns_debug
Auto commit by PR queue bot
2016-03-07 00:20:03 -08:00
k8s-merge-robot
95ab1936ea Merge pull request #22559 from krousey/discbreak
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot
8ab8231c20 Merge pull request #22577 from jpiccari/master
Auto commit by PR queue bot
2016-03-06 00:18:53 -08:00
k8s-merge-robot
2472a176b7 Merge pull request #22275 from gmarek/flake
Auto commit by PR queue bot
2016-03-05 17:54:29 -08:00
Maru Newby
d405718a83 Move net e2e helpers to util.go for reuse
Some of the helper methods used by test/e2e/networking.go are useful for
downstream e2e tests (e.g. openshift).
2016-03-05 17:09:24 +00:00
k8s-merge-robot
6d9e0ed038 Merge pull request #22312 from janetkuo/improve-error-log
Auto commit by PR queue bot
2016-03-05 04:11:06 -08:00
Joshua Piccari
f5f83b076a Improve go report card by fixing typos in comments 2016-03-04 18:30:59 -08:00
Kris
dbde4fd798 Move the discovery client to its own package 2016-03-04 13:44:52 -08:00
Marcin Wielgus
a13843cddb Add volumes, volumemounts and host ports to rcconfig in e2e utils 2016-03-04 18:38:10 +01:00
Abhi Shah
b25a48d605 Revert "Move discovery client to its own package" 2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588 Merge pull request #22016 from krousey/discbreak
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
Janet Kuo
87a240f828 Improve deployment error logs 2016-03-03 11:44:04 -08:00
Prashanth Balasubramanian
92ff05f2e6 Wait till netexec is Ready in kubeproxy e2e 2016-03-03 11:27:32 -08:00
Prashanth Balasubramanian
33bb8e863c Add a simple clusterapi-tester, improve e2e logging. 2016-03-03 10:01:01 -08:00
gmarek
496fc3c7ed Make scheduler predicates test work with registered master 2016-03-03 10:09:26 +01:00
k8s-merge-robot
8060e9c5eb Merge pull request #22200 from pwittrock/flaky
Auto commit by PR queue bot
2016-03-01 14:51:59 -08:00
k8s-merge-robot
5b415a7aed Merge pull request #22210 from janetkuo/deployment-e2e
Auto commit by PR queue bot
2016-02-29 22:44:40 -08:00
Janet Kuo
50d43ef65c In deployment rollback e2e test, wait for async actions to happen 2016-02-29 16:35:00 -08:00
Kris
f22664159e Move the discovery client to its own package 2016-02-29 15:37:21 -08:00
Janet Kuo
c65d7b082c Move verifyPods to e2e test util 2016-02-29 14:26:01 -08:00
Phillip Wittrock
1b9a3fd5f8 Log container logs for failed containers if failedCount > max 2016-02-29 12:19:00 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
Wojciech Tyczynski
a126a0b53d Extend errors in load test 2016-02-29 11:17:27 +01:00
Brian Grant
d0dd4f8a93 Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
k8s-merge-robot
420d98fd8b Merge pull request #22027 from bprashanth/services_compare
Auto commit by PR queue bot
2016-02-26 17:25:22 -08:00
Prashanth Balasubramanian
9be53e6319 Strip whitespace when comparing endpoints in services test. 2016-02-26 12:02:14 -08:00
gmarek
48fefd0f53 Small fix to make tests pass when master node is registered 2016-02-26 16:09:49 +01:00
Marek Grabowski
1cc91025b7 Merge pull request #22021 from bprashanth/log_addons
Dump kubectl logs for non-ready containers on startup
2016-02-26 09:21:01 +01:00