Commit Graph

2560 Commits

Author SHA1 Message Date
David Ashpole
10bce1cd55
Merge pull request #2320 from dims/drop-support-for-rkt
Drop support for rkt - which is now archived
2019-10-07 11:29:27 -07:00
David Ashpole
5d7c0c5869
Merge pull request #2304 from ohsewon/huge_page_info_per_node
Add hugepage info to v1 node structure
2019-10-07 11:09:23 -07:00
sewon.oh
255729d1ae
Add comments and unit tests for GetHugePagesInfo()
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-10-07 11:15:00 +09:00
sewon
95453fe0aa
Update machine/machine.go
Co-Authored-By: Odin Ugedal <odin@ugedal.com>
2019-10-04 15:49:22 +09:00
sewon.oh
cb3a2bef46
Remove duplicated logic
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-10-04 14:31:01 +09:00
David Ashpole
f426b22e74
Merge pull request #2319 from sashankreddya/fix_reference_access
Update the reference to Source attribute via safer Get API for mesos containers.
2019-10-03 16:54:49 -07:00
Davanum Srinivas
b35086151a
Drop support for rkt - which is now archived
Change-Id: I4bc38990251fe12be521a242ff9b9c81e2d03501
2019-10-01 20:03:22 -04:00
Sashank Appireddy
4035ea225c Update the reference to Source attribute for mesos containers. 2019-10-01 10:36:17 -07:00
David Ashpole
b253b65835
Merge pull request #2309 from giuseppe/libcontainer-cgroupv2
[RFC] cgroup: initial support for cgroups v2
2019-09-09 11:07:23 -07:00
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
David Ashpole
be3c91506e
Merge pull request #2219 from jaerik/master
Adding ability to handle OverlayFS mounts
2019-09-06 09:41:47 -07:00
Giuseppe Scrivano
4f0396f1cc
deps: update github.com/opencontainers/runc
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-09-06 16:40:50 +02:00
jaerik
8a81739956
Adding descriptive comment about overlay fix
Signed-off-by: Erik Jansson <erikja@axis.com>
2019-09-06 11:36:41 +02:00
David Ashpole
60d438652e
Merge pull request #2228 from dashpole/code_safe_changes
Fix code safe linter errors
2019-09-05 14:11:54 -07:00
David Ashpole
f5e7ddf27a
Merge pull request #2307 from choury/patch-1
Add missing error handler in machine info
2019-09-05 10:37:40 -07:00
choury
f009931603
Add error handle in machine info 2019-09-05 19:52:18 +08:00
sewon.oh
d138b59aa2
Add hugepage info to v1 node structure
Signed-off-by: sewon.oh <sewon.oh@samsung.com>
2019-09-05 15:12:13 +09:00
David Ashpole
24a6a52fce
Merge pull request #2297 from dashpole/changelog_34
Changelog for v0.34.0
2019-08-26 15:46:06 -07:00
David Ashpole
39b93d68e3 Changelog for v0.34.0 2019-08-26 15:31:51 -07:00
David Ashpole
75252bdc91
Merge pull request #2296 from dashpole/fix_echo
Fix printed output for prow script
2019-08-23 10:05:40 -07:00
David Ashpole
8cef6fa871 fix printed output for prow script 2019-08-22 16:16:29 -07:00
David Ashpole
d200c9f558
Merge pull request #2283 from sashankreddya/disable_root_cgroup_knobs
Provide a config knob to disable collecting root Cgroup stats #2259
2019-08-10 17:10:24 -07:00
Sashank Appireddy
249a1d57bc Provide a config knob to disable collecting root Cgroup stats 2019-08-09 11:28:04 -07:00
David Ashpole
4ecf88ecc3
Merge pull request #2263 from sanek9/docker
Fix Healthcheck
2019-08-09 11:25:10 -07:00
David Ashpole
c2db0652ff
Merge pull request #2277 from andriisoldatenko/fix-security-issues-bump-alpine
Fix security issues: bump alpine to 3.10
2019-08-09 11:16:07 -07:00
David Ashpole
6ecc74d278
Merge pull request #2284 from sjenning/crio-retry-get-pid
container/crio: retry getting pid if 0
2019-08-09 11:11:59 -07:00
Seth Jennings
73b0de8389 container/crio: retry getting pid if 0 2019-08-08 11:21:42 -05:00
Andrii Soldatenko
9d46bb9640 Fix security issues: bump alpine to 3.10 2019-07-29 22:15:46 +03:00
David Ashpole
9fa3b14299
Merge pull request #2268 from qingwave/running_doc_dev
docs: update running flag for current process metrics
2019-07-19 10:29:07 -07:00
qingwave
35ba803cd9 docs: update running flag for current process metrics 2019-07-19 09:59:41 +08:00
Tarun Pothulapati
daa036418b Use k8s.io/utils/inotify and resolved godep conflicts (#2269)
Use k8s.io/utils/inotify and resolved godep conflicts

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-07-18 09:48:52 -07:00
qinng
83240cc997 add socket number for process stat (#2260) 2019-07-15 09:33:09 -07:00
Kiel Chan
2ccad4b42f add pids stats (#2257)
Add thread stats
2019-07-03 08:03:53 -07:00
David Ashpole
bc14de84cc
Merge pull request #2265 from woosley/master
set memory limitation for cadvisor
2019-07-03 07:47:30 -07:00
WoOsley
e4396bc384
Update daemonset.yaml 2019-07-03 14:39:55 +08:00
Alexander Voitov
d361405db3 curl -> wget 2019-07-02 23:25:33 +03:00
David Ashpole
135e453cb9
Merge pull request #1419 from bingohuang/add-envs-to-specv2
Add Envs to specV2 from specV1
2019-06-21 13:54:19 -07:00
David Ashpole
500ad591d4
Merge pull request #2112 from tiagoapimenta/master
Removing external glibc dependency
2019-06-21 12:58:03 -07:00
blakebarnett
e8b24bf2e7 Avoid dupe labels in prom metrics (#2194)
Fix panic when container labels conflict in prometheus metrics
2019-06-21 12:57:38 -07:00
David Ashpole
a81d402f4f
Merge branch 'master' into master 2019-06-21 11:48:43 -07:00
David Ashpole
b374b2ffa0
Merge pull request #2254 from uthark/patch-1
Added missing quote to flag help text
2019-06-11 15:06:21 -07:00
Oleg Atamanenko
667c0b0cb2
Added missing quote
Added missing quote
2019-06-11 09:28:14 -07:00
Michael Royal
cc445b9cc7 Moving snap folder into deploy (#2246)
* snap package

includes snapcraft.yaml to build snap.
2019-05-24 13:12:27 -07:00
George Angel
63d82dd12e Do not disable disk and network metrics (#2236)
* Do not disable disk and network metrics, and disable sched and process metrics
2019-05-22 17:47:09 -07:00
David Ashpole
9092e7bc18
Merge pull request #2241 from raytung/fix/unknown_cloudprovider_amazon_linux_2_custom
Fixes #2232
2019-05-15 09:58:52 -07:00
Ray Tung
189cc9ce3c Fixes #2232
This commit fixes the bug in #2232 where cadvisor was not able to detect
the cloud provider if it's running on a custom AMI derived from
Amazon Linux 2.

It does so by checking /etc/os-release. However, from what I've read,
/etc/os-release is pretty much a systemd thing. Although Amazon Linux 2
comes with systemd, cadvisor cannot assume the existence of systemd in
other AMIs / OSes, therefore we would only be checking for
/etc/os-release if all other methods fail us.
2019-05-15 23:52:28 +10:00
David Ashpole
1654de2f62
Merge pull request #2239 from lorenz/nocgo-cgroupstats
Remove use of cgo for cgroup stats and refactoring of constants
2019-05-14 12:03:59 -07:00
Lorenz Brun
20c85d3460 Replace use of cgo for getting number of online CPUs 2019-05-13 21:54:02 +02:00
Lorenz Brun
1493d8af7d Remove cgo use and lots of ad-hoc defined kernel constants 2019-05-13 03:04:26 +02:00
Lorenz Brun
9fdea2af96 Update vendored golang.org/x/sys/unix 2019-05-13 03:04:18 +02:00