Antonio Murdaca
|
857aaa7816
|
cmd/server: provide a flag to set ocid root dir
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-24 00:38:06 +02:00 |
|
Mrunal Patel
|
5475f6b32b
|
Fix lint error
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 15:06:12 -07:00 |
|
Mrunal Patel
|
99a7a53309
|
Cleanup comments
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 15:05:23 -07:00 |
|
Mrunal Patel
|
b839ff1093
|
Fixup pod sandbox status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 15:05:18 -07:00 |
|
Mrunal Patel
|
6eab35c6b5
|
Fixup remove sandbox logic
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 15:04:45 -07:00 |
|
Mrunal Patel
|
2066b68791
|
Fixup stop sandbox logic
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 15:04:07 -07:00 |
|
Mrunal Patel
|
688f689736
|
Include pod namespace in the pod name
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-23 11:42:45 -07:00 |
|
Antonio Murdaca
|
97f5f809a4
|
server/sandbox: return id after creation
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-22 18:18:58 +02:00 |
|
Antonio Murdaca
|
569183030f
|
fix vendored deps
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-22 18:17:45 +02:00 |
|
Antonio Murdaca
|
e269cb8b7e
|
new vendoring
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-22 18:17:45 +02:00 |
|
Antonio Murdaca
|
32029aaba6
|
id and name indexes for pods
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-22 18:17:45 +02:00 |
|
Mrunal Patel
|
0ba5dfc15a
|
Automate the creation of the pod sandbox rootfs
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-20 15:45:46 -07:00 |
|
Mrunal Patel
|
19926bc905
|
Check if container in a pod is already stopped before stopping it
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-19 14:01:48 -07:00 |
|
Mrunal Patel
|
8d3b9971e7
|
Increase the deadline to 30 seconds in lint and fix lint errors
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-19 13:13:53 -07:00 |
|
Antonio Murdaca
|
b053e63995
|
restore server rewrite
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:57:50 +02:00 |
|
Antonio Murdaca
|
22d434c1e6
|
restructure and make lint
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:56:13 +02:00 |
|
Antonio Murdaca
|
53e76cc752
|
warn when cannot update container status on server init
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:51:03 +02:00 |
|
Antonio Murdaca
|
260a7adb83
|
server/runtime: store sandbox id in container's annotations
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:51:03 +02:00 |
|
Antonio Murdaca
|
caae4b298a
|
create sandboxdir on server startup
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:51:03 +02:00 |
|
Antonio Murdaca
|
4fd1c583ad
|
sandboxes restore on server start
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 19:51:03 +02:00 |
|
Antonio Murdaca
|
35ef46f805
|
use an in memory store for containers
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-19 13:11:36 +02:00 |
|
Antonio Murdaca
|
59aae8cdb5
|
*: Failed -> failed in errors
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-18 11:38:14 +02:00 |
|
Antonio Murdaca
|
4bc8701fc0
|
*: switch from godep to glide
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-17 17:06:30 +02:00 |
|
Mrunal Patel
|
0d7b500cee
|
Merge pull request #20 from runcom/locks
server: locking around server components
|
2016-09-17 08:04:02 -07:00 |
|
Antonio Murdaca
|
158dfdfbda
|
server: locking around server components
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-17 16:10:35 +02:00 |
|
Antonio Murdaca
|
2d8691cb0a
|
server: remove podsandbox on failure
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-17 11:37:20 +02:00 |
|
Mrunal Patel
|
f7f02009c2
|
Report exit code and finish time on container status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-16 16:33:33 -07:00 |
|
Mrunal Patel
|
6e05f772ed
|
Add a property to track whether a container needs terminal
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-15 15:01:39 -07:00 |
|
Mrunal Patel
|
61ae296fe9
|
Update state after creating container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-13 13:51:29 -07:00 |
|
Mrunal Patel
|
819db7d8cc
|
Return the started time and ctr state with ctr status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-12 15:43:30 -07:00 |
|
Mrunal Patel
|
76225afe5f
|
Add server support for basic container status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-12 15:03:03 -07:00 |
|
Mrunal Patel
|
30b526376a
|
Fix error message
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-12 14:43:16 -07:00 |
|
Mrunal Patel
|
bbe5325afc
|
Fix the build to account for the change in repository
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:48:39 -07:00 |
|
Rajat Chopra
|
4cf737bb7d
|
add cni networking with noop plugin as default
Signed-off-by: Rajat Chopra <rchopra@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
9cb0813d1e
|
Server changes for supporting pod status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
303a3929b2
|
Update the kubernetes api to latest
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
219fb703dc
|
Remove container directories on pod sandbox removal
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
2eafad8a36
|
Refactor namespace joining
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
3e1bb97053
|
Join the namespaces of pod infra container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
4ee041a1c1
|
Fix container removal state tracking
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
0c386f74f9
|
Track container removal in state
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
6bbdbdeed8
|
Remove container directory
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
25a73811ee
|
Add server impl for RemoveContainer
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
f1e4ee3c95
|
Add server impl for StopContainer
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
9a034d8993
|
Add implementation for starting container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
b494574b6a
|
Add implementation for removing pod sandbox
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
c0048118a0
|
Add implementation for Stop Pod Sandbox
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
b01d9dcc10
|
Make the server process a reaper
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
eb00fa71c1
|
Start the pod infra container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
a26c0eb992
|
Create pod infra container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|