Commit graph

42 commits

Author SHA1 Message Date
Michael Crosby
1ade1f6d81 Remove authors from cli
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-01-25 15:15:35 -08:00
Burcu Dogan
a151f019fe containerd: do not export any symbols
Following up with #87.

Signed-off-by: Burcu Dogan <jbd@google.com>
2016-01-25 14:55:20 -08:00
Alexander Morozov
e55ebadb09 Revert "Use protoversion for containerd version"
This reverts commit d2e319523d.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-01-05 13:07:47 -08:00
Michael Crosby
7d4f74474e Add more metrics collection
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-18 16:54:02 -08:00
Peter Edge
d2e319523d Use protoversion for containerd version
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-12-18 13:06:04 +00:00
Alexander Morozov
69f8f566a2 Move supervisor to it's own package
It allows to keep main namespace cleaner

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-17 16:18:48 -08:00
Michael Crosby
286b5aaa00 Merge pull request #34 from LK4D4/graphite_support
Add graphite metrics support
2015-12-16 16:09:44 -08:00
Alexander Morozov
f3d2b60bab Add graphite metrics support
I tried with https://github.com/hopsoft/docker-graphite-statsd and it
looks pretty nice. We can see how different metrics depends on a number of
containers and find bottlenecks under heavy load.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-12-16 16:03:08 -08:00
Michael Crosby
83eeb131d8 Update readme and documentation for release
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-16 12:15:22 -08:00
Michael Crosby
76cf593212 Add oom notifications and pid to create response
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-15 16:22:53 -08:00
Alexander Morozov
ca4191ce41 Use unix-socket as communication channel
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Conflicts:
	ctr/container.go
2015-12-14 17:35:49 -08:00
Michael Crosby
25973db0c9 Set higher rlimit for logs and pipes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-11 14:33:48 -08:00
Michael Crosby
e0da266b71 Add comments to various functions
Don't export the notify subscribers method

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-10 14:11:00 -08:00
Michael Crosby
1d3349128e Replace rest api with grpc api
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-09 15:39:27 -08:00
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
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
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
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
59093a22d0 Add prctl to utils package
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-12-07 10:36:48 -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
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
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
3a30ea0c4f Add basic stats
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-30 15:34:10 -08:00
Michael Crosby
0136213e78 Add basic log support 2015-11-13 13:25:03 -08:00
Michael Crosby
f9ad7970d2 Improve process addition and removal
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

implement pause and resume

Add godeps

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>

Add readme

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-11-13 13:25:03 -08:00
Michael Crosby
17d9c10e2d Implement journal replay
Add addprocess event for addtional processes

Add more api process information
2015-11-13 13:25:02 -08:00
Michael Crosby
6ff2239019 Add journaling 2015-11-10 14:24:34 -08:00
Michael Crosby
c787ecada3 Fix concurrency issues 2015-11-06 16:44:52 -08:00
Michael Crosby
412d2b0239 Flatten stuff 2015-11-06 15:42:32 -08:00
Michael Crosby
86ec7e8fd2 Sync container start 2015-11-06 13:01:55 -08:00
Michael Crosby
e81513349f Use gague for go routines 2015-11-05 17:03:37 -08:00
Michael Crosby
5f5f4904e0 Making containers run and delete 2015-11-05 16:40:57 -08:00
Michael Crosby
2af0f297fe Add basic counters 2015-11-05 16:16:11 -08:00
Michael Crosby
05683fb0ee Fix build errors 2015-11-05 15:49:13 -08:00
Michael Crosby
15a96783ca Initial commit 2015-11-05 15:29:53 -08:00