Commit Graph

976 Commits

Author SHA1 Message Date
Mike Brown
67e884e6cf update containerd to 4ae34cccc5.
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-06-15 23:14:21 +00:00
Lantao Liu
d4f7380f59 Merge pull request #73 from Random-Liu/fix-delete-race
Fix Delete race.
2017-06-14 14:04:24 -07:00
Lantao Liu
0e2db7e99a Merge pull request #76 from Random-Liu/fix-fake-execution-client-race
Fix a race that fake execution client sends event to closed channel.
2017-06-14 14:02:00 -07:00
Lantao Liu
2ae22b33b7 Fix a race that fake execution client sends event to closed channel.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-14 01:50:33 +00:00
Lantao Liu
bd09d31777 Fix Delete race.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-14 01:36:21 +00:00
Lantao Liu
7050011faa Merge pull request #75 from Random-Liu/kill-with-0-timeout
Kill container directly if timeout is 0.
2017-06-13 15:41:01 -07:00
Lantao Liu
d381cfa831 Kill container directly if timeout is 0.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-13 19:29:02 +00:00
Lantao Liu
b83270d08d Merge pull request #74 from Random-Liu/fix-event-handler
Add the missing loop in event handler.
2017-06-13 11:19:16 -07:00
Lantao Liu
87ec0f89bf Add the missing loop in event handler.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-13 17:48:28 +00:00
Lantao Liu
479e8c3045 Merge pull request #70 from Random-Liu/mount-cgroup
Mount cgroup into the container and add unit test for privileged mount.
2017-06-12 14:14:07 -07:00
Lantao Liu
9b1708b408 Merge pull request #71 from Random-Liu/fix-capabilities
Fix capabilities support.
2017-06-12 09:34:48 -07:00
Lantao Liu
f247a0819d Fix capabilities support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-12 16:18:50 +00:00
Lantao Liu
fa28558824 Merge pull request #67 from Random-Liu/add-sandbox-dev-shm
Add sandbox dev shm
2017-06-11 02:58:24 -07:00
Lantao Liu
9d5990fe4f Add sandbox /dev/shm.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-11 09:49:46 +00:00
Lantao Liu
5398a3b7ec Add mount/unmount in os interface
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-11 09:23:04 +00:00
Lantao Liu
ffa4ffe3bf Mount cgroup into the container and add unit test for privileged mount.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-11 02:23:59 +00:00
Lantao Liu
e9a930b28b Merge pull request #51 from heartlock/support-privileged
Support privileged
2017-06-10 17:30:57 -07:00
Lantao Liu
227dbe97f2 Merge pull request #50 from Crazykev/resolv
Generate and maintain resolv.conf for sandbox
2017-06-09 09:41:23 -07:00
Crazykev
62d1e5dc10 add unit test
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2017-06-09 19:36:30 +08:00
Crazykev
9bf7ffd51a generate and maintain resolv.conf for sandbox
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2017-06-09 19:36:30 +08:00
heartlock
73fbe90c5b update vendor
Signed-off-by: heartlock <21521209@zju.edu.cn>
2017-06-09 15:42:13 +08:00
heartlock
dda03f733a support privileged
Signed-off-by: heartlock <21521209@zju.edu.cn>
2017-06-09 15:42:04 +08:00
Lantao Liu
56e474f207 Merge pull request #69 from Random-Liu/use-containerd-version
Use containerd version returned by version service.
2017-06-07 15:26:37 -07:00
Lantao Liu
f770d4fea3 Use containerd version returned by version service.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-07 22:04:09 +00:00
Lantao Liu
d0949687b4 Merge pull request #60 from Random-Liu/always-add-etc-hosts
Add sandbox /etc/hosts.
2017-06-06 11:37:31 -07:00
Lantao Liu
4eac00fe23 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-06 06:43:38 +00:00
Lantao Liu
88f4c252d6 Add sandbox /etc/hosts when using host network
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-06 06:43:38 +00:00
Lantao Liu
42131acc68 Merge pull request #56 from Random-Liu/add-container-logging
Add container logging support.
2017-06-02 10:11:41 -07:00
Lantao Liu
69fcf97583 Add unit test
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-02 16:36:02 +00:00
Lantao Liu
e657e1eb14 Add container logging support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-02 16:36:02 +00:00
Lantao Liu
264619a858 Merge pull request #64 from Random-Liu/cleanup-code
Cleanup code.
2017-06-02 09:18:47 -07:00
Lantao Liu
95e0fc694f Cleanup some code.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-02 02:15:58 +00:00
Lantao Liu
a4e067cdff Merge pull request #53 from Random-Liu/add-other-small-functions
Add other small functions
2017-05-31 14:54:42 -07:00
Lantao Liu
61cee6cf12 Merge pull request #59 from Random-Liu/backoff-when-lose-containerd-connection
Retry and backoff when lost connection with containerd.
2017-05-31 14:53:02 -07:00
Lantao Liu
0179d0fbaf Retry and backoff when lost connection with containerd.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 21:33:52 +00:00
Lantao Liu
2df96e1654 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 19:11:56 +00:00
Lantao Liu
7c1a4c1fc1 Add Version, UpdateRuntimeConfig and Status.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 19:11:56 +00:00
Lantao Liu
bc5dfdae24 Update containerd to 2562aca1a3 and add gomock.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 17:13:56 +00:00
Lantao Liu
6e27320f40 Merge pull request #57 from Random-Liu/remove-golang-1.7
Remove golang 1.7 from ci.
2017-05-30 18:57:16 -07:00
Lantao Liu
80f457c199 Merge pull request #52 from Random-Liu/apply-container-image-config
Apply container image config
2017-05-30 18:34:14 -07:00
Lantao Liu
eb5f378dd4 Remove golang 1.7 from ci.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:28:09 +00:00
Lantao Liu
80384fc24f Start container event monitor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
dee95bc315 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
80c973a550 Ensure container rootfs and apply image config
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 01:18:22 +00:00
Lantao Liu
98bc3edf50 Merge pull request #48 from Random-Liu/apply-sandbox-image-config
Apply sandbox image config
2017-05-30 18:16:59 -07:00
Lantao Liu
6eb1ddb1f8 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 00:39:38 +00:00
Lantao Liu
eb20601c08 Pull sandbox image and apply image config
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-31 00:39:38 +00:00
Lantao Liu
60e28a9460 Minor cleanup.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-27 00:31:30 +00:00
Lantao Liu
a49f66e0bb Merge pull request #46 from Random-Liu/wait-image-pulling
Wait and check image pulling progress.
2017-05-26 17:24:47 -07:00
Random-Liu
c3ac5f7533 Add image pull waiting.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-27 00:12:00 +00:00