Michail Kargakis
bf00824e0e
test: wait for a complete deployment before getting its conditions
2016-11-14 11:27:46 +01:00
Michail Kargakis
8ef6fdde72
Restore event messages for replica sets in the deployment controller
2016-11-10 14:34:40 +01:00
Kubernetes Submit Queue
b6f077defe
Merge pull request #36309 from kargakis/scaled-rollout-fix
...
Automatic merge from submit-queue
test: wait until all pods are available for newly created deployment
Fixes https://github.com/kubernetes/kubernetes/issues/35337
@kubernetes/deployment
2016-11-07 09:44:33 -08:00
Michail Kargakis
a6f52d1d7f
test: wait until all pods are available for newly created deployment
2016-11-06 14:07:24 +01:00
Michail Kargakis
e7158d8eaf
test: ignore 404 when deleting pods
2016-11-06 13:30:47 +01:00
Kubernetes Submit Queue
2c50d2b6fc
Merge pull request #36094 from janetkuo/overlapping-deployment-select
...
Automatic merge from submit-queue
Update how we detect overlapping deployments
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #24152
**Special notes for your reviewer**: cc @kubernetes/deployment
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
NONE
```
When looking for overlapping deployments, we should also find other deployments that select current deployment's pods,
not just the ones whose pods are selected by current deployment.
2016-11-05 21:04:58 -07:00
Kubernetes Submit Queue
a811515d34
Merge pull request #35691 from kargakis/controller-changes-for-perma-failed
...
Automatic merge from submit-queue
Controller changes for perma failed deployments
This PR adds support for reporting failed deployments based on a timeout
parameter defined in the spec. If there is no progress for the amount
of time defined as progressDeadlineSeconds then the deployment will be
marked as failed by a Progressing condition with a ProgressDeadlineExceeded
reason.
Follow-up to https://github.com/kubernetes/kubernetes/pull/19343
Docs at kubernetes/kubernetes.github.io#1337
Fixes https://github.com/kubernetes/kubernetes/issues/14519
@kubernetes/deployment @smarterclayton
2016-11-04 14:49:43 -07:00
Michail Kargakis
de8214ad4d
test: e2e tests for perma-failed deployments
2016-11-04 13:36:46 +01:00
Janet Kuo
9f3560c563
Update how we detect overlapping deployments
...
When looking for overlapping deployments, we should also find other deployments that select current deployment's pods,
not just the ones whose pods are selected by current deployment.
2016-11-02 15:29:28 -07:00
Michail Kargakis
2491216222
Replica set/rc controller changes for Conditions
2016-11-02 10:30:09 +01:00
Michail Kargakis
a96fa8489e
test: check for desired Deployment status prior to listing RSs
2016-10-30 15:11:46 +01:00
Kubernetes Submit Queue
7c9c8cbf28
Merge pull request #34952 from kargakis/update-observedgeneration-for-overlapping-deployments
...
Automatic merge from submit-queue
Make overlapping deployments deletable
@kubernetes/deployment ptal
Fixes https://github.com/kubernetes/kubernetes/issues/34466 by 1) not adding the overlapping annotation in the working deployment, 2) updates observedGeneration for overlapping deployments, and 3) updates the kubectl deployment reaper to do non-cascading deletion for deployments with the overlapping annotation.
2016-10-29 14:50:16 -07:00
Jan Chaloupka
4fde09d308
Replace client with clientset in code
2016-10-23 22:00:35 +02:00
Michail Kargakis
12455bf5e1
hack: add test for overlapping selectors in deployments
2016-10-18 17:46:34 +02:00
Michail Kargakis
71df8f6544
test: wait for complete rollouts in WaitForDeploymentStatusValid
2016-10-17 13:19:28 +02:00
Michail Kargakis
cc2550c4e1
e2e: don't require minimum availability once scaling takes place
2016-10-13 18:14:45 +02:00
Michail Kargakis
712ad06ed7
test: move deployment deletion in its own test
...
Defer deployment deletion to the namespace controller for all other tests
2016-10-11 15:22:32 +02:00
Doug Davis
9d5bac6330
Change minion to node
...
Contination of #1111
I tried to keep this PR down to just a simple search-n-replace to keep
things simple. I may have gone too far in some spots but its easy to
roll those back if needed.
I avoided renaming `contrib/mesos/pkg/minion` because there's already
a `contrib/mesos/pkg/node` dir and fixing that will require a bit of work
due to a circular import chain that pops up. So I'm saving that for a
follow-on PR.
I rolled back some of this from a previous commit because it just got
to big/messy. Will follow up with additional PRs
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-09-28 10:53:30 -07:00
deads2k
c22f076561
remove almost all usages of clientadapter
2016-09-26 07:53:03 -04:00
Michail Kargakis
4b45bc1fa7
test: use low terminationGracePeriod for deployment test
2016-09-19 10:29:29 +02:00
deads2k
519c13745f
convert rest of kubectl to generated clients
2016-09-12 08:22:34 -04:00
Janet Kuo
1ece902d9f
Fix the race check after an overlapping deployment is deleted
2016-09-06 10:30:05 -07:00
Janet Kuo
c5cef18735
Add e2e test for overlapping deployments
2016-08-23 14:33:30 -07:00
Janet Kuo
242c11b580
Deployment status validity should be checked in scaled rollout e2e test
2016-08-05 10:32:24 -07:00
Janet Kuo
808041cbd4
Update deployment e2e test to check violated rollingupdate strategy
2016-08-01 17:05:22 -07:00
Janet Kuo
a82c55213b
Fix incorrect reference to deployment in test
2016-08-01 17:05:22 -07:00
Janet Kuo
b45afc04a2
Use nonexistent image instead of minReadySeconds in deployment rollover e2e test
2016-07-25 11:45:46 -07:00
Michail Kargakis
97b9c73bf1
e2e: test for scaling+rolling out a deployment at once
2016-07-21 00:42:25 +02:00
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
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Janet Kuo
40849a5b50
Skip apply annotation when copying annotations from deployment to RC
2016-02-04 23:30:31 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Saad Ali
0952dcd349
Merge pull request #20389 from mqliang/deployment-MinReadySeconds
...
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 22:44:14 -08:00
k8s-merge-robot
16aa40cc33
Merge pull request #20035 from janetkuo/record-command
...
Auto commit by PR queue bot
2016-02-03 20:19:08 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Janet Kuo
e3cb44aaff
Copy deployment's annotations to its RC
2016-02-03 10:19:06 -08:00
mqliang
c4a1ab42e3
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 11:38:11 +08:00
Janet Kuo
442c75045a
Add kubectl rollout undo
2016-02-02 14:20:01 -08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Janet Kuo
3396db9510
Add rollback subresource; add rollback logic to deployment controller
2016-01-30 16:00:34 -08:00
k8s-merge-robot
470b69b590
Merge pull request #20310 from janetkuo/remove-deployment-e2e-flaky
...
Auto commit by PR queue bot
2016-01-30 15:52:54 -08:00
Janet Kuo
c84a0371a2
Deployment adds version info to its new rc
2016-01-30 12:04:35 -08:00
Janet Kuo
9e236a6c57
Remove 3 deployment e2e tests from flaky list
2016-01-29 22:59:49 -08:00
mqliang
c5cda2012a
cleanup-policy
2016-01-30 09:57:21 +08:00
Fabio Yeon
6ee2f57490
Merge pull request #19638 from mqliang/RecreateDeployment
...
remove the flaky mark in deployment e2e test
2016-01-29 10:54:29 -08:00
Isaac Hollander McCreery
d002a68f3c
Label feature tests for Feature:DaemonSet, Feature:Deployment, Feature:ExperimentalResourceUsageTracking, and remove GKE and AWS skip lists
2016-01-27 16:09:12 -08:00
Michail Kargakis
436d2677f9
extensions: support paused deployments
...
This commit adds support for paused deployments so a user can choose
when to run a deployment that exists in the system instead of having
the deployment controller automatically reconciling it after every
change or sync interval.
2016-01-26 12:42:26 +01:00
Janet Kuo
5a22e30b7d
Sync deployment status when with RecreateDeploymentStrategy
2016-01-15 16:10:06 -08:00
mqliang
a06137a181
remove the flaky mark in deployment e2e test
2016-01-14 11:11:33 +08:00
mqliang
92798408af
implement reconcileRecreateDeployment
2016-01-13 11:27:26 +08:00