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
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
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
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
Random-Liu
07b21c50fa
Add Status in runtime interface and use it for runtime health check.
2016-03-04 21:26:41 -08:00
Yifan Gu
168ec8b80f
kubelet: Sort the container statuses in convertStatusToAPIStatus().
2016-02-26 11:27:03 -08:00
Yifan Gu
2d2225414f
rkt: fix KillPod() to return the correct error message.
2016-02-22 17:07:31 -08:00
k8s-merge-robot
a2086d4150
Merge pull request #20816 from yifan-gu/termination_log_anno
...
Auto commit by PR queue bot
2016-02-10 00:26:48 -08:00
k8s-merge-robot
2ec49efd54
Merge pull request #19945 from Clarifai/fix-formatting
...
Auto commit by PR queue bot
2016-02-09 16:05:00 -08:00
Yifan Gu
b14ac9481a
rkt: Add hyphen in the annotation key.
2016-02-09 14:50:25 +08:00
Yifan Gu
8964469e4a
rkt: Remove ShouldContainerBeRestartedOldVersion().
2016-02-09 00:15:58 +08:00
Yifan Gu
8e5c14f1bf
rkt: Annotation key should not container capital letters.
2016-02-09 00:13:08 +08:00
Random-Liu
2b7d0182ca
Remove ConvertPodStatusToAPIPodStatus from runtime interface
2016-02-05 19:19:46 +00:00
k8s-merge-robot
bd67b8a5db
Merge pull request #20192 from Random-Liu/remove-get-api-podstatus
...
Auto commit by PR queue bot
2016-02-05 11:00:42 -08:00
Rudi Chiarito
a0831a2378
Mass fix of Infof and co. missing the trailing "f", even when formatting placeholders are used
2016-02-03 11:34:59 -05:00
Yifan Gu
d27a635c4a
rkt: Add DNS support.
...
rkt is now able to populate /etc/resolv.conf with command line flags.
Update the runtime code to fix DNS issues.
2016-02-03 14:54:09 +01:00
Random-Liu
7b4cdb6f8f
Remove GetAPIPodStatus from runtime interface
2016-02-02 23:41:55 +00:00
k8s-merge-robot
e78834ab62
Merge pull request #20337 from yifan-gu/rkt_empty_isolator
...
Auto commit by PR queue bot
2016-02-02 09:56:04 -08:00
k8s-merge-robot
23c64ec103
Merge pull request #20233 from yifan-gu/rkt_fix_user_group
...
Auto commit by PR queue bot
2016-02-02 08:47:08 -08:00
Yifan Gu
581759d12d
rkt: Set default 'User', 'Group' to root if it's not specified.
2016-02-01 20:00:09 +08:00
Yifan Gu
9ce10c8552
rkt: Add support for termination message, termination reason.
...
If 'TerminationMessagePath' in container spec is set, then
We will mount the termination message log into the container.
Also in GetPodStatus, if the container exits and the 'TerminationMessagePath'
is set, then the 'message' field in container state will be populated.
2016-02-01 18:06:47 +08:00
k8s-merge-robot
9fef5f2938
Merge pull request #19785 from Random-Liu/remove-get-podstatus-and-apipodstatus
...
Auto commit by PR queue bot
2016-01-30 11:35:26 -08:00
k8s-merge-robot
ef851cd7d1
Merge pull request #20261 from yifan-gu/rkt_cmd_args
...
Auto commit by PR queue bot
2016-01-30 09:12:25 -08:00
Random-Liu
f116a5eb8f
Remove temporary function GetPodStatusAndAPIPodStatus()
2016-01-30 00:39:26 -08:00
Random-Liu
e93febfd61
Start returning PodSyncResult in SyncPod
2016-01-30 00:25:50 -08:00
Yifan Gu
1b34e2c314
rkt: If resource's limit is empty, populate it with request,and vice versa.
2016-01-29 10:50:37 -08:00
Yifan Gu
dcee692d64
rkt: Expand environment variables in Command and Args.
2016-01-29 10:09:48 -08:00
Ken Robertson
a7b07c01df
Update container runtime to properly report the engine and version
...
This address a TODO when collecting the node version information so it
will properly report the configured runtime and its version. Previously,
this was hardcoded to "docker://" and the docker version, and would show
"docker://1.9.1" even when the kubelet was configured to use rkt.
With this change, it will use the runtime's Type() and Version() data.
This also changes the container.Runtime interface to add an APIVersion()
method. This can be used when the runtime has separate versions for the
engine and the API, such as with Docker. The Docker minimum version
validation has been updated to use APIVersion(), and
DockerManager.Version() now returns the engine version.
2016-01-20 16:42:25 -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
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
Yifan Gu
74b8ffd156
rkt: Add useful debugging message.
2016-01-13 17:15:49 -08:00
Yifan Gu
cc656ae6ac
rkt: Refactor setIsolators.
...
Replace manually creating isolators with isolator constructors.
Also add support for supplementary group IDs.
2016-01-08 13:31:21 -08:00
k8s-merge-robot
d1668c6656
Merge pull request #19269 from yifan-gu/rkt_refactor
...
Auto commit by PR queue bot
2016-01-05 22:28:02 -08:00
Yifan Gu
2767f10b61
rkt: refactoring on constructing the app section of rkt pods.
2016-01-04 16:27:52 -08:00
Random-Liu
2ea11690b8
Remove running pod from SyncPod() of container runtime
2016-01-04 10:18:46 -08:00
Yifan Gu
9b81b67879
rkt: Move image related functions to image.go
2015-12-29 17:17:27 -08:00
Yifan Gu
644aa9536a
rkt: Remove pod_info.go, clean up codes that not needed anymore.
2015-12-22 12:02:25 -08:00
Yifan Gu
ee7251ed10
rkt: Update for newest api version.
2015-12-22 12:02:25 -08:00
Yifan Gu
278f0dc8ad
rkt: Replace image cat-manifest/list with api calls.
2015-12-22 12:02:25 -08:00
Jimmi Dyson
041ab17a67
Bump cadvisor to fix interface stats bugs & improve performance
...
Includes necessary godep upgrades for docker & systemd packages as well as
migrating from docker/libcontainer to opencontainers/runc/libcontainer.
2015-12-21 17:07:21 +00:00
k8s-merge-robot
b7dd32ad70
Merge pull request #18643 from yifan-gu/rkt_get_pod_status
...
Auto commit by PR queue bot
2015-12-19 02:38:31 -08:00
Yifan Gu
2c79c670f1
rkt: Fix GetPods(), refactor tests for GetPods().
...
Fix GetPods() so that the container hash is fetched from the
annotations in pod manifest's app list instead of image manifest.
2015-12-16 16:53:45 -08:00
Yifan Gu
5f4e6d0908
rkt: Add GetPodStatus(), GetPodStatusAndAPIPodStatus().
...
Also add ConvertPodStatusToAPIPodStatus().
Add tests for GetPodStatus().
2015-12-16 14:35:19 -08:00