Janet Kuo
e42eab59bc
Add comments about deployment revision update
2016-03-02 11:19:48 -08:00
Chao Xu
f8dd7fe1de
log the succussful forceful deletion
2016-03-02 11:18:55 -08:00
Paul Morie
834776aa1f
Add resource quota for ConfigMap
2016-03-02 09:59:51 -05:00
Marcin Wielgus
24b12b9191
In HPA metric client make average from samples from the last 1 minute
2016-03-02 15:06:27 +01:00
Piotr Szczesniak
205e3e607d
Added default cpu target for HPA
2016-03-02 09:38:26 +01: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
Saad Ali
c4ccd5188f
Merge pull request #22110 from timstclair/volumetest
...
Move test-only volume files to test-only volume package
2016-03-01 15:47:41 -08:00
CJ Cullen
506df24c1f
Revert "Evict pods w/o rate-limit when cloud says node is gone."
2016-03-01 11:04:18 -08:00
k8s-merge-robot
fec00b535f
Merge pull request #21187 from cjcullen/evict
...
Auto commit by PR queue bot
2016-03-01 10:45:22 -08:00
k8s-merge-robot
94a2319804
Merge pull request #22211 from derekwaynecarr/quota_fix
...
Auto commit by PR queue bot
2016-03-01 10:13:44 -08:00
mqliang
7e1ab26c06
add lookup cache for daemonset
2016-03-01 22:04:56 +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
k8s-merge-robot
c9bd9e9c95
Merge pull request #22223 from nikhiljindal/deploymente2eFlake
...
Auto commit by PR queue bot
2016-02-29 20:20:35 -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
derekwaynecarr
c9e4c846e6
Incorrect type passed into quota reflector
2016-02-29 20:48:48 -05:00
nikhiljindal
2019d18e9a
Fixing a bug in deployment controller cleanupOldReplicaSets
2016-02-29 16:40:35 -08:00
Tim St. Clair
246b389275
Move test-only volume files to test-only volume package
2016-02-29 14:44:28 -08:00
Janet Kuo
f129d97262
Fill missing arg in log
2016-02-29 14:26:19 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Justin Santa Barbara
5b3bb56a4f
Apply exponential backoff in servicecontroller before retrying
...
Issue #21952
2016-02-29 14:47:36 -05:00
Saad Ali
1dd3cb58f8
Merge pull request #22160 from liggitt/token-e2e
...
Remove short-circuit of token reference cleanup
2016-02-29 10:51:00 -08:00
CJ Cullen
3a8c7a7074
Evict pods w/o rate-limit when cloud says node is gone.
2016-02-29 10:33:50 -08:00
k8s-merge-robot
fe03c663d9
Merge pull request #22094 from alex-mohr/routes
...
Auto commit by PR queue bot
2016-02-29 05:46:51 -08:00
Jordan Liggitt
bd552c99c5
Remove cache-based short-circuit of token cleanup
2016-02-29 00:25:49 -05:00
k8s-merge-robot
8b19638bd0
Merge pull request #22078 from janetkuo/kill-pods-better
...
Auto commit by PR queue bot
2016-02-28 10:39:15 -08:00
Brian Grant
a56bbbf8bc
Merge pull request #22143 from bprashanth/graceful_del
...
Don't double count graceful deletion
2016-02-28 08:46:52 -08:00
k8s-merge-robot
5ecbf4ff4a
Merge pull request #22138 from bgrant0607/bugfix1
...
Auto commit by PR queue bot
2016-02-28 02:00:40 -08:00
Prashanth Balasubramanian
859f6b13fa
Don't double count graceful deletion.
2016-02-28 00:30:57 -08:00
k8s-merge-robot
ff758bec58
Merge pull request #21750 from piosz/hpa-status-current-utilization
...
Auto commit by PR queue bot
2016-02-28 00:22:26 -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
k8s-merge-robot
6f8a951f87
Merge pull request #20446 from derekwaynecarr/quota_scopes
...
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
Mike Danese
a50bc3da10
revert deletePods changes in #22100
2016-02-27 08:40:50 -08:00
k8s-merge-robot
43792754d8
Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
...
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
Mike Danese
c1a7e280a3
fix pod eviction for gracefully terminationg pods
2016-02-26 17:34:15 -08:00
derekwaynecarr
af85fb57c3
Make ResourceQuota admission and controller work generically
2016-02-26 20:34:15 -05:00
Alex Mohr
0816fa2072
Add support for more than 500 results to GCE cloud provider API calls
...
for Instance.List and Routes.List which we will definitely have
more than 500 of when supporting 1000 nodes.
Add TODOs for other GCE List API calls to do similar fixes.
Add more logging to GCE's routecontroller.go when creating or deleting routes.
2016-02-26 16:03:01 -08:00
Fabio Yeon
53859b032f
Merge pull request #22067 from derekwaynecarr/ns_controller_errors
...
e2e flake fix: Namespace controller error handling improvements
2016-02-26 15:59:32 -08:00
Fabio Yeon
7d0684e9c4
Merge pull request #21628 from smarterclayton/suppress_debug_logging
...
Reduce volume of logs generated at v(3)
2016-02-26 15:47:31 -08:00
Janet Kuo
9185c05a91
When comparing timestamp of pods, kill pods with zero timestamps first
2016-02-26 15:35:06 -08:00
Janet Kuo
2b81e751e1
Better choices of what pods to kill
2016-02-26 15:35:06 -08:00
Fabio Yeon
1bd3e83ce4
Merge pull request #22069 from a-robinson/keymutex-v2
...
Protect against race conditions in the service controller
2016-02-26 14:37:37 -08:00
Fabio Yeon
e4dd1e66fb
Merge pull request #22030 from mikedanese/ds-nil
...
fix nil pointer in dameonset controller
2016-02-26 13:01:24 -08:00
Alex Robinson
ab797d1b65
A load balancer should be updated if a service's UID has changed.
...
The load balancer's name is determined by the service's UID. If the
service's UID has changed (presumably due to a delete and recreate),
then we need to recreate the load balancer as well to avoid eventually
leaking the old one.
2016-02-26 20:26:27 +00:00
Alex Robinson
4ce5f68ed0
Protect against race conditions in the service controller.
...
Re-GET the service object when we process it rather than trusting the
delta. This will make for a lot more service get requests given that we
resync all the services every 5 minutes, but will avoid re-ordering of
updates and continually retrying stale updates, as has been described in
a few other issues and PRs.
2016-02-26 20:26:22 +00:00
derekwaynecarr
a301a2565e
Namespace controller error handling improvements
2016-02-26 14:08:28 -05:00
k8s-merge-robot
cab55f856b
Merge pull request #22044 from davidopp/wait
...
Auto commit by PR queue bot
2016-02-26 10:33:15 -08:00
David Oppenheimer
690aae1e67
Wait for goroutines creating routes to finish.
2016-02-25 22:36:51 -08:00
Brian Grant
39f0edca75
Fix expectations in Deployment. Ref #19299 .
2016-02-26 06:15:26 +00:00
Mike Danese
d7a7f87eee
fix nil pointer in dameonset controller
2016-02-25 16:17:33 -08:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
mqliang
06d57ec7f4
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-25 13:30:06 +08:00
k8s-merge-robot
9a4e3f8470
Merge pull request #21870 from mqliang/lookup-cache
...
Auto commit by PR queue bot
2016-02-24 20:01:29 -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
Chao Xu
cf98bcb48a
Merge pull request #21816 from caesarxuchao/fix-21763
...
Fix the EventSink in HPA controller
2016-02-24 14:09:02 -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
mqliang
e44e71ca87
make cache size configurable
2016-02-24 22:37:02 +08:00
k8s-merge-robot
8a5c959494
Merge pull request #19043 from mqliang/lookup-cache
...
Auto commit by PR queue bot
2016-02-24 04:02:33 -08:00
mqliang
d9a35a25d7
add lookup cache for ReplicationController and ReplicaSet
2016-02-24 17:43:22 +08:00
nikhiljindal
9d7259950b
Update status for paused deployments
2016-02-24 00:49:03 -08:00
Marcin Wielgus
81fcd778e3
Merge pull request #21550 from mwielgus/hpa-pending
...
Don't include pending pods in metrics calculations
2016-02-24 09:38:36 +01:00
Piotr Szczesniak
4d1367c212
Added more unit test for hpa status
2016-02-24 09:18:39 +01:00
Marcin Wielgus
7ee767e4e8
Merge pull request #21743 from piosz/hpa-status
...
HPA update its status even if getting metrics failed
2016-02-24 09:01:35 +01:00
Marcin Wielgus
6f73f89f40
Merge pull request #21663 from gmarek/route
...
Wait for all route creation in RouteController
2016-02-24 09:00:08 +01:00
Dawn Chen
a8c0ac88fc
Merge pull request #21754 from kargakis/use-generation-for-deployments
...
Use generation for deployments
2016-02-23 16:42:16 -08:00
Chao Xu
e20e295cbe
fix Event broadcaster for HPA
2016-02-23 16:15:10 -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
gmarek
e99ad585ce
Decrease verbosity in NodeController
2016-02-23 17:03:38 +01:00
k8s-merge-robot
a89b607a9c
Merge pull request #21666 from wojtek-t/registry_options
...
Auto commit by PR queue bot
2016-02-23 05:54:47 -08:00
Piotr Szczesniak
0dfeb81390
HPA update its status even if getting metrics failed
2016-02-23 14:30:03 +01:00
k8s-merge-robot
6b649d7f9f
Merge pull request #21706 from liggitt/token-controller
...
Auto commit by PR queue bot
2016-02-23 02:40:26 -08:00
Piotr Szczesniak
762e155f3e
Refactoring of pod autoscaler controller
2016-02-23 11:29:40 +01:00
Janet Kuo
3901423272
Report actual replicas in deployment status
2016-02-22 14:28:28 -08:00
Jordan Liggitt
92bf353496
Ensure created service account tokens are available to the token controller
2016-02-22 16:22:51 -05:00
Janet Kuo
da58172283
Ensure Deployment labels adopted ReplicaSets and pods
2016-02-22 10:58:54 -08:00
Wojciech Tyczynski
4eadc5e97b
Introduce RESTOptions to configure per-resource storage
2016-02-22 16:28:28 +01:00
gmarek
b862d2bfe6
Wait for all route creation in RouteController
2016-02-22 10:12:23 +01:00
k8s-merge-robot
2e3053a204
Merge pull request #21431 from freehan/sourcerange
...
Auto commit by PR queue bot
2016-02-21 16:14:42 -08:00
k8s-merge-robot
a52eb5d433
Merge pull request #21268 from jsafrane/devel/recycle-provisioned
...
Auto commit by PR queue bot
2016-02-20 15:26:28 -08:00
Clayton Coleman
ae2f6a833a
Reduce volume of logs generated at v(3)
...
Node controller is generating a huge amount of logging at v(3) that is
more appropriate for v(5). Split the log into two levels and ensure it
also ends up on one line (so grep works).
The pod manager generates a v(4) pod output on sync that always contains
a newline - since the size of the pod is so excessive in output, kick it
to v(5) for deep debugging (we're pretty happy with this loop).
2016-02-20 15:29:05 -05: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
a6d855bf64
Merge pull request #21149 from mwielgus/hpa-rescale
...
Auto commit by PR queue bot
2016-02-20 01:51:08 -08:00
Marcin Wielgus
34f7105871
Don't include pending pods in metrics calculations
2016-02-19 17:00:38 +01: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
Minhan Xia
7ffb123abe
add source range support for loadbalancer on gce
2016-02-18 17:05:02 -08:00
Andy Goldstein
49fb450a36
Fix type for DaemonSet informer
2016-02-18 14:54:39 -05: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
Marcin Wielgus
1d3891284e
Handle scenarios when the replica count is outside of HPA replica range
2016-02-18 13:45:03 +01:00
k8s-merge-robot
c0b3fc454e
Merge pull request #21462 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2016-02-18 02:59:01 -08:00
gmarek
0d7f3bca0a
Increase logging verbosity to help debugging #21458
2016-02-18 11:25:38 +01: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
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00