Janet Kuo
764df2e096
Listing pods only once when getting pods for RS in deployment
2016-06-10 09:55:28 -07:00
mqliang
9011207f18
add namespace index to rc and pod
2016-05-06 17:12:36 +08:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Mike Danese
c4305762b2
don't sync deployment when pod selector is empty
2016-03-28 10:12:41 -07:00
Janet Kuo
4a181dacec
Fix the possible negative scale down value; add logs when scaling down
2016-03-10 16:01:18 -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
Michail Kargakis
1388919976
controller: resolve unavailable in conjuction with surge for deployments
...
Due to rounding down for maxUnavailable, we may end up with deployments
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks deployments. If we end up in such a situation
set maxUnavailable to 1 on the theory that surge might not work due to
quota.
2016-03-07 13:03:41 +01:00
nikhiljindal
2019d18e9a
Fixing a bug in deployment controller cleanupOldReplicaSets
2016-02-29 16:40:35 -08: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
Brian Grant
39f0edca75
Fix expectations in Deployment. Ref #19299 .
2016-02-26 06:15:26 +00:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08: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
mqliang
86aea1d59c
clean up unhealthy replicas frst for old rcs when reconcileOldRCs
2016-02-09 07:43:48 +08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Janet Kuo
c84a0371a2
Deployment adds version info to its new rc
2016-01-30 12:04:35 -08:00
mqliang
c5cda2012a
cleanup-policy
2016-01-30 09:57:21 +08:00
Janet Kuo
9739a67833
Deployment status: number of available/unavailable pods
2016-01-25 14:30:15 -08:00
mqliang
92798408af
implement reconcileRecreateDeployment
2016-01-13 11:27:26 +08:00
Mike Danese
b2aa98f50d
fix flake in deployment unit test
2015-12-22 14:28:44 -08:00
Janet Kuo
1a8f96231a
Add expectation model for pod deletion
2015-12-17 19:29:54 -08:00
Janet Kuo
32d153093e
Fix deployment tests failures; change ResyncPeriod
2015-12-17 19:29:54 -08:00
Sam Ghods
b838d8ce18
Add informers to deployment controller
2015-12-17 19:29:54 -08: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
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
nikhiljindal
b0b1a35aae
Adding logic to scale down new RC
2015-10-07 15:53:47 -07:00
Dan Mace
007ca63c5b
Add unit tests for deployment controller
...
Add some minimal unit tests for the deployment controller.
2015-10-06 10:35:28 -04:00