Commit Graph

78 Commits (7a725418af4661067b56506faabc2d44c6d7703a)

Author SHA1 Message Date
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
Chao Xu a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -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 77097d9a20 kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero
Due to rounding down for maxUnavailable, we may end up with rolling updates
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks updates. 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 e91048ea96 Merge pull request #22392 from janetkuo/retry-update-precondition
Auto commit by PR queue bot
2016-03-04 19:21:14 -08:00
Janet Kuo f666e87217 Filter out inactive pods first when determining if it's available 2016-03-04 16:32:32 -08:00
Janet Kuo 64731e8083 Address comments 2016-03-03 15:56:09 -08:00
Janet Kuo aae2073a78 Add preconditions to pod/rs update retry func 2016-03-03 14:54:28 -08:00
Janet Kuo 75e570832b Ignore not found error when retrying rs and pods updates 2016-03-03 11:45:55 -08:00
Brian Grant 4b213ed263 Merge pull request #22245 from nikhiljindal/deploymentTimeoutErrors
Improving deployment e2e failure error messages
2016-03-01 18:46:13 -08:00
Brian Grant 6deb2612dc Merge pull request #22243 from nikhiljindal/updatePodWithRetries
deployment e2e flake: Fix updatePodWithRetries to get and then immediately try update
2016-03-01 18:44:17 -08:00
nikhiljindal 0dae82f6f1 Improving deployment e2e failure error messages 2016-03-01 17:58:32 -08:00
nikhiljindal b65180c314 Update updatePodWithRetries to get and then update 2016-03-01 14:40:21 -08:00
Prashanth Balasubramanian b9eb552e07 Update the re-fetched pod with deployment labels. 2016-03-01 11:47:53 -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 b27edde38d Merge pull request #21957 from mqliang/deployment-preserve-availability
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-24 22:09:54 -08:00
Brian Grant be6515ca90 Merge pull request #21935 from janetkuo/nil-pointer
Fix the nil pointer dereference when counting RS replicas
2016-02-24 21:58:41 -08:00
mqliang 06d57ec7f4 Deployment: preserve availability when maxUnavailability is not 100% 2016-02-25 13:30:06 +08:00
Janet Kuo 069e77d504 Fix the nil pointer dereference when counting RS replicas 2016-02-24 18:27:27 -08:00
Janet Kuo 3ed8426a98 When calculating pod template hash, don't include the hash label 2016-02-24 18:09:59 -08:00
Janet Kuo 96908d6de5 Add more logs 2016-02-24 16:41:36 -08:00
Janet Kuo 082702390a Fix test flake 2016-02-24 16:41:36 -08:00
Janet Kuo 020ab8813d Check observed generation only after rs template is labeled in addHashKeyToRSAndPods 2016-02-24 16:41:36 -08:00
Janet Kuo 1d1c6f19b4 Fix the nil pointer dereference in addHashKeyToRSAndPods 2016-02-24 16:41:36 -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
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 7e50fa6df0 Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition 2016-02-24 00:09:44 -08:00
Janet Kuo 82dcc56fe3 Improve log for debug 2016-02-23 17:52:24 -08:00
Janet Kuo 3901423272 Report actual replicas in deployment status 2016-02-22 14:28:28 -08:00
Janet Kuo 4699a6d8a2 Address comments; fix test failure 2016-02-22 10:58:54 -08:00
Janet Kuo dc78af948e Address comments; fix incorrect hash 2016-02-22 10:58:54 -08:00
Janet Kuo 0e5da8460d Address comments 2016-02-22 10:58:54 -08:00
Janet Kuo 14bab2bb3a Address comments 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
Janet Kuo da58172283 Ensure Deployment labels adopted ReplicaSets and pods 2016-02-22 10:58:54 -08:00
Janet Kuo b267ede42c Address comments 2016-02-19 15:58:33 -08:00
Janet Kuo 6ceb221f8e Log pods of RS when deployment e2e test fails 2016-02-19 15:55:22 -08:00
k8s-merge-robot 5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Janet Kuo e9262df456 Scale up early when deployment creates new Replica set 2016-02-16 18:05:44 -08:00
Madhusudan.C.S 525d7a7732 Fix the label selector to selector conversion error string.
The message as it is framed right now does not make any sense for the
end users of our system. It might even lead to confusion. So this is
attempt to make the error message less confusing.
2016-02-10 09:43:30 -08:00
Madhusudan.C.S e7a9f30936 Address review comments. 2016-02-09 15:50:01 -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
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
Chao Xu 1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -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