Sebastiaan van Stijn
727ab584bb
vendor: github.com/containerd/cgroups v3.0.5
...
full diff: https://github.com/containerd/cgroups/compare/v3.0.3...v3.0.5
notable changes:
- chore: don't log ENOTSUP during parsing PSI files
- Add EOPNOTSUPP to err filter for PSI data
- cg2: Don't read cgroup.procs when deleting threaded cg
- Added cgroup type "domain threaded" and "domain invalid"
- switch to github.com/containerd/log
- go.mod: update to go1.22 as minimum
- deprecate RunningInUserNS()
- dont ignore failure to create cgroup after timeout
- cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-12-19 21:27:44 +01:00
Akihiro Suda
f49fad75eb
vendor.mod: github.com/microsoft/hcsshim v0.12.5
...
https://github.com/microsoft/hcsshim/compare/v0.11.7...v0.12.5
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-08-18 04:38:57 +09:00
Sebastiaan van Stijn
2af17cd3f5
vendor: github.com/containerd/cgroups/v3 v3.0.3
...
release notes:
- NewSystemd handles UnitExists when starting units
- makefile fixes
- cgroups2: export memory max usage and swap max usage
- build(deps): bump github.com/cilium/ebpf from v0.9.1 to v0.11.0
- support psi
- feat: add Threads for cgroupv2
- Linux.Swap is defined as memory+swap combined, while in cgroup v2 swap is a separate value
- fix(): support re-enabling oom killer refs #307 by @kestrelcjx
full diff: https://github.com/containerd/cgroups/compare/v3.0.2...v3.0.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-01-05 13:18:14 +01:00
Sebastiaan van Stijn
f379af6d17
vendor: github.com/containerd/cgroups/v3 v3.0.2
...
full diff: https://github.com/containerd/cgroups/compare/v3.0.1...v3.0.2
relevant changes:
- cgroup2: only enable the cpuset controller if cpus or mems is specified
- cgroup1 delete: proceed to the next subsystem when a cgroup is not found
- Cgroup2: Reduce allocations for manager.Stat
- Improve performance by for pid stats (cgroups1) re-using readuint
- Reduce allocs in ReadUint64 by pre-allocating byte buffer
- cgroup2: rm/simplify some code
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-06-30 19:32:26 +02:00
Akihiro Suda
e807ae4f2e
vendor: github.com/containerd/cgroups/v3 v3.0.1
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-03-08 20:15:17 +09:00
Akihiro Suda
2f6b8a2aec
vendor: github.com/containerd/cgroups v1.0.4
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2022-05-27 10:49:24 +09:00
Sebastiaan van Stijn
461845bfbc
vendor: github.com/containerd/cgroups v1.0.3
...
full diff: https://github.com/containerd/cgroups/compare/v1.0.1...v1.0.3
- cgroup v1: implement AddProc()
- cgroup v1: reduce duplicated code
- cgroup v2: Fix potential dirfd leak
- cgroup v2: remove unimplemented errors and ErrorHandler, IgnoreNotExist
- cgroup v2: v2: Fix inotify fd leak when cgroup is deleted
- cgroup.go: avoid panic on nil interface
- cgroup: Optionally add process and task to a subsystems subset
- fix Implicit memory aliasing in for loop
- go.mod: coreos/go-systemd/v22 v22.3.2 to prepare for deprecations
- Improvements on cgroup v2 support
- replace pkg/errors from vendor
- Use /proc/partitions to get device names
- utils: export ParseCgroupFile()
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-02-23 19:04:43 +01:00
Sebastiaan van Stijn
e5d28115ee
vendor: regenerate
...
- all changes here are attributed to difference in behaviour between,
namely:
- resolution of secondary test dependencies
- prunning of non-Go files
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com >
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-01-18 15:46:04 +01:00
Sebastiaan van Stijn
0691addf6a
vendor: github.com/containerd/cgroups v1.0.1
...
full diff: 0b889c03f1 ...v1.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-06-04 16:27:37 +02:00
Sebastiaan van Stijn
8eebe32f5c
vendor: github.com/containerd/cgroups 0b889c03f102012f1d93a97ddd3ef71cd6f4f510
...
full diff: 318312a373...0b889c03f1
- v1/stats: add all fields of memory.oom_control
- memory: remove wrong memory.kmem.limit_in_bytes check
- CI: test against Go 1.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-19 10:30:52 +01:00
Akihiro Suda
0592aac95c
vendor: update containerd/cgroups
...
Changes: 44306b6a1d...318312a373
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2020-07-30 14:31:17 +09:00
Akihiro Suda
f350b53241
cgroup2: implement docker info
...
ref: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2020-04-17 07:20:01 +09:00
Akihiro Suda
3802830989
cgroup2: implement docker stats
...
The following fields are unsupported:
* BlkioStats: all fields other than IoServiceBytesRecursive
* CPUStats: CPUUsage.PercpuUsage
* MemoryStats: MaxUsage and Failcnt
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2020-04-02 17:51:34 +09:00
Akihiro Suda
9a82a9a8ea
vendor containerd, BuildKit, protobuf, grpc, and golang.org/x
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2020-03-03 10:25:20 +09:00
Sebastiaan van Stijn
27552ceb15
bump containerd/cgroups 5fbad35c2a7e855762d3c60f2e474ffcad0d470a
...
full diff: c4b9ac5c76...5fbad35c2a
- containerd/cgroups#82 Add go module support
- containerd/cgroups#96 Move metrics proto package to stats/v1
- containerd/cgroups#97 Allow overriding the default /proc folder in blkioController
- containerd/cgroups#98 Allows ignoring memory modules
- containerd/cgroups#99 Add Go 1.13 to Travis
- containerd/cgroups#100 stats/v1: export per-cgroup stats
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-10-31 01:09:12 +01:00
Sebastiaan van Stijn
0af1099a81
bump containerd/cgroups c4b9ac5c7601384c965b9646fc515884e091ebb9
...
full diff: github.com/containerd/cgroups 4994991857...c4b9ac5c76
changes included:
- containerd/cgroups#81 Add network stats
- addresses containerd/cgroups#80 Add network metrics
- containerd/cgroups#85 Fix cgroup hugetlb size prefix for kB
- addresses kubernetes/kubernetes#77169 Permission denied on hugetlb due to wrong filename
- relates to opencontainers/runc#2065 Fix cgroup hugetlb size prefix for kB
- containerd/cgroups#88 cgroups: fix MoveTo function fail problem
- containerd/cgroups#92 fixed an issue with invalid soft memory limits
- containerd/cgroups#93 avoid adding io_serviced and io_service_bytes duplicately
- fixes containerd/containerd#3412 collected metric container_blkio_io_serviced_recursive_total: was collected before with the same name and label values
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-10-04 15:05:34 -07:00
Sebastiaan van Stijn
7392abda03
update containerd/cgroups 4994991857f9b0ae8dc439551e8bebdbb4bf66c1
...
full diff: dbea6f2bd4...4994991857
brings in https://github.com/containerd/cgroups/pull/79 Return ErrCgroupDeleted when no subsystems
relates to https://github.com/containerd/containerd/issues/3133 Custom cgroup path does not work in containerd 1.2.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-03-29 00:00:06 +01:00
Sebastiaan van Stijn
386b06eacd
vendor containerd/cgroups dbea6f2bd41658b84b00417ceefa416b979cbf10
...
Relevant changes:
- containerd/containerd#51 Fix empty device type
- containerd/containerd#52 Remove call to unitName
- Calling unitName incorrectly appends -slice onto the end of the slice cgroup we are looking for
- addresses containerd/containerd#47 cgroups: cgroup deleted
- containerd/containerd#53 systemd-239+ no longer allows delegate slice
- containerd/containerd#54 Bugfix: can't write to cpuset cgroup
- containerd/containerd#63 Makes Load function more lenient on subsystems' checking
- addresses containerd/containerd#58 Very strict checking of subsystems' existence while loading cgroup
- containerd/containerd#67 Add functionality for retrieving all tasks of a cgroup
- containerd/containerd#68 Fix net_prio typo
- containerd/containerd#69 Blkio weight/leafWeight pointer value
- containerd/containerd#77 Check for non-active/supported cgroups
- addresses containerd/containerd#76 unable to find * in controller set: unknown
- addresses docker/for-linux#545 Raspbian: Error response from daemon: unable to find "net_prio" in controller set: unknown
- addresses docker/for-linux#552 Error response from daemon: unable to find "cpuacct" in controller set: unknown
- addresses docker/for-linux#545 Raspbian: Error response from daemon: unable to find "net_prio" in controller set: unknown
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-03-13 21:39:49 +01:00
Derek McGowan
98e23f2a8e
Update containerd vendor to 1.2 beta
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-08-17 13:08:22 -07:00
Stephen J Day
554d657c1f
containerd: update to 1.0.3 release
...
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2018-04-02 13:42:49 -07:00
Sebastiaan van Stijn
175cfdcfb5
Update containerd dependencies to match 1.0.2
...
- ed1cbe1fc3...4f6e87ae04
- 29da22c617...c0710c92e8
- runc (already ahead)
- 76e68349ad...d452837986
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2018-02-14 02:13:07 +01:00
Michael Crosby
c2cb302d17
Update containerd to 6bff39c643886dfa3d546e83a90a5
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-11-30 11:16:25 -05:00
Kenfe-Mickael Laventure
7acea2a243
Vendor containerd 1.0
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
2017-10-19 13:19:41 -07:00