Piotr Szczesniak
9659057986
Revert "Enable kubecontainer.Cache in kubelet"
2016-01-18 13:35:41 +01:00
Lantao Liu
4c37dbe6e6
Merge pull request #19690 from Random-Liu/fix-bug-in-status-test
...
Fix bug in status/manager_test.go
2016-01-18 01:15:16 -08:00
k8s-merge-robot
fcf8263b1b
Merge pull request #19572 from pwittrock/exportfsmetrics
...
Auto commit by PR queue bot
2016-01-17 07:46:02 -08:00
k8s-merge-robot
0051dcc83e
Merge pull request #19560 from Random-Liu/format-reconcile-log
...
Auto commit by PR queue bot
2016-01-17 04:51:05 -08:00
Random-Liu
0e612afa98
Start using PodSyncResult in dockertools
2016-01-17 00:42:45 -08:00
Random-Liu
f2176643e7
Add unit test for PodSyncResult
2016-01-17 00:42:45 -08:00
Random-Liu
2d31d8ed4c
Add PodSyncResult
2016-01-17 00:42:44 -08:00
k8s-merge-robot
ac0d01f8ca
Merge pull request #19436 from yujuhong/status_cache_p2
...
Auto commit by PR queue bot
2016-01-16 09:24:19 -08:00
k8s-merge-robot
ffed4e1a3a
Merge pull request #19428 from yifan-gu/rkt_isolator
...
Auto commit by PR queue bot
2016-01-16 08:48:38 -08:00
Mike Danese
936c8cd597
Merge pull request #19685 from resouer/testing
...
Replace fake handler using testing pkg
2016-01-15 17:47:53 -08:00
Tim St. Clair
5a0dc30b51
Add blank /stats/summary kubelet endpoint
...
Add a `/stats/summary` endpoint to the kubelet which will return an
empty Summary{} struct (json formatted), as a summary API
placeholder. Once the next cAdvisor release is vendored, the summary
API will be filled in.
2016-01-15 14:55:54 -08:00
Random-Liu
8fb056d258
Add getTestPod() to avoid sharing object among test cases
2016-01-15 11:22:15 -08:00
k8s-merge-robot
21aa683fb5
Merge pull request #18974 from pmorie/config-env
...
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
combk8s
5b383dad62
fix image gc bug
2016-01-15 16:43:22 +08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
33c72db59c
Merge pull request #19528 from resouer/strings-util
...
Create strings pkg to fix util issue
2016-01-14 21:19:17 -08:00
harry
7405c7899b
Add strings pkg to hold strings utils
...
Replace funtions with strings pkg
Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Phillip Wittrock
bb216e53da
Define stats api fields for exporting filesystem metrics #17331
2016-01-14 15:52:35 -08:00
Yu-Ju Hong
c9faecba9d
Merge pull request #19668 from Random-Liu/fix-bug-in-reconcile
...
Fix bug in needsReconcile
2016-01-14 14:29:29 -08:00
Mike Danese
9745d1cbf0
Merge pull request #19626 from mikedanese/kubelet-labels
...
kubelet: use ConfigurationMap instead of json
2016-01-14 14:08:53 -08:00
Prashanth B
926b94fefc
Merge pull request #19493 from bprashanth/kubelet_fix
...
Errors in network setup should prevent pod creation
2016-01-14 13:49:19 -08:00
Yu-Ju Hong
15950daa7f
Restore the old behavior of setting pod status to pending
2016-01-14 13:46:26 -08:00
Random-Liu
fed61731f1
Fix bug in needsReconcile
2016-01-14 13:44:02 -08:00
Mike Danese
41df8749a8
Merge pull request #19470 from gmarek/kubemark-performance
...
Shorten the sleep amount in the fake docker client
2016-01-14 11:55:24 -08:00
Mike Danese
14378485f3
Merge pull request #19629 from yifan-gu/rkt_debug_logging
...
rkt: Add useful debugging message.
2016-01-14 11:49:18 -08:00
Mike Danese
35a3785cf6
kubelet: use ConfigurationMap instead of json
2016-01-14 09:32:42 -08:00
Yu-Ju Hong
07cf5cff48
Enable kubecontainer.Cache in kubelet
2016-01-14 09:31:24 -08:00
k8s-merge-robot
bf315d4563
Merge pull request #19374 from timstclair/housekeep
...
Auto commit by PR queue bot
2016-01-14 01:42:52 -08:00
k8s-merge-robot
a385de1e43
Merge pull request #19357 from timstclair/stats-refactor
...
Auto commit by PR queue bot
2016-01-13 23:54:48 -08:00
k8s-merge-robot
5462a37dfe
Merge pull request #17700 from yujuhong/status_cache
...
Auto commit by PR queue bot
2016-01-13 22:47:57 -08:00
Yifan Gu
74b8ffd156
rkt: Add useful debugging message.
2016-01-13 17:15:49 -08:00
Paul Morie
6cfd101251
Add support for ConfigMap keys in env vars
2016-01-13 17:00:15 -05:00
Yu-Ju Hong
b56ed1a8c2
Support populating the runtime cache in PLEG
...
This changes does not turn on this feature (cache) for kubelet.
2016-01-13 10:19:47 -08:00
Yu-Ju Hong
032c0a4074
Add container.Cache for storing container.PodStatus
...
This cache will be used to stores the PodStatus of all pods/containers
visible on the node. This will elimiate the need for pod workers to query the
container runtime directly.
2016-01-13 10:19:47 -08:00
Sami Wagiaalla
125295ba40
Remove manageVolumeOwnership from kubelet
2016-01-13 10:37:10 -05:00
Sami Wagiaalla
f650648aae
Add fsGroup to SetUp and SetUpAt
2016-01-13 10:37:10 -05:00
Tim St. Clair
e2ffd007f7
Implement node Allocatable
...
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```
Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Yu-Ju Hong
4ab505606b
Always overwrite items in kubelet's work queue
...
This allows kubelet to change the next sync time based on the last result.
2016-01-12 16:25:19 -08:00
Yu-Ju Hong
73a4f8225c
PLEG should report events if a container is removed
...
Currently, pleg would report a event if a container transitions from running to
exited between relisting. However, if would not report any event if a container
gets stopped and removed between relisting. This event will eventually be
handled when the pod syncs periodically, but this is undesirable. This change
ensures that we detect all such events.
2016-01-12 16:25:19 -08:00
Mike Danese
bf763bba95
Merge pull request #19498 from pwittrock/nodelabels
...
Node labels: Remove node-labels-file command line option. Change --n…
2016-01-12 15:12:57 -08:00
Derek Parker
55f09009c7
rkt: Include size in ListImages
2016-01-12 14:44:40 -08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Phillip Wittrock
f1c8384ff4
Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line.
2016-01-12 12:57:12 -08:00
Random-Liu
acb74454dc
Format reconcile log with format.Pod(pod)
2016-01-12 12:03:16 -08:00
k8s-merge-robot
67ac4e3838
Merge pull request #18410 from Random-Liu/reconcile-pod-status
...
Auto commit by PR queue bot
2016-01-12 02:17:09 -08:00
k8s-merge-robot
c255181509
Merge pull request #18248 from resouer/images-dev
...
Auto commit by PR queue bot
2016-01-11 23:53:43 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Saad Ali
651206fd90
Merge pull request #19393 from yujuhong/fix_dockerclient
...
Fix fake docker client to corretly report status of containers
2016-01-11 13:56:41 -08:00
Saad Ali
f5ea4f4671
Merge pull request #19392 from yujuhong/runtime_mock
...
Add a container runtime mock for testing
2016-01-11 13:03:37 -08:00