David Ashpole
9991c03427
Merge pull request #2374 from dims/newer-go-zfs-to-avoid-pborman-uuid
...
Switch to newer github.com/mistifyio/go-zfs
2020-01-09 09:05:20 -08:00
Davanum Srinivas
3fae3c3233
Switch to newer github.com/mistifyio/go-zfs
...
To avoid the pborman/uuid dependency. Both k8s and go-zfs have dropped
the pborman/uuid dependency
b6cafe7fb9
https://github.com/kubernetes/kubernetes/pull/84770
2020-01-09 11:53:32 -05:00
David Ashpole
c6ab759ea2
Merge pull request #2373 from dims/update-to-newer-docker/docker-used-in-k8s
...
Move to newer docker/docker already used in kubernetes
2020-01-08 13:54:14 -08:00
Davanum Srinivas
07225f7977
Move to newer docker/docker already used in kubernetes
...
- `go get github.com/docker/docker@v0.7.3-0.20190327010347-be7ac8be2ae0`
- `go mod vendor`
2020-01-08 16:45:35 -05:00
David Ashpole
4b8f6d8d7f
Merge pull request #2372 from dims/update-cadvisor-to-containerd-1.3.2
...
Update to containerd 1.3.2
2020-01-08 09:08:48 -08:00
Davanum Srinivas
f1fa3d4631
Update to containerd 1.3.2
...
- `go get -u github.com/containerd/containerd`
- `go mod vendor`
2020-01-08 11:57:59 -05:00
David Ashpole
947eb3cdb7
Merge pull request #2368 from huchengze/patch-1
...
Support for mips
2020-01-07 17:34:30 -08:00
David Ashpole
46803d9037
Merge pull request #2289 from purebluesong/patch-1
...
Support build this project by docker
2020-01-07 17:31:19 -08:00
Chengze Hu
9fa8c50e0b
go fmt fs/fs.go
2020-01-08 09:10:10 +08:00
David Ashpole
64af92094a
Merge pull request #2364 from carlosedp/riscv64
...
Ignore CPU clock for riscv64
2020-01-07 13:21:21 -08:00
David Ashpole
0ff17b8d0d
Merge pull request #2369 from KielChan/add-netmetrics
...
add advanced tcp stats, like netstat -s
2020-01-07 12:01:24 -08:00
Carlos de Paula
77aef51a9b
Ignore CPU clock for riscv64
2020-01-07 17:00:26 -03:00
ChenQingya
43e78242ea
split advanced tcp metrics from original tcp metrics as advtcp
2020-01-07 12:04:35 +08:00
huccshen
171086509e
add nolint: unconvert
2020-01-07 09:27:13 +08:00
huccshen
d2fac466b0
Support for mips
...
For support for mips.
https://github.com/kubernetes/kubernetes/issues/86749
2020-01-07 09:27:13 +08:00
David Ashpole
517109fa2c
Merge pull request #2370 from dashpole/fix_tests
...
Update assets to fix e2e tests
2020-01-06 16:07:58 -08:00
David Ashpole
30e988f848
update assets to fix e2e tests
2020-01-06 15:43:06 -08:00
ChenQingya
0a9365b238
add advance tcp stats, like netstat -s
2020-01-03 15:25:52 +08:00
David Ashpole
c79dfbf37b
Merge pull request #2359 from chenkaiyue/RetryGettingDockerRoot
...
Retry to get docker root and log when error
2019-12-24 03:06:59 -08:00
chenkaiyue
d553c7485e
RetryGettingDockerRoot and log when error
2019-12-21 14:56:32 +08:00
David Ashpole
e8e2b2b52b
Merge pull request #2361 from parthyadav3105/master
...
Add timestamp support in stdout storage driver
2019-12-20 13:36:52 -08:00
Parth Yadav
591b16eb45
Add timestamp support in stdout storage driver
...
Add Unix Timestamp in nanoseconds to container metrics stats for stdout storage driver
2019-12-20 14:26:30 +05:30
David Ashpole
7dfa1d0cb0
Merge pull request #2355 from tanenbaum/bug/container_deadlock
...
Fix container `OnDemandHousekeeping` blocking on stop channel.
2019-12-10 10:28:17 -08:00
Joe Shaw
cd5f6d7e84
Fix blocking select on container stop.
...
Add unit test to demonstrate fix.
2019-12-10 10:26:06 +00:00
David Ashpole
99a08cd7cd
Merge pull request #2315 from sahilrihan/fd_limit
...
Add support for emitting file descriptor limits for containers.
2019-12-06 15:54:24 -08:00
Sahil Rihan
a09cdda5cf
Add ulimit metrics
2019-12-06 15:38:02 -08:00
David Ashpole
35004abf39
Merge pull request #2352 from roman-mazur/roman/readme
...
Fix deprecated image reference in readme
2019-12-05 10:45:43 -08:00
Roman Mazur
e0546b0919
Fix deprecated image reference in readme
...
Dockerhub repository has a deprecation notice.
Signed-off-by: Roman Mazur <roman@balena.io>
2019-12-05 10:53:58 +02:00
lysannef
d0f2717c77
Multi-arch containerized build for Cadvisor ( #2323 )
...
* ppc64le build for cAdvisor
2019-12-04 14:07:30 -08:00
Daniel, Dao Quang Minh
236f41d419
Add support for go module ( #2338 )
...
* add go module support, update go-bindata ref, bump runc dep
```
go mod init github.com/google/cadvisor
go mod tidy
go get github.com/matttproud/golang_protobuf_extensions@c182affec369e30f25d3eb8cd8a478dee585ae7d
go get github.com/containerd/typeurl@5eb25027c9fdd675e1db2bd25af02f5db75027ab
```
Somehow the dependencies retrieved by `go mod init` was mismatched (maybe because
runc itself does not support go module yet ?). This fixes the dependencies retrieved
in go module, the packages bump itself seems sane.
The original go-bindata is unmaintained and is on an old revision, so our usage
of it is outdated. Changed to https://github.com/kevinburke/go-bindata which
seems to be a more official and well maintained fork, and bump to latest version.
2019-12-03 10:41:37 -08:00
David Ashpole
49033161cc
Merge pull request #2345 from dashpole/changelog_35
...
Changelog for v0.35.0
2019-11-27 13:40:07 -08:00
David Ashpole
dae76761cd
changelog for v0.35.0
2019-11-27 13:25:41 -08:00
David Ashpole
fd4e2a0385
Merge pull request #2292 from zouyee/multitmpfs
...
support multi tmpfs in cadvisor
2019-11-26 10:27:05 -08:00
zouyee
976f231ab2
support multi tmpfs in cadvisor
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-11-26 10:32:48 +08:00
David Ashpole
c9261a8d95
Merge pull request #2339 from dashpole/go_fmt
...
Update gofmt with go1.13
2019-11-22 17:29:42 -08:00
David Ashpole
5879c34819
update gofmt with go1.13
2019-11-18 14:46:12 -08:00
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