Commit graph

572 commits

Author SHA1 Message Date
Michael Crosby
2b108580fb Merge pull request #16 from LK4D4/grpc_api
Prototype of grpc API
2015-12-09 15:08:40 -08:00
Alexander Morozov
e14e4576c9 Prototype of grpc API
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-09 15:05:50 -08:00
Michael Crosby
6d3c60d8fb Add fd output to debug metrics
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 14:40:55 -08:00
Michael Crosby
cab1086d27 Fix checkpoint list when no dir
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 17:08:39 -08:00
Michael Crosby
e87f8336c4 Add more client methods
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 13:31:20 -08:00
Michael Crosby
e778e34039 Update readme for building
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 11:39:51 -08:00
Michael Crosby
f8ee26ffca Merge pull request #14 from LK4D4/add_logging
Add logging and more info
2015-12-08 11:38:13 -08:00
Michael Crosby
c0263b6b70 Make root makefile
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 11:37:55 -08:00
Alexander Morozov
6bfc4df8a7 Log start tasks
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:33:43 -08:00
Alexander Morozov
cf3b72852a Add log and more context to errors in Create
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:33:19 -08:00
Alexander Morozov
4adf5d2c0d Add debug logging about events
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:32:04 -08:00
Alexander Morozov
64705f5263 Add buffer size to signal handler log
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:31:22 -08:00
Alexander Morozov
46b2a560c0 Add logging about subreaper
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:30:54 -08:00
Alexander Morozov
9f5caf529c Add logging for started supervisor
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-08 11:30:50 -08:00
Michael Crosby
5d7aa91156 Merge branch 'stats' 2015-12-08 10:05:12 -08:00
Michael Crosby
2290eaaccd Add initial framework for stats
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-08 10:04:31 -08:00
Michael Crosby
d9e8fe62cb Add concurrency and id flag for daemon
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 15:19:56 -08:00
Michael Crosby
9415a4210c add ctr to git ignore
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:49:45 -08:00
Michael Crosby
cb5aaec5d6 Remove serialization for internal types
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:47:03 -08:00
Michael Crosby
a7e6e0a60e Merge pull request #11 from LK4D4/fix_compile
Fix compilation for all tags
2015-12-07 14:33:46 -08:00
Michael Crosby
bf44a16da2 Merge pull request #12 from LK4D4/remove_binary
Remove ctr binary from repository
2015-12-07 14:33:06 -08:00
Michael Crosby
acc8d9e97c Remove journal for now
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:24:40 -08:00
Michael Crosby
c1d1c67444 Merge branch 'docs' 2015-12-07 14:19:25 -08:00
Michael Crosby
b3645c066d Add bundle documentation
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 14:15:12 -08:00
Alexander Morozov
4b4198ea73 Remove ctr binary from repository
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-07 12:40:01 -08:00
Alexander Morozov
18d01f19e4 Fix compilation for all tags
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-07 12:39:24 -08:00
Michael Crosby
59093a22d0 Add prctl to utils package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 10:36:48 -08:00
Michael Crosby
3fdc48eb01 Add checkpoint timestamp based on mtime
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 15:12:57 -08:00
Michael Crosby
7baee380ea Update readme with performance stuff
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 15:04:53 -08:00
Michael Crosby
8af8c56510 Update docs for new api endpoints
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:44:08 -08:00
Michael Crosby
72ee22ad60 Bump to alpha v0.0.2
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:17:26 -08:00
Michael Crosby
b5931855a4 Add ability to signal container not just processes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:10:50 -08:00
Michael Crosby
9eb08b8971 Refactor checkpoint information
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 14:00:07 -08:00
Michael Crosby
e21364603e Change c/r leaverunning to exit
This allows the default checkpoint functionality to leave the container
running after it has been checkpointed.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 13:35:03 -08:00
Michael Crosby
c10b3cde9f Implement proper shutdown logic
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 13:31:17 -08:00
Michael Crosby
a10aa91051 Add prctl set child subreaper
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-04 11:40:22 -08:00
Michael Crosby
ae9b2bafd5 Add basic checkpoint and restore support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 16:07:53 -08:00
Michael Crosby
c1eb9ac90b Change /containers to /state with machine info
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-03 11:49:56 -08:00
Michael Crosby
3ea5dd79e0 Make events chan local to supervisor
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:44:39 -08:00
Michael Crosby
5eac8891ed Move task workers to new type
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:42:28 -08:00
Michael Crosby
b344f0a1c6 add waitgroup to journal
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 17:17:12 -08:00
Michael Crosby
45c935403d Merge branch 'runc' 2015-12-02 16:38:11 -08:00
Michael Crosby
a2ab27ad5b Add runc support
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 16:37:46 -08:00
Michael Crosby
847e5bc7ee Add basic frame and ctr command line client
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 14:41:49 -08:00
Michael Crosby
ba46df11b4 Remove daemon subcommand
Removing subcommands for the containerd binary because we will have a
separate ctctl or other named binary for client actions.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 13:39:36 -08:00
Michael Crosby
8f8f365787 Add linux import path
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-02 10:59:43 -08:00
David Calavera
e4a61633c5 Add event subscribers.
- Add exit event for exec processes.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:49:24 -05:00
David Calavera
05f20c993d Make supervisor.go to compile without libcontainer.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-01 18:47:27 -05:00
Michael Crosby
b823ce9149 Move libcontainer to linux pkg
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 12:00:11 -08:00
Michael Crosby
c24abdde1b Move runtime implementation types to pkg
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-01 11:56:08 -08:00