Yu-Ju Hong
b734155954
Clean up housekeeping routine in kubelet
...
Now that kubelet checks sources seen correctly, there is no need to enforce the
initial order of pod updates and housekeeping. Use a ticker for housekeeping to
simplify the code.
2015-11-04 08:12:18 -08:00
k8s-merge-robot
75ecc34417
Merge pull request #16723 from wulonghui/wulonghui-patch-4
...
Auto commit by PR queue bot
2015-11-04 04:59:16 -08:00
k8s-merge-robot
456220ff1a
Merge pull request #16637 from lavalamp/go2idl.2
...
Auto commit by PR queue bot
2015-11-04 03:33:27 -08:00
k8s-merge-robot
2842d9476b
Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
...
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
k8s-merge-robot
ac63290ff5
Merge pull request #16781 from timothysc/fix-testing-deps
...
Auto commit by PR queue bot
2015-11-04 01:58:34 -08:00
k8s-merge-robot
859f75f436
Merge pull request #15264 from yujuhong/work_queue
...
Auto commit by PR queue bot
2015-11-03 22:51:18 -08:00
k8s-merge-robot
5ff0e128ad
Merge pull request #16752 from markturansky/remove_nfs_cansupport_binary_check
...
Auto commit by PR queue bot
2015-11-03 22:19:15 -08:00
Timothy St. Clair
dbdd1614e6
Fix for linkage issue with new testing utilities
2015-11-03 22:16:47 -06:00
Daniel Smith
241551e36e
set-gen example
2015-11-03 15:14:51 -08:00
k8s-merge-robot
bad838f35c
Merge pull request #16717 from liggitt/hpa_ref_validation
...
Auto commit by PR queue bot
2015-11-03 15:04:30 -08:00
Nikhil Jindal
34cbe48736
Merge pull request #16690 from nikhiljindal/apiDeclNotFound
...
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
k8s-merge-robot
c24873743f
Merge pull request #16664 from wojtek-t/remove_fake_client_from_cacher
...
Auto commit by PR queue bot
2015-11-03 13:48:35 -08:00
Yu-Ju Hong
2eb17df46b
kubelet: independent pod syncs and backoff on error
...
Currently kubelet syncs all pods every 10s. This is not preferred because
* Some pods may have been sync'd recently.
* This may cause all the pods to be sync'd at once, causing undesirable
CPU spikes.
This PR replaces the global syncs with independent, periodic pod syncs. At the
end of syncing, each pod worker will enqueue itslef with a future timestamp (
current time + sync interval), when it will be due for another sync.
* If the pod worker encoutners an sync error, it may requeue with a different
timestamp to retry sooner.
* If a sync is triggered by the update channel (events or spec changes), the
pod worker would enqueue a new sync time.
This change is necessary for moving to long or no periodic sync period once pod
lifecycle event generator is completed. We will still rely on the mechanism to
requeue the pod on sync error.
This change also makes sure that if a sync does not succeed (either due to
real error or the per-container backoff mechanism), an error would be propagated
back to the pod worker, which is responsible for requeuing.
2015-11-03 13:29:08 -08:00
markturansky
d3bb6575fb
Revert "nfs: check if /sbin/mount.nfs* is present in CanSupport()"
...
This reverts commit 1b3a88dc87
.
2015-11-03 16:09:57 -05:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
c8fe00b94f
Merge pull request #16711 from liggitt/remotecommand_error
...
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
k8s-merge-robot
121f33068d
Merge pull request #16668 from deads2k/fix-hpa-escalation
...
Auto commit by PR queue bot
2015-11-03 06:11:34 -08:00
k8s-merge-robot
3f3918048a
Merge pull request #16669 from erictune/fix-run-docstring
...
Auto commit by PR queue bot
2015-11-03 05:29:29 -08:00
deads2k
fd1c8e096a
eliminate cross-namespace HPA escalation attack
2015-11-03 08:05:26 -05:00
k8s-merge-robot
1b437272ba
Merge pull request #16696 from janetkuo/kubectl-jsonpath
...
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot
76083f73dc
Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
...
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00
Wojciech Tyczynski
030a272db5
Enable cacher for all resources.
2015-11-03 11:55:37 +01:00
k8s-merge-robot
fe2d44e842
Merge pull request #16653 from Random-Liu/remove-unused-type
...
Auto commit by PR queue bot
2015-11-03 02:45:22 -08:00
k8s-merge-robot
f371b3d891
Merge pull request #16621 from timstclair/metrics-lite
...
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
Wojciech Tyczynski
6246201eec
Remove fakeClient from cacher_test.
2015-11-03 10:58:43 +01:00
wulonghui
86abfb8d16
Delete all files and all hidden files without . & .. error for PV recycler
2015-11-03 17:34:25 +08:00
k8s-merge-robot
b79379516f
Merge pull request #16584 from wojtek-t/refactor_use_cacher
...
Auto commit by PR queue bot
2015-11-03 01:10:13 -08:00
k8s-merge-robot
f276572034
Merge pull request #16570 from liggitt/proxy_request_info
...
Auto commit by PR queue bot
2015-11-03 00:33:10 -08:00
k8s-merge-robot
c080c8a14f
Merge pull request #16537 from fabianofranz/attach_handles_tty_support
...
Auto commit by PR queue bot
2015-11-03 00:01:38 -08:00
k8s-merge-robot
c1d380db94
Merge pull request #16693 from Random-Liu/put-termination-message-path-into-docker-label
...
Auto commit by PR queue bot
2015-11-02 23:29:35 -08:00
k8s-merge-robot
5681bacef4
Merge pull request #16710 from feihujiang/addCommentNamespaceClearedForRootscopedResources
...
Auto commit by PR queue bot
2015-11-02 22:57:30 -08:00
k8s-merge-robot
990c0184be
Merge pull request #16330 from mikedanese/deploy-ptr
...
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Jordan Liggitt
ddae749111
Read error from failed upgrade attempts
2015-11-02 22:39:58 -05:00
feihujiang
f7bfb04665
Add a comment that not return an error for rootscoped resources with namesapce
2015-11-03 11:00:01 +08:00
Janet Kuo
4d92268212
Better error handling for output format when "kubectl config view"
2015-11-02 16:25:52 -08:00
Lantao Liu
894dc5a5a2
Move TerminationMessagePath into docker label.
2015-11-02 14:32:58 -08:00
nikhiljindal
7612bded3e
Removing an erroneous /
2015-11-02 14:18:57 -08:00
Wojciech Tyczynski
8f385c563f
Refactor code for creating Cacher.
2015-11-02 20:56:46 +01:00
Lantao Liu
eff4533efc
Move findPodContainer to docker_test.go
2015-11-02 09:49:07 -08:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
k8s-merge-robot
17e36b02f4
Merge pull request #16660 from mqliang/DelFmt
...
Auto commit by PR queue bot
2015-11-02 09:41:20 -08:00
Solly Ross
f262560cac
Customize HPA Heapster service namespace/name
...
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster". The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Fabiano Franz
c60f19a1f8
Attach must only allow a tty when container supports it
2015-11-02 09:56:58 -05:00
mqliang
3afcbae1a8
remove unnecessary fmt
2015-11-02 21:07:07 +08:00
feihujiang
3603b14977
Move service strategy to registry/service package
2015-11-02 19:56:03 +08:00
huangyuqi
b69b498235
use the defined constant variable
2015-11-02 15:32:53 +08:00
Lantao Liu
b127901871
Remove unused type DockerContainers.
...
Type DockerContainers and function FindPodContainer() are never used.
Remove them to simplify the docker runtime api.
2015-11-01 18:49:05 -08:00
k8s-merge-robot
4383e6f95c
Merge pull request #13146 from mikedanese/config-api
...
Auto commit by PR queue bot
2015-10-31 17:01:32 -07:00
k8s-merge-robot
e355710ece
Merge pull request #16639 from feihujiang/makeRootscopedResourceNamespaceSelectableFieldNotAllowed
...
Auto commit by PR queue bot
2015-10-31 16:29:30 -07:00
Mike Danese
67f46aa1f1
autogenerated
2015-10-31 12:26:54 -07:00