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
|
a27d6e6ff1
|
Add client impl for RemoveContainer
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
788da618c8
|
Add client impl for StopContainer
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
|
08c76ed7fb
|
Add client code for starting a container
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
|
a8329c5281
|
Fix selinux configuration
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
bf82b19e33
|
Add a container configuration for redis server
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
aea93ac6ab
|
Add client code for remove pod sandbox
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
|
2513ac2523
|
Add helper for deleting a container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
c6cf44513e
|
Modify template to use systemd cgroup settings
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
2c95c0bb0d
|
Add client code for stop 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
|
01e9ac5313
|
Add utility to start a child process reaper
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
6b2b1ee576
|
Add helper functions to start/stop a container
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 |
|
Mrunal Patel
|
9076527083
|
Modify the example to use more common defaults
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
8296898937
|
Fix logic for using host namespaces
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
7931cc4f4e
|
Fix make for the command
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
18cd2bc87b
|
Setup defaults for the pod sandbox container
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
c2ee13d187
|
Implement CreateContainer
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
e3a34aa26d
|
Fix the err info of utils.ExecCmd
Signed-off-by: Haiyan Meng <haiyanalady@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
f569f04154
|
godep: Update kubernetes dependency to get latest API
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
47f0c1b4e5
|
Vendor the latest ocitools generate library
The new generate library provides APIs for setting oom_score_adj.
Signed-off-by: Haiyan Meng <haiyanalady@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
c5d0f23e5a
|
server: ensure /var/lib/ocid/images exists
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
fc3b7b5aae
|
Setup the server as subreaper for child processes
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
7c5fccd7a8
|
Add utility functions to set process as subreaper.
This code is borrowed from libcontainer system package.
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
c13dbaf6ab
|
Further refactoring
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
0bb2fb04d9
|
update generate functions
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
18112081c2
|
godep update ocitools/generate
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
764f02ca11
|
Add container dir to oci
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
ac1340488d
|
Refactor to add oci and util packages
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
Change the sandbox directory path
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
839463d837
|
set up CPU and Memory resources
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
b98900eb55
|
parse DNSOptions
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
f2a2b06e61
|
godep update ocitools/generate
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
c0a267bf56
|
Fixes
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Haiyan Meng
|
819d76b6fd
|
Add first version of createPodSandbox
Signed-off-by: Haiyan Meng <hmeng@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
0766dfecfe
|
Use unix domain socket by default
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
d8ae7178e2
|
pull in containers/image deps
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
05f679f643
|
implement raw pullimage functionality
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
cd6e223962
|
Fix Godep revisions
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
06e013cd3d
|
*: abstractions and ImageService
plus some fix here and there
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|
Mrunal Patel
|
d54ae80ba6
|
Setup travis CI
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
2016-09-09 14:41:03 -07:00 |
|
Antonio Murdaca
|
713bbabc61
|
server,cmd: fix error handling
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
|
2016-09-09 14:41:03 -07:00 |
|