Lantao Liu
a22f1c3416
Merge pull request #1017 from Random-Liu/add-unit-test
...
Add unit test for DisableCgroup, RestrictOOMScoreAdj.
2019-01-03 13:39:52 -08:00
Lantao Liu
b1ad4ee9b6
Add unit test for DisableCgroup, RestrictOOMScoreAdj.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-01-03 10:47:34 -08:00
Lantao Liu
0fa8668aa4
Merge pull request #970 from AkihiroSuda/rootless
...
support DisableCgroup, DisableApparmor, RestrictOOMScoreAdj
2019-01-03 10:14:22 -08:00
Lantao Liu
1fbd06479e
Merge pull request #1010 from teawater/fix_crash
...
Fix the issue that pod or container config file without metadata will…
2019-01-03 10:10:26 -08:00
Hui Zhu
3bfef01589
Fix the issue that pod or container config file without metadata will crash containerd
...
Because RunPodSandbox and CreateContainer will access metadata
without check, pod or container config file without metadata will
crash containerd.
This patch add checks to handle the issue.
Fixes : #1009
Signed-off-by: Hui Zhu <teawater@hyper.sh>
2019-01-03 11:02:10 +08:00
Akihiro Suda
cd8231ab2a
support DisableCgroup, DisableApparmor, RestrictOOMScoreAdj
...
Add following config for supporting "rootless" mode
* DisableCgroup: disable cgroup
* DisableApparmor: disable Apparmor
* RestrictOOMScoreAdj: restrict the lower bound of OOMScoreAdj
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2019-01-03 05:12:04 +09:00
Lantao Liu
4b4b2abb2e
Merge pull request #1000 from Random-Liu/teardown-network-after-stop
...
Teardown sandbox network after stop.
2019-01-02 10:04:56 -08:00
Mike Brown
888f7a03a3
Merge pull request #1013 from JoeWrightss/patch-3
...
Fix return error message
2018-12-30 15:57:22 -06:00
JoeWrightss
55fb3b9fce
Fix return error message
...
Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
2018-12-30 18:08:04 +08:00
Lantao Liu
e5bd9b62d8
Merge pull request #1003 from Random-Liu/revert-#997
...
Revert "Temporary fix for golang regression #29241."
2018-12-19 13:08:29 -08:00
Lantao Liu
a9f3c86cc1
Merge pull request #1004 from Random-Liu/fix-build
...
Install libseccomp2 based on debian version
2018-12-19 12:02:43 -08:00
Lantao Liu
26640a29eb
Install libseccomp2 package based on debian version.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-19 11:39:26 -08:00
Lantao Liu
5d5fc154ad
Revert "Temporary fix for golang regression #29241."
...
This reverts commit d7f6721de5
.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-19 10:45:01 -08:00
Lantao Liu
e98e307f3f
Merge pull request #1001 from Random-Liu/update-kubernetes
...
Update kubernetes to v1.13.0
2018-12-17 17:27:44 -08:00
Lantao Liu
ac45393a47
Update cri-tools to v1.13.0.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-17 11:54:32 -08:00
Lantao Liu
2baa96e0e2
Update kubernetes to v1.13.0
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-17 11:54:21 -08:00
Lantao Liu
fbab182e5e
Teardown sandbox network after stop.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-14 15:52:17 -08:00
Lantao Liu
afb12d728c
Merge pull request #997 from Random-Liu/fix-for-golang-issue
...
Temporary fix for golang regression #29241 .
2018-12-14 14:14:50 -08:00
Lantao Liu
d7f6721de5
Temporary fix for golang regression #29241 .
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-14 13:49:16 -08:00
Mike Brown
cd3d5c7992
Merge pull request #993 from JoeWrightss/patch-2
...
Fix some typo errors
2018-12-11 07:49:27 -08:00
JoeWrightss
d53bcba991
Fix some typo errors
...
Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
2018-12-11 22:13:03 +08:00
Lantao Liu
ec6a1eab11
Merge pull request #991 from Random-Liu/remove-container-lifecycle-image-dependency
...
Remove container lifecycle image dependency
2018-12-07 17:03:57 -08:00
Lantao Liu
82d8c9bcfa
Add integration test.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-07 10:40:21 -08:00
Lantao Liu
515ef02473
Remove container lifecycle image ref dependency.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-07 10:40:21 -08:00
Mike Brown
be2c3bd94b
Merge pull request #992 from JoeWrightss/patch-1
...
fix spelling error: contaner -> container
2018-12-08 01:15:15 +08:00
JoeWrightss
37085692e2
fix spelling error: contaner -> container
...
Signed-off-by: JoeWrightss <zhoulin.xie@daocloud.io>
2018-12-07 22:56:09 +08:00
Lantao Liu
5a80f333d4
Merge pull request #989 from Random-Liu/test-image-in-other-namespace
...
Test that CRI plugin should not see image in other namespaces.
2018-12-06 08:57:09 -08:00
Lantao Liu
30fa71573f
Test that CRI plugin should not see image in other namespaces.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-06 02:28:37 -08:00
Lantao Liu
db0c4dea24
Merge pull request #984 from mikebrow/ignore-exits-with-no-id
...
filter events for non k8s.io namespaces
2018-12-05 00:10:41 -08:00
Mike Brown
b59dd55966
filter namespace
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-12-04 16:51:24 -06:00
Lantao Liu
f58105a71c
Merge pull request #983 from Random-Liu/fix-shared-pid-ns-kill
...
Fix kill when shared pid namespace.
2018-12-04 10:13:30 -08:00
Lantao Liu
2cc1edcfc3
Update containerd to 6937c5a3ba
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-04 01:53:10 -08:00
Lantao Liu
de967051d4
Fix kill when shared pid namespace.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-04 01:53:09 -08:00
Lantao Liu
1dc6ea19dc
Merge pull request #980 from mikebrow/networking-info
...
adds cni results to verbose pod info
2018-11-29 14:42:00 -08:00
Mike Brown
f8e89f71a9
adds cni results to verbose pod info
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-11-26 15:57:00 -06:00
Lantao Liu
7142de0fd2
Merge pull request #977 from Random-Liu/install-necessary-tools
...
Only install necessary tools.
2018-11-13 12:04:13 -08:00
Lantao Liu
5b21e63aed
Merge pull request #976 from Random-Liu/remove-health-monitor
...
Remove the unused `health-monitor.sh`.
2018-11-13 12:03:56 -08:00
Lantao Liu
77d55c5e60
Only install necessary tools.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-13 11:38:29 -08:00
Lantao Liu
ce51a102d4
Merge pull request #954 from mikebrow/go-version-update
...
adds golang 1.11.x to build
2018-11-13 11:36:42 -08:00
Lantao Liu
cfa8e06aee
Remove the unused health-monitor.sh
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-13 11:21:51 -08:00
Lantao Liu
80554f4a85
Merge pull request #973 from Random-Liu/use-event-id
...
Use the `ID` field of `TaskExit` event.
2018-11-12 17:02:34 -08:00
Lantao Liu
6614992914
Merge pull request #974 from Random-Liu/remove-invalid-todo
...
Remove invalid TODO comment.
2018-11-12 17:02:10 -08:00
Lantao Liu
7f1f4e7a14
Remove invalid TODO comment.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-12 14:34:36 -08:00
Lantao Liu
47542c9515
Merge pull request #972 from Random-Liu/update-containerd-1.2
...
Update containerd to v1.2.0.
2018-11-12 14:31:02 -08:00
Lantao Liu
d4c825f905
Use the ID
field of TaskExit
event.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-12 14:30:27 -08:00
Lantao Liu
f818de9dce
Update containerd to v1.2.0.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-12 11:12:41 -08:00
Mike Brown
64b067d93f
fix integration test
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-11-08 17:53:47 -06:00
Mike Brown
bc97f51477
adds golang 1.11.x and tip to build
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-11-08 09:11:43 -06:00
Lantao Liu
edf2b81778
Merge pull request #969 from Random-Liu/golang-1.11-gofmt
...
Update code for golang 1.11 gofmt.
2018-11-08 00:21:04 -08:00
Lantao Liu
459e481808
Update code for golang 1.11 gofmt.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-11-07 16:08:58 -08:00