Lantao Liu
09d7d652e6
Change Version
to return cri-containerd version instead.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-10-07 00:47:51 +00:00
Lantao Liu
e78c85f76b
Use new container update function
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-10-06 17:57:26 +00:00
Lantao Liu
94b68ae662
Fix container stats panic.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-10-05 02:18:19 +00:00
Lantao Liu
23b8330b44
Merge pull request #322 from miaoyq/fix-314
...
Update kubernetes version to the PR#52395 and support `unconfined` apparmor
2017-10-04 10:49:56 -07:00
Yanqiang Miao
9f656cdda4
Support unconfined
apparmor
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-10-04 09:50:27 +08:00
Lantao Liu
a81a47bf9b
Fix update container resources
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-10-03 06:03:39 +00:00
Abhinandan Prativadi
1784b073bc
Merge pull request #301 from Random-Liu/fix-container-stats
...
Fix container stats.
2017-09-28 06:02:42 -07:00
Lantao Liu
de6287d626
Fix container stats.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-28 05:49:44 +00:00
Lantao Liu
d6e04d871e
Merge pull request #300 from Random-Liu/improve-some-error-message
...
Better format several errors
2017-09-27 22:47:15 -07:00
Lantao Liu
517f697f62
Better format several errors
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-28 01:15:06 +00:00
Lantao Liu
e723a5018b
Merge pull request #293 from Random-Liu/cleanup-container-metrics
...
Fix and cleanup container metrics
2017-09-27 17:17:46 -07:00
Lantao Liu
97b6e82d98
Fix and cleanup container metrics
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-27 23:43:00 +00:00
Abhinandan Prativadi
66693196ac
Setting timestamp for cpu and memory stats in nano seconds
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-27 07:06:25 -07:00
Lantao Liu
0e6e593481
Merge pull request #275 from mikebrow/config-for-containerd
...
Adds support for configuring the containerd runtime engine
2017-09-26 20:04:13 -07:00
Mike Brown
d8a3c6b018
adds support for configuring the containerd runtime engine
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-26 20:22:51 -05:00
Lantao Liu
e7a5001c3e
Merge pull request #265 from abhinandanpb/metrics
...
Adding container metrics support
2017-09-26 13:57:17 -07:00
Abhinandan Prativadi
d0298944eb
Adding container metrics
...
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-26 12:03:08 -07:00
Lantao Liu
cd57d063c5
Add systemd cgroup support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-26 06:44:30 +00:00
Lantao Liu
4231473df3
Address comments
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-25 23:09:44 +00:00
Lantao Liu
21233b22be
Check seccomp enable and add unit test for seccomp/apparmor.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-25 23:09:26 +00:00
Lantao Liu
491400c892
Add ImageFsInfo support
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-25 21:02:29 +00:00
Lantao Liu
dd967cde8c
Improve apparmor and selinux support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-22 20:46:31 +00:00
Lantao Liu
10df5f71a7
Merge pull request #212 from miaoyq/related-selinux
...
Add build tags and Improve the test case of selinux
2017-09-21 21:07:53 -07:00
Yanqiang Miao
7096027d21
Add build tags and Improve the test case of selinux
...
- Add build tags
- Fixes a bug because of my negligence
- Improve the test case of selinux
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
test
2017-09-22 11:39:32 +08:00
Mike Brown
78a925f57b
vendor for new seccomp helpers
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-21 17:37:50 -05:00
Mike Brown
c0a2d152d9
adds seccomp support
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-21 17:22:11 -05:00
Lantao Liu
e132f9c1ea
Should register container/sandbox name after restart.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 21:06:24 +00:00
Lantao Liu
9015b6ec68
Merge pull request #209 from Random-Liu/checkpoint-recovery
...
Checkpoint recovery
2017-09-21 11:32:49 -07:00
Lantao Liu
cc1b0b6709
Add restart recovery logic.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 17:59:46 +00:00
Lantao Liu
90d6e44c22
Merge pull request #267 from Random-Liu/fix-apparmor
...
Fix apparmor empty case.
2017-09-20 21:53:28 -07:00
Lantao Liu
dd3421c3c7
Fix apparmor empty case.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-21 04:07:39 +00:00
Lantao Liu
5dbba596e6
Merge pull request #260 from yanxuean/use-containerd-extension
...
Switch to containerd extension
2017-09-20 10:36:57 -07:00
yanxuean
e1a7a0ea76
Switch to containerd extension
...
fix #251
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
2017-09-21 00:15:10 +08:00
Lantao Liu
9c533dca14
Merge pull request #262 from ijc/sandbox-getip-improvements
...
Do not attempt to retrieve IP from host network namespace
2017-09-20 02:22:07 -07:00
Ian Campbell
9c3c38d9ab
Do not attempt to retrieve IP from host network namespace
...
Since sandboxes which use the host network have no network namespace path this
would result in an invalid invocation of nsenter.
Rework the fetching of the sandbox to take this into account and also avoid
trying to get an IP when the network plugin is not yet ready.
Fixes #245 .
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-09-20 09:53:56 +01:00
Lantao Liu
45f98a0b39
Fix one line of log, we are writing not reading.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-19 18:53:45 +00:00
Lantao Liu
437131299b
Merge pull request #230 from miaoyq/ensure-mount-shared-slave
...
Ensure the mount point is propagated
2017-09-19 00:56:27 -07:00
Yanqiang Miao
49eb38a5d4
Ensure the mount point is propagated
...
mount with `rshared`, the host path should be shared.
mount with `rslave`, the host pash should be shared or slave.
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-09-19 14:21:21 +08:00
Lantao Liu
06a305d7ea
Merge pull request #255 from Random-Liu/use-config-in-service
...
Use config in service.
2017-09-17 22:37:06 -07:00
Lantao Liu
8a03d551da
Merge pull request #252 from abhinandanpb/rshared
...
Setting rootfs mount propagation if the mount type is rshared/shared
2017-09-17 12:23:39 -07:00
Abhinandan Prativadi
abba4e22f6
Setting rootfspropagation if the mount type shared or slave
...
This is needed by runc to mount volume for containers that expect
biderectional file updates or host to container updates.
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-17 09:59:45 -07:00
Lantao Liu
71b0d0a043
Use config in service.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-17 06:46:40 +00:00
Lantao Liu
cd27050425
Add image volume support.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-15 11:25:55 +01:00
Ian Campbell
e0079125d2
Move resolveSymbolicLink to OS package and stub out for tests
...
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-09-15 11:25:45 +01:00
Ian Campbell
56539bd3a4
Require generateContainerSpec passes during tests and abort if not
...
This is achieved by switching `assert.NoError` to `require.NoError` in several
places.
Otherwise the test code will continue and dereference a nil spec, leading to a
panic which obscures the real failure.
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-09-15 11:06:25 +01:00
Lantao Liu
1fadb5e573
Follow symlink for mount host path.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-12 07:12:03 +00:00
Lantao Liu
6cd0f77c4e
Create host path is mount source does not exist.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-12 00:58:34 +00:00
Lantao Liu
9558ff2001
Merge pull request #233 from Random-Liu/remove-run-mount
...
Remove `/run` mount for backward compatibility with docker.
2017-09-09 13:55:33 -07:00
Lantao Liu
0bfcdd39ab
Remove /run
mount for backward compatibility with docker.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-09 07:34:00 +00:00
Lantao Liu
b074388460
Update containerd to v1.0.0-beta.0
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-09 04:46:02 +00:00