Jordan Liggitt
1d4c56c2f6
Move TestRuntimeCache into non-test file
2016-03-21 16:21:55 -04:00
k8s-merge-robot
61b9a21cfd
Merge pull request #23141 from yujuhong/fix_race
...
Auto commit by PR queue bot
2016-03-18 14:42:27 -07:00
Yu-Ju Hong
deafa44d61
kubelet: send all recevied pods in one update
...
The kubelet sync loop relies on getting one update as the signal that the
specific source is ready. This change ensures that we don't send multiple
updates (ADD, UPDATE) for the first batch of pods. This is required to prevent
the cleanup routine from killing pods prematurely.
2016-03-17 14:24:35 -07:00
Vishnu kannan
516559022c
1. Make kubelet default to 10ms for CPU quota if limit < 10m for
...
backwards compat.
2. Update documentation to reflect minimum CPU limits.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-17 13:30:06 -07:00
tobad357
3d530f7f37
Fix for issue #22932 infinite pod restarts
...
This fixes an issue when using CNI where the hash of a Container object will differ between creation and change checks due to the docker image exporting ports
2016-03-16 22:43:39 +08:00
k8s-merge-robot
71a3b91ac1
Merge pull request #22966 from timstclair/server
...
Auto commit by PR queue bot
2016-03-16 04:54:27 -07:00
k8s-merge-robot
a4097fa4f1
Merge pull request #22891 from yifan-gu/rkt_version
...
Auto commit by PR queue bot
2016-03-16 00:04:55 -07:00
Yifan Gu
fe2c3c351a
rkt: Split checkVersion() to two parts: get version, and check version.
...
This enables rkt runtime to setup versions during creation,
this fixes a kubelet nil pointer panic when kubelet tries to get the
rkt versions but it's not set.
2016-03-15 16:35:26 -07:00
Vishnu kannan
d269775929
Update cadvisor linux module to work with the cadvisor v0.22.2
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-15 16:02:05 -07:00
Tim St. Clair
8cb820be0e
Set correct applicatoin/json mime type for some kubelet endpoints
2016-03-14 18:04:17 -07:00
k8s-merge-robot
3b208815fd
Merge pull request #22713 from yifan-gu/rkt_fix_entrypoint
...
Auto commit by PR queue bot
2016-03-12 01:41:53 -08:00
Brian Grant
c6b4518aed
Merge pull request #22666 from pmorie/pod-ip-flake-redux
...
Fix flake in pod IP as env var e2e
2016-03-11 09:42:40 -08:00
Andy Goldstein
7230bd1096
Fix rkt GetPods() order
...
Use an array to store the pod IDs and use that to build the pod array with consistent ordering,
instead of map ordering, which is random and causes test flakes.
2016-03-11 12:32:22 -05:00
k8s-merge-robot
accd6a49be
Merge pull request #22767 from yifan-gu/rkt_getpods
...
Auto commit by PR queue bot
2016-03-11 04:08:38 -08:00
Paul Morie
5194c12d9e
Fix flake in pod IP as env var e2e
2016-03-10 16:32:03 -05:00
Yifan Gu
56be600c2b
rkt: Fix GetPods().
...
Group containers from different rkt pods into one k8s pod if
they have the same k8s pod UID.
2016-03-09 17:46:44 -08:00
Yifan Gu
4a63f7f74c
rkt: Support ENTRYPOINT/CMD substitution.
2016-03-08 18:32:18 -08:00
k8s-merge-robot
dba955e112
Merge pull request #22521 from wojtek-t/support_go_16_in_gofmt
...
Auto commit by PR queue bot
2016-03-08 13:14:45 -08:00
k8s-merge-robot
55530bc8f7
Merge pull request #22664 from bprashanth/cleanup-hairpin
...
Auto commit by PR queue bot
2016-03-08 05:36:18 -08:00
k8s-merge-robot
8b186991e2
Merge pull request #22607 from Random-Liu/restart-unknown-state-container
...
Auto commit by PR queue bot
2016-03-08 05:02:35 -08:00
Wojciech Tyczynski
525d14e0bc
Fix gofmt errors
2016-03-08 09:46:47 +01:00
k8s-merge-robot
bfde580cdd
Merge pull request #22656 from derekwaynecarr/fix_node_e2e_systemd
...
Auto commit by PR queue bot
2016-03-07 14:41:43 -08:00
derekwaynecarr
26dbbdb244
kubelet stats should ignore .mount cgroups associated with container on systemd
2016-03-07 14:57:29 -05:00
Prashanth Balasubramanian
544d0a5c05
Cleanup hairpin flag in the kubelet.
2016-03-07 11:55:09 -08:00
Xiaogang Xin
e2eccddc6f
kubernetes/kubernetes#22625 Fix issue of out-of-date Terminating
mirror pod status
...
- During `kubelet` `syncPod`, check mirror pod `DeletionTimestamp` value to determine whether re-create mirror pod for running static pod.
2016-03-07 13:42:41 +08:00
Yu-Ju Hong
b1a6ee26ef
Ignore "no such container" error when generating pod status
...
This allows the pod continue to sync if one container in a corrupt state.
2016-03-06 08:46:31 -08: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
k8s-merge-robot
fa0bf812d6
Merge pull request #22467 from Random-Liu/push-down-runtime-version-check
...
Auto commit by PR queue bot
2016-03-05 22:34:19 -08:00
k8s-merge-robot
357a9d1fdf
Merge pull request #22033 from yifan-gu/rkt_get_status
...
Auto commit by PR queue bot
2016-03-05 10:46:47 -08:00
k8s-merge-robot
f359bd96a7
Merge pull request #20578 from dcbw/dont-cni-hostnet-pods
...
Auto commit by PR queue bot
2016-03-05 09:03:12 -08:00
Lantao Liu
45064d7a1e
Always restart container in unknown state.
2016-03-05 10:42:26 +00:00
k8s-merge-robot
663f7b8a4c
Merge pull request #22487 from vishh/node-status-cpu-hardcap
...
Auto commit by PR queue bot
2016-03-05 02:32:33 -08:00
k8s-merge-robot
e9d3be83ae
Merge pull request #22241 from Random-Liu/recover-back-off-behaviour
...
Auto commit by PR queue bot
2016-03-05 00:05:15 -08:00
k8s-merge-robot
0f335df106
Merge pull request #22192 from bprashanth/timeout_client
...
Auto commit by PR queue bot
2016-03-04 22:59:24 -08:00
k8s-merge-robot
8ba70b573e
Merge pull request #22483 from yujuhong/force_update
...
Auto commit by PR queue bot
2016-03-04 22:26:14 -08:00
Random-Liu
07b21c50fa
Add Status in runtime interface and use it for runtime health check.
2016-03-04 21:26:41 -08:00
Joshua Piccari
f5f83b076a
Improve go report card by fixing typos in comments
2016-03-04 18:30:59 -08:00
Abhishek Shah
a3c00aadd5
Specify hostname, subdomain via annotation on podspec.
...
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Vishnu kannan
c54ba12faa
Update node status to include the absense of cpu hardcapping.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-04 10:33:56 -08:00
k8s-merge-robot
077fff8f4a
Merge pull request #22447 from yifan-gu/fix_log
...
Auto commit by PR queue bot
2016-03-04 08:01:51 -08:00
Dan Williams
bc62096ad5
Clean up host networking plugin checks for docker manager
...
We can save a docker inspect in podInfraContainerChanged() because
it's only used within the useHostNetwork() block. We can also
consolidate some code in createPodInfraContainer() because if
the pod uses the host network, no network plugin will be involved.
Finally, in syncPodWithSyncResult() we can consolidate some
conditionals because both hairpin setup and getting the container
IP are only relevant when host networking is *not* being used.
More specifically, putting the dm.determineContainerIP() call
into the !useHostNetwork() block is OK since if no network plugin
was called to set the container up, it makes no sense to call
the network plugin to retrieve the IP address that it did not
handle. The CNI plugin even calls back into the docker manager
to GetContainerIP() which grabs the IP from docker, which will
always be "" for host networked containers anyway.
2016-03-04 09:27:14 -06:00
k8s-merge-robot
c8038a7751
Merge pull request #22311 from vishh/22198
...
Auto commit by PR queue bot
2016-03-03 20:55:20 -08:00
Yu-Ju Hong
0264ebdda1
kubelet: force status update when the deletion timestamp is set
2016-03-03 16:24:56 -08:00
Jeff Lowdermilk
402e44d26e
Merge pull request #22320 from timstclair/network
...
Use the default interface for reporting network stats.
2016-03-03 15:18:34 -08:00
k8s-merge-robot
eb15cd9f7e
Merge pull request #21851 from timstclair/gc
...
Auto commit by PR queue bot
2016-03-03 11:39:12 -08:00
k8s-merge-robot
3f16f5f2b8
Merge pull request #22233 from yujuhong/pleg_health
...
Auto commit by PR queue bot
2016-03-03 11:01:26 -08:00
Yifan Gu
b7a058e290
rkt: Formats the timestamp to RFC3339.
...
This should fix the e2e test:
"should be able to retrieve and filter logs [Conformance]".
2016-03-03 10:47:18 -08:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
Jeff Lowdermilk
bb4e8365bd
Merge pull request #22327 from yujuhong/pleg_tests
...
pleg: add more tests for detecting missing container/pods
2016-03-02 16:15:31 -08:00