k8s-merge-robot
3b65927050
Merge pull request #16451 from ncdc/exec-interop-testing
...
Automatic merge from submit-queue
Refactor streaming code to support interop testing
Refactor exec/attach/port forward client and server code to better
support interop testing of different client and server subprotocol
versions.
Fixes #16119
2016-04-01 17:11:26 -07:00
derekwaynecarr
eeeccd0a67
A pod never terminated if a container image registry was unavailable
2016-04-01 13:42:23 -04:00
Andy Goldstein
4551ba6b53
Refactor exec code to support version skew testing
...
Refactor exec/attach client and server code to better support interoperability testing of different
client and server subprotocol versions.
2016-04-01 13:05:50 -04:00
Dan Williams
fb97b8cdaa
Implement network plugin capabilities hook and shaping capability
...
Allow network plugins to declare that they handle shaping and that
Kuberenetes should not. Will be first used by openshift-sdn which
handles shaping through OVS, but this triggers a warning when
kubelet notices the bandwidth annotations.
2016-03-30 11:51:21 -05:00
Dan Williams
f1323103db
Embed NoopNetworkPlugin into other network plugins
...
Let Noop handle common functions.
2016-03-30 11:51:21 -05:00
k8s-merge-robot
6226cbe6ca
Merge pull request #23308 from yifan-gu/rkt_bump
...
Automatic merge from submit-queue
rkt: bump rkt version to 1.2.1
Upon bumping the rkt version, `--hostname` is supported. Also we now gets the configs from the rkt api service, so `stage1-image` is deprecated.
cc @yujuhong @Random-Liu
2016-03-30 05:42:58 -07:00
k8s-merge-robot
2a690cc5e2
Merge pull request #23059 from luxas/auto_arch_pause
...
Automatic merge from submit-queue
Make kubelet use an arch-specific pause image depending on GOARCH
Related to: #22876 , #22683 and #15140
@ixdy @pwittrock @brendandburns @mikedanese @yujuhong @thockin @zmerlynn
2016-03-29 23:27:42 -07:00
Yifan Gu
d4dc037bf7
rkt: Add '--hostname' support for rkt.
...
Add GeneratePodHostNameAndDomain() to RuntimeHelper to
get the hostname of the pod from kubelet.
Also update the logging flag to change the journal match from
_HOSTNAME to _MACHINE_ID.
2016-03-28 17:06:14 -07:00
Yifan Gu
d814d973ff
rkt: Bump rkt required version. Get options from api service.
2016-03-28 17:06:14 -07:00
k8s-merge-robot
2205a30348
Merge pull request #23368 from saad-ali/renameBuilderCleaner
...
Auto commit by PR queue bot
2016-03-26 13:01:25 -07:00
k8s-merge-robot
e44ad7a083
Merge pull request #22735 from resouer/throttle-dev
...
Auto commit by PR queue bot
2016-03-26 06:44:48 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Lucas Käldström
c6172e58cf
Make kubelet use an arch-specific pause image depending on GOARCH
2016-03-25 23:45:59 +02:00
saadali
79012f6d53
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
2016-03-25 11:29:58 -07:00
harry
8472cfa214
Refactor throttle into util pkg
...
Fix missing throttle.go
2016-03-25 08:32:23 +08:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
k8s-merge-robot
8f71655bcc
Merge pull request #23325 from MurgaNikolay/master
...
Auto commit by PR queue bot
2016-03-22 11:47:38 -07:00
k8s-merge-robot
88d50f30d2
Merge pull request #23228 from yifan-gu/rkt_entry_cmd
...
Auto commit by PR queue bot
2016-03-22 08:07:41 -07:00
k8s-merge-robot
566d23e880
Merge pull request #23205 from yifan-gu/append_image_tag
...
Auto commit by PR queue bot
2016-03-22 07:30:52 -07:00
Nikolay Murga
70b918a2c0
Fix hairpin mode
2016-03-22 13:00:18 +02:00
k8s-merge-robot
a690c2ca76
Merge pull request #22914 from liggitt/test_export
...
Auto commit by PR queue bot
2016-03-21 23:06:46 -07:00
Jordan Liggitt
1d4c56c2f6
Move TestRuntimeCache into non-test file
2016-03-21 16:21:55 -04:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Yifan Gu
9d3d55d0fb
rkt: Unmarshal the ENTRYPOINT/CMD from jsons instead of strings.
...
Using json makes this robust to ENTRYPOINT/CMD that contains space.
Also removed 'RemainAfterExit' option, originally this option is
useful when we implement GetPods() by 'systemctl list-units'.
However since we are using rkt API service now, it's no longer needed.
2016-03-18 17:18:24 -07:00
Yifan Gu
89feb6fc53
rkt: Append tag to the returned image name.
2016-03-18 16:40:44 -07: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