k8s-merge-robot
e35efb5765
Merge pull request #23467 from mikedanese/dont-sync-deployment
...
Auto commit by PR queue bot
2016-03-29 06:42:20 -07:00
Mike Danese
c4305762b2
don't sync deployment when pod selector is empty
2016-03-28 10:12:41 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Janet Kuo
482efba8de
Copy annotations back from RS to Deployment on rollback
2016-03-21 10:21:48 -07:00
Janet Kuo
26bcdb1bd6
Separate GetOldRS and GetNewRS in deployment controller (get and mutate) and deployment util (get only)
2016-03-15 10:23:20 -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
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
Joshua Piccari
f5f83b076a
Improve go report card by fixing typos in comments
2016-03-04 18:30:59 -08:00
Janet Kuo
59b1f5b8b5
Log contents of pods on creation/update/deletion in controllers
2016-03-04 13:57:34 -08:00
Janet Kuo
48dc694ba6
Add more comments and rename getAllReplicaSets to getAllReplicaSetsAndSyncRevision
2016-03-02 17:51:35 -08:00
Janet Kuo
e42eab59bc
Add comments about deployment revision update
2016-03-02 11:19:48 -08:00
Janet Kuo
67bfe5d796
Avoid copying deployment revision annotations to rs
2016-03-01 17:25:44 -08:00
Janet Kuo
1706df6242
Revision number should be updated only when it's smaller than it should be
2016-03-01 17:12:24 -08:00
k8s-merge-robot
8d90b2a61b
Merge pull request #22213 from janetkuo/deployment-type-assert
...
Auto commit by PR queue bot
2016-03-01 00:08:48 -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
1b831babe7
Move deployment Add/Update/DeleteFunc into functions
2016-02-29 18:19:48 -08:00
Janet Kuo
1960243d82
Fix type assertion error in deployment controller DeleteFunc
2016-02-29 18:19:33 -08:00
nikhiljindal
2019d18e9a
Fixing a bug in deployment controller cleanupOldReplicaSets
2016-02-29 16:40:35 -08:00
Janet Kuo
f129d97262
Fill missing arg in log
2016-02-29 14:26:19 -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
mqliang
06d57ec7f4
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-25 13:30:06 +08:00
Brian Grant
bea349a80d
Merge pull request #21856 from bprashanth/ttl_race
...
Lock across item expiration in the ttl store.
2016-02-24 15:06:25 -08:00
Brian Grant
88056edab2
Merge pull request #21902 from janetkuo/deployment-unavailable-replicas
...
Fix the incorrect deployment.status.unavailableReplicas
2016-02-24 14:48:04 -08:00
Brian Grant
0b5edab208
Merge pull request #21857 from nikhiljindal/stopDeployment
...
fix deployment e2e flake: Update DeploymentReaper.Stop to use ObservedGeneration
2016-02-24 14:26:23 -08:00
Janet Kuo
062b9f86b9
Fix the incorrect deployment.status.unavailableReplicas
2016-02-24 14:09:49 -08:00
Prashanth Balasubramanian
7e88b3ec84
Remove ttl store from controllers.
2016-02-24 14:06:22 -08:00
Brian Grant
832bc37ee4
Merge pull request #21713 from janetkuo/deployment-actual-replicas
...
Report actual replicas in deployment status
2016-02-24 13:55:16 -08:00
nikhiljindal
9d7259950b
Update status for paused deployments
2016-02-24 00:49:03 -08:00
kargakis
7a3d40786b
switch internal field to int64
2016-02-23 19:30:33 +01:00
kargakis
418d79cb78
extensions: add observedGeneration for deployments
2016-02-23 18:47:40 +01:00
Janet Kuo
3901423272
Report actual replicas in deployment status
2016-02-22 14:28:28 -08:00
Janet Kuo
da58172283
Ensure Deployment labels adopted ReplicaSets and pods
2016-02-22 10:58:54 -08:00
k8s-merge-robot
be9dfcaec4
Merge pull request #21210 from mqliang/hasSync-early
...
Auto commit by PR queue bot
2016-02-20 09:54:12 -08:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
mqliang
ced5eb7a71
return early if has not synced
2016-02-18 11:56:52 +08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Janet Kuo
fe4bf6ff5c
When syncRecreateDeployment, don't create a new RS before scaling down
2016-02-16 18:05:44 -08:00
Janet Kuo
e9262df456
Scale up early when deployment creates new Replica set
2016-02-16 18:05:44 -08:00
k8s-merge-robot
3616b4bfec
Merge pull request #21044 from mqliang/deployment-util
...
Auto commit by PR queue bot
2016-02-16 15:33:26 -08:00
Chao Xu
97aecd002a
remove underscore in imported pkg names
2016-02-16 10:54:51 -08:00
mqliang
fcf0d6d720
add GetValueFromIntOrPercent helper funcs
2016-02-15 23:06:02 +08:00
mqliang
d96cdb93c4
move helper funcs to util/deployment.go from util.go
2016-02-15 22:36:48 +08:00
k8s-merge-robot
3b4c0beb99
Merge pull request #20868 from mqliang/int-min-max
...
Auto commit by PR queue bot
2016-02-13 17:32:22 -08:00
k8s-merge-robot
524aaa2f7f
Merge pull request #21152 from kargakis/fix-cleanup-policy
...
Auto commit by PR queue bot
2016-02-13 03:47:33 -08:00
Michail Kargakis
b9839d0677
controller: fix cleanup policy for deployments
...
Cleanup policy should run on all replica sets and not only on those that
have pods (we will not cleanup those anyway).
2016-02-12 19:14:18 +01:00
Janet Kuo
2731e5fe20
Check pod HasSynced in deployment controller manager
2016-02-12 00:11:27 -08:00
mqliang
7be9071584
create some integer min/max function
2016-02-12 11:20:11 +08:00