k8s-merge-robot
6a87dba0b8
Merge pull request #22733 from resouer/flow-control
...
Automatic merge from submit-queue
Add flow control pkg
minor fix ref #15634
Refactor pkg names in back off related files
2016-04-11 06:18:51 -07:00
harry
5fe773d37c
Add flow control pkg
...
Refactor pkg names in flow control related files
2016-04-03 11:28:03 +08:00
Wlodzimierz Borkowski
378ef9746e
keep deprecated flag stage1-image with rkt
2016-04-01 09:32:10 +02: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
saadali
79012f6d53
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
2016-03-25 11:29:58 -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
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
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