Giuseppe Scrivano
60f064ee41
cgroup: initial support for cgroups v2
...
add some initial support for cgroups v2. Not all the stats
supported on cgroups v1 are supported, e.g. it is not possible to read
percpu usage.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-06 21:26:35 +02:00
Andy Xie
5e1b44b196
add check for cpu cfs bandwidth in validate endpoint
2018-03-23 17:47:21 +08:00
David Ashpole
888a529088
fix #1743 ; move off of docker/engine-api
2017-09-28 11:05:13 -07:00
Tim St. Clair
4c506006f2
Don't validate docker state file, since it's no longer used
2016-05-06 19:29:24 -07:00
Tim St. Clair
b553e02476
Fix cAdivsor docker validation
2016-04-08 17:05:26 -07:00
Tim St. Clair
d9c864324b
Fix usage of the latest go-dockerclient
2016-04-04 18:01:47 -07:00
Jimmi Dyson
31dcb5f3b7
Remove systemd docker container name check
2016-02-06 20:38:32 +00:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
Alex Mavrogiannis
4533dd7d18
changed libcontainer dependency to runc
2015-11-21 14:04:01 -08:00
Jimmi Dyson
357e6a0f23
Reuse cached docker client
...
Fixes #925
2015-10-20 20:15:54 +01:00
Victor Marmol
0525d40a4a
Add DebugInfo() API and put the information on /validate
2015-05-21 14:46:35 -07:00
Rohit Jnagal
ae48c70aff
Report status of hierarchical memory accounting in validate output.
...
We still report 'Supported and Recommended' even if hierarchical accounting is disabled.
Most current distros don't enable it by default.
2015-03-02 06:48:01 +00:00
Rohit Jnagal
001d32e146
Add I/O scheduler information to validator.
2015-01-17 00:47:31 +00:00
Rohit Jnagal
cdd355421f
Add check for state directory to validator.
2014-12-28 18:04:32 +00:00
Vish Kannan
a3ca75ac11
Merge pull request #393 from rjnagal/cpu
...
Relax regex for kernel version string format in validator.
2014-12-22 23:11:25 -08:00
Rohit Jnagal
35740c141d
Relax the kernel version string format.
...
It now parses versions like major.minor-* as used by some VMs.
2014-12-23 06:22:08 +00:00
Rohit Jnagal
c8eecef6d5
Fix cgroup root path detection.
...
The current logic assumes that cpu cgroup mnt point is <basepath>/cpu.
On some systems, its <basepath>/cpu,cpuacct (CentOS 7).
2014-12-22 22:50:53 +00:00
Rohit Jnagal
21e1d8f917
Add cgroup mount directory names to validate output.
2014-12-22 22:02:13 +00:00
Rohit Jnagal
4ec9894ea2
Add systemd information to validate output.
2014-12-15 23:26:30 +00:00
Rohit Jnagal
124c08f82a
Add a validation handler to check cadvisor's underlying dependencies.
2014-12-15 18:51:00 +00:00