Commit Graph

88 Commits

Author SHA1 Message Date
Angus Salkeld
eec08872c7 Move deployment utilities to there own package 2016-07-08 09:46:56 +02:00
Michail Kargakis
8f550c1a88 e2e: increase timeout when waiting for deployment pods to be deleted
Use the same timeout as the one used for waiting for the deployment
reaper to complete.
2016-06-30 14:10:42 +02:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Michail Kargakis
f3d2e3ff22 controller: proportionally scale paused and rolling deployments
Enable paused and rolling deployments to be proportionally scaled.
Also have cleanup policy work for paused deployments.
2016-06-20 12:13:35 +02:00
Janet Kuo
2ced966cd5 List RSes once when getting old/new RSes in deployment e2e tests 2016-06-01 14:19:35 -07:00
Colin Hom
a092fd2dd4 Federation build and e2e test integration
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
jianhuiz
441e206671 move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code 2016-04-29 17:12:10 -04:00
Janet Kuo
eb96b28004 Avoid relying on events in deployment rollover e2e test 2016-04-15 15:20:41 -07:00
Tim St. Clair
b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Janet Kuo
482efba8de Copy annotations back from RS to Deployment on rollback 2016-03-21 10:21:48 -07:00
Jay Vyas
9a71dfe753 KubeDescribe implementation with verify into after-build/ scripts. 2016-03-15 22:29:21 -04:00
Kris
4d404ded1a Moving adapters to their own packages 2016-03-14 14:22:34 -07:00
Chao Xu
a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08:00
Janet Kuo
4a181dacec Fix the possible negative scale down value; add logs when scaling down 2016-03-10 16:01:18 -08:00
Andy Goldstein
cdd339505e Merge pull request #22758 from madhusudancs/replicaset-nonpointer-template
ReplicaSetSpec.Template shouldn't be a pointer.
2016-03-10 15:35:04 -05: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
Erick Fejta
51174e6830 Use versioned images in deployment.go to avoid unnecessary gcr.io pulling 2016-03-05 17:40:59 -08:00
Janet Kuo
87a240f828 Improve deployment error logs 2016-03-03 11:44:04 -08:00
Janet Kuo
7bcb7289bb Don't pull from docker hub in deployment e2e test 2016-03-01 18:41:40 -08:00
k8s-merge-robot
9e5d1b61fa Merge pull request #21882 from gmarek/throttle
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
Janet Kuo
47cf2f5a7c Deployment e2e tests to wait for async actions to happen rather than check it immediately 2016-03-01 00:14:20 -08:00
Janet Kuo
50d43ef65c In deployment rollback e2e test, wait for async actions to happen 2016-02-29 16:35:00 -08:00
Janet Kuo
1994b26b8d Uniquify names of controllers in deployment e2e tests 2016-02-29 16:09:14 -08:00
gmarek
110340c467 Add an option to pass client's QPS/burst to e2e framework 2016-02-29 09:32:29 +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
Janet Kuo
34a97a2433 Remove all deployment e2e tests from flaky list 2016-02-26 15:54:52 -08:00
nikhiljindal
1eaf760c95 deployment e2e: print out the error 2016-02-26 14:18:56 -08:00
nikhiljindal
2db2fba1b1 Delete replica set and its pods as well rather than just deleting the replica set 2016-02-25 15:26:58 -08:00
nikhiljindal
7e50fa6df0 Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition 2016-02-24 00:09:44 -08:00
Dawn Chen
b19102ba23 Merge pull request #21796 from nikhiljindal/deploymente2eLogs
deployment e2e test flake: Print the remaining pods to debug test flake
2016-02-23 16:43:00 -08:00
nikhiljindal
ac6188c676 Print the remaining pods to debug test flake 2016-02-23 14:57:19 -08:00
kargakis
418d79cb78 extensions: add observedGeneration for deployments 2016-02-23 18:47:40 +01:00
k8s-merge-robot
aa9e139894 Merge pull request #21726 from janetkuo/log-on-timeout
Auto commit by PR queue bot
2016-02-23 04:16:49 -08:00
k8s-merge-robot
0afbc71f31 Merge pull request #21030 from janetkuo/deployment-label-adopted
Auto commit by PR queue bot
2016-02-22 23:45:42 -08:00
Brian Grant
7662a5ee54 Merge pull request #21734 from janetkuo/rollover-flake
Wait for pods to become available before rolling over in deployment e2e test
2016-02-22 20:15:33 -08:00
Janet Kuo
ecce9492cc Wait for pods to become available before rolling over in deployment e2e test 2016-02-22 18:36:39 -08:00
Janet Kuo
4369a21969 Log deployment, RSes and pods on waitForDeploymentStatus timeout / condition mismatch 2016-02-22 17:29:44 -08:00
Janet Kuo
eaa4eb10aa Don't rely on events in deployment rollback e2e test 2016-02-22 13:51:51 -08:00
Janet Kuo
4699a6d8a2 Address comments; fix test failure 2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f Address comments; fix test failures; add e2e tests; update RS's label too 2016-02-22 10:58:54 -08:00
Brian Grant
bd3cde0e0a Mark flaky Deployment e2e tests until the problems are resolved.
Ref #21463, #21467, #21491, #19299
2016-02-22 17:27:14 +00:00
Janet Kuo
98a1eaf245 Retry all Update in deployment e2e tests 2016-02-19 13:45:57 -08:00
k8s-merge-robot
d37060d4f0 Merge pull request #21061 from mqliang/deployment-e2e-IntPtr
Auto commit by PR queue bot
2016-02-19 13:07:25 -08:00
Madhusudan.C.S
31606e6d2f Remove Deployment and DaemonSet "Feature:" tags from e2e tests. 2016-02-17 15:04:31 -08:00
mqliang
4f0031e272 use the IntPtr() funcs to create pointer to an int 2016-02-15 22:38:11 +08:00
Maciej Szulik
0ea31b56ed Adding reaper for deployments 2016-02-11 19:02:32 +01:00
Madhusudan.C.S
ed7ad6dcf3 Make deployments work. 2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.

Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Janet Kuo
7e9fb97b7d Remove UniqueLabelKey from deployment spec 2016-02-05 16:21:44 -08:00