Michael Crosby
d7864eb77b
Use namespace in default cgroup path
...
By default, the generated spec will place containers in cgroups by their
ids, we need to use the namespace as the cgroup root to avoid
containers with the same name being placed in the same cgroup.
```
11:perf_event:/to/redis
10:freezer:/to/redis
9:memory:/to/redis
8:devices:/to/redis
7:net_cls,net_prio:/to/redis
6:pids:/to/redis
5:hugetlb:/to/redis
4:cpuset:/to/redis
3:blkio:/to/redis
2:cpu,cpuacct:/to/redis
1:name=systemd:/to/redis
11:perf_event:/te/redis
10:freezer:/te/redis
9:memory:/te/redis
8:devices:/te/redis
7:net_cls,net_prio:/te/redis
6:pids:/te/redis
5:hugetlb:/te/redis
4:cpuset:/te/redis
3:blkio:/te/redis
2:cpu,cpuacct:/te/redis
1:name=systemd:/te/redis
```
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-10-09 17:07:57 -04:00
Kenfe-Mickael Laventure
56b18c1d1f
Move client's options to separate files
...
This should help in discovering the available options for a given object.
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-08-04 13:56:16 -07:00
Kenfe-Mickael Laventure
a4aaa09ccc
Update ctr so it works again on windows
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-07-21 18:19:48 +02:00
Stephen J Day
b385798695
containerd: remove GRPC service export
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-07-12 16:57:47 -07:00
Michael Crosby
3b8018d8cf
Remove protos from Go client API
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-07-12 14:32:37 -07:00
Michael Crosby
4e8943f7bb
Update runtime-spec rc6
...
This should be the same commit tagged as the 1.0 release
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-07-12 09:32:41 -07:00
Michael Crosby
a60511d5aa
Use typeurl package for spec types
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-07-05 15:37:26 -07:00
Derek McGowan
a5fa3bb923
Merge pull request #1100 from crosbymichael/update-task
...
Implement task update
2017-06-27 14:39:45 -07:00
Michael Crosby
cfcea71ab0
Update windows and darwin for spec changes
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-27 13:20:55 -07:00
Michael Crosby
f36e0193a4
Implement task update
...
This allows tasks to have their resources updated as they are running.
Fixes #1067
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-26 16:38:49 -07:00
Stephen J Day
12a6beaeeb
*: update import paths to use versioned services
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-06-21 18:29:06 -07:00
Michael Crosby
4c1af8fdd8
Port ctr to use client
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-06-06 14:53:50 -07:00
Derek McGowan
b1a45c2aee
Fix windows build for client
...
Move io copy logic from ctr utils to io_windows.go.
Fix compilation errors on Windows.
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-05-30 16:57:34 -07:00
Michael Crosby
cebe099358
Add test flag for setting containerd address
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 15:41:10 -07:00
Michael Crosby
89037568d3
Add windows spec generation
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-05-25 11:30:16 -07:00