8 Commits

Author SHA1 Message Date
Kir Kolyshkin
3a1b0f2864 kubelet/kuberuntime: switch to runc/libct
runc/libcontainer/cgroups.ParseCgroupFile is a universal function; for
cgroup v2 it returns path to unified in a map with "" as a key.

Let's use it here, dropping cgroups dependency entirely.

Amends commit e86d02b60c.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-11-07 13:04:56 -08:00
Davanum Srinivas
e86d02b60c Copy ParseCgroupFileUnified and Drop rest of containerd/cgroups
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-31 13:42:39 -04:00
Davanum Srinivas
abbc5ad346 Copy limited pieces of code we use from runc's apparmor and utils packages
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-22 09:56:22 -04:00
Akihiro Suda
07c701fecb agnhost: merge registry.k8s.io/stress:v1 (github.com/vishh/stress)
Merge vishh/stress@eab4e3384b into
agnhost.

Old usage: `stress -mem-alloc-size 12Mi -mem-alloc-sleep 10s -mem-total 4Gi`
New usage: `agnhost stress --mem-alloc-size 12Mi --mem-alloc-sleep 10s --mem-total 4Gi`

This is a part of the steps to migrate from legacy Schema 1 images
(issue 123146)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-02-13 23:21:05 +09:00
Jordan Liggitt
f6bb29c2d2 Add gimme 2023-02-01 16:34:23 -05:00
Davanum Srinivas
108e3e28a9 Correctly attribute some datastructures from gotestsum repository
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-04-01 14:49:15 -04:00
Jordan Liggitt
c4ecdad570 Copy golang license to staging copies 2021-08-10 17:37:28 -04:00
Davanum Srinivas
40f1db8d2d update license gathering script for forked code
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-08 07:48:19 -04:00