Commit Graph

1058 Commits

Author SHA1 Message Date
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
Random-Liu
bc7dfa2650 Update containerd version to 193abed96e.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-27 00:07:48 +00:00
Lantao Liu
bdc443a77c Merge pull request #41 from Random-Liu/finish-image-management
Finish image management.
2017-05-26 17:04:41 -07:00
Random-Liu
8c1f26747a Add unit test.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-26 23:52:31 +00:00
Random-Liu
b112418e7b Finish image management.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-05-26 23:52:31 +00:00
Lantao Liu
751f119cbc Merge pull request #45 from Crazykev/update-k8s-vendor
Update kubernetes vendor for new CRI change
2017-05-23 20:22:12 -07:00
Crazykev
49e7ef2153 update kubernetes vendor for new CRI change
Signed-off-by: Crazykev <crazykev@zju.edu.cn>
2017-05-24 10:25:55 +08:00
Lantao Liu
6ce1dc0167 Merge pull request #44 from Random-Liu/stop-on-cancellation
Stop waiting on cancellation.
2017-05-23 15:08:57 -07:00
Lantao Liu
40514f332a Merge pull request #40 from xlgao-zju/add-cni
Add network plugin
2017-05-23 09:14:31 -07:00
Xianglin Gao
4a4414987f Add unit test
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 18:30:20 +08:00
Xianglin Gao
6d2b9fabca And setup and teardown
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 15:17:40 +08:00
Xianglin Gao
87c704bdf5 Update vendor
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 15:17:34 +08:00
Lantao Liu
84390cc6a7 Stop waiting on cancellation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-23 05:47:48 +00:00
Xianglin Gao
c541515674 Add flags and initialize network plugin
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
2017-05-23 12:48:36 +08:00
Lantao Liu
10e3afbb23 Merge pull request #22 from Random-Liu/add-container-implementation
Add container implementation
2017-05-22 13:21:05 -07:00
Lantao Liu
322b6ef333 Add unit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Random-Liu
6ac71e5862 Add initial container implementation.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-05-22 19:14:09 +00:00
Lantao Liu
dea7ed3fcc Merge pull request #39 from mozhuli/enhance-fake-services
Enhance fake services
2017-05-17 09:03:48 -07:00
Lantao Liu
a397b69b09 Merge pull request #37 from mozhuli/add-fake-iamges-service
Add fake images service
2017-05-17 09:02:54 -07:00