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