Kazuyoshi Kato
|
6596a70861
|
Use github.com/containerd/cgroups/v3 to remove gogo
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
|
2022-11-14 21:07:48 +00:00 |
|
haoyun
|
bbe46b8c43
|
feat: replace github.com/pkg/errors to errors
Signed-off-by: haoyun <yun.hao@daocloud.io>
Co-authored-by: zounengren <zouyee1989@gmail.com>
|
2022-01-07 10:27:03 +08:00 |
|
Akihiro Suda
|
d3aa7ee9f0
|
Run go fmt with Go 1.17
The new `go fmt` adds `//go:build` lines (https://golang.org/doc/go1.17#tools).
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
2021-08-22 09:31:50 +09:00 |
|
Akihiro Suda
|
2f601013e6
|
cgroup2: implement containerd.events.TaskOOM event
How to test (from https://github.com/opencontainers/runc/pull/2352#issuecomment-620834524):
(host)$ sudo swapoff -a
(host)$ sudo ctr run -t --rm --memory-limit $((1024*1024*32)) docker.io/library/alpine:latest foo
(container)$ sh -c 'VAR=$(seq 1 100000000)'
An event `/tasks/oom {"container_id":"foo"}` will be displayed in `ctr events`.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
2020-06-01 14:00:13 +09:00 |
|