Commit Graph

2235 Commits

Author SHA1 Message Date
David Ashpole
31694e6e1e
Merge pull request #1786 from tklauser/utsname-x-sys-unix
Simplify Utsname string conversion
2017-10-31 10:46:13 -07:00
Tobias Klauser
24493b8458 Simplify Utsname string conversion
Use Utsname from golang.org/x/sys/unix which contains byte array
instead of int8/uint8 array members. This allows to simplify the string
conversions of these members.
2017-10-31 12:14:10 +01:00
Tobias Klauser
e5135c223d Update golang.org/x/sys dependency 2017-10-31 12:13:43 +01:00
David Ashpole
6d3841c68a
Merge pull request #1784 from majst01/misspelled-errors
Fix wrong error checking in fsHandler.go
2017-10-30 10:02:08 -07:00
David Ashpole
bfb7e13720
Merge pull request #1785 from sjenning/fix-msg
fix long du duration message
2017-10-30 09:57:31 -07:00
Seth Jennings
cc77f13a2b fix long du message 2017-10-30 10:00:47 -05:00
Stefan Majer
d5e2ffbef7 Fix wrong error checking in fsHandler.go 2017-10-30 07:44:57 +01:00
David Ashpole
eaa3532918
Merge pull request #1755 from bakins/update-zfs
Update go-zfs dependency
2017-10-28 12:38:18 -07:00
Brian Akins
752f2cd121 Update go-zfs dependency
Update go-zfs dependency
2017-10-28 09:34:43 -04:00
David Ashpole
53820123e6 Merge pull request #1336 from ronnielai/test
Don't rely on the returned value when there's an error
2017-10-24 15:56:55 -07:00
David Ashpole
479e4a97ed Merge pull request #1780 from majst01/master
Fix Memory leak in fs.go
2017-10-24 11:20:52 -07:00
Stefan Majer
4a778288ee Stop AfterFunc timer after findCmd.Wait regardless of errors to prevent memory leak 2017-10-24 15:18:07 +02:00
David Ashpole
99716b05db Merge pull request #1771 from runcom/fix-overlay2-crio
CRI-O: fix handling of overlay2 storage
2017-10-23 10:16:02 -07:00
Antonio Murdaca
088aaf1a32
CRI-O: fix handling of overlay2 storage
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-10-21 12:05:40 +02:00
David Ashpole
65f8fdd877 Merge pull request #1769 from euank/ignore-nil-cpustats
libcontainer: ignore nil cpustats
2017-10-20 13:38:22 -07:00
Euan Kemp
587691c7f3 libcontainer: ignore nil cpustats
Cadvisor can inotify watch for new cgroups. This leads to it racing
fairly tightly with cgroup creation... So tightly, that sometimes
cpustats are nil.

The runc library code we call
(https://github.com/opencontainers/runc/blob/v1.0.0-rc4/libcontainer/cgroups/fs/apply_raw.go#L179-L182)
doesn't actaully consider this an error, so we have to handle that
scenario ourselves.

This fixes https://github.com/google/cadvisor/issues/1765
2017-10-20 13:08:23 -07:00
Derek Carr
90bb0524fe Merge pull request #1770 from dashpole/fix_overlay2
Monitor diff directory for overlay2
2017-10-18 11:39:09 -04:00
David Ashpole
b7959da460 monitor diff directory for overlay2 2017-10-11 14:13:42 -07:00
David Ashpole
790b787399 Merge pull request #1768 from derekwaynecarr/max_usage_in_bytes
Container stats expose memory max usage
2017-10-10 14:53:11 -07:00
Derek Carr
9ea61176bf Expose memory.max_usage_in_bytes in container stats 2017-10-10 17:31:31 -04:00
Derek Carr
3e659ec0d1 Merge pull request #1766 from sjenning/adapt-long-du
adaptive longOp for du operation
2017-10-05 10:36:37 -04:00
Seth Jennings
fd9c6d2fde adaptive longOp for du operation 2017-10-05 09:22:54 -05:00
David Ashpole
b9ab5d6ba9 Merge pull request #1756 from dashpole/remove_engine_api
Move off of docker/engine-api
2017-09-28 14:37:22 -07:00
David Ashpole
888a529088 fix #1743; move off of docker/engine-api 2017-09-28 11:05:13 -07:00
David Ashpole
f1c4a432ac Merge pull request #1760 from dashpole/off_inotify
Move from inotify to fsnotify
2017-09-28 11:04:52 -07:00
David Ashpole
e6b6a1ac57 fix #1708; move from inotify to fsnotify 2017-09-28 10:57:49 -07:00
David Ashpole
8a59b6d8cf Merge pull request #1759 from dashpole/clarify_memory_usage
Update memory usage helper message
2017-09-28 10:57:26 -07:00
David Ashpole
1dcd0cee2b update description of memory usage 2017-09-28 10:48:07 -07:00
David Ashpole
ba91527651 Merge pull request #1763 from mindprince/cleanup
Minor cleanup.
2017-09-27 11:30:53 -07:00
Rohit Agarwal
919b369923 Minor cleanup.
- Remove unused travis file.
- Fix Makefile license.
- Update README with new link.
- Fix outdated comment.
2017-09-27 00:22:11 -07:00
David Ashpole
76538e77a5 Merge pull request #1754 from bsingr/master
Add memory reservation in prom `/metrics` endpoint.
2017-09-19 15:11:18 -07:00
Jens Bissinger
2599ea6764 Add memory reservation in prom /metrics endpoint. 2017-09-12 19:20:49 +02:00
David Ashpole
a2d3378b8a Merge pull request #1752 from dashpole/fix_builds
apt-get update, not apt-cache update
2017-09-07 11:09:24 -07:00
David Ashpole
d4a4d8c960 fix builds 2017-09-07 10:47:04 -07:00
David Ashpole
2f84d83d9c Merge pull request #1751 from dashpole/fix_builds
clean after apt-get install
2017-09-07 09:20:16 -07:00
David Ashpole
08136d0a3c clean after apt-get install 2017-09-06 16:45:35 -07:00
David Ashpole
bed4ed57dc Merge pull request #1750 from dashpole/patch_release
0.27.1 changelog update
2017-09-06 16:20:25 -07:00
David Ashpole
debd14b35a 0.27.1 changelog 2017-09-06 16:09:30 -07:00
David Ashpole
32f77e9f14 Merge pull request #1749 from dashpole/fix_builds
Add apt-get update to dockerfile
2017-09-06 16:07:15 -07:00
David Ashpole
a996ef85a4 fix kubernetes/test-infra #4403 2017-09-06 15:47:58 -07:00
Derek Carr
e8dbd5003c Merge pull request #1741 from runcom/crio-handler
*: add CRI-O handler
2017-09-06 15:48:13 -04:00
Antonio Murdaca
4b002b3bd3
*: add CRI-O handler
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2017-09-05 17:01:58 +02:00
David Ashpole
1df21eaa59 Merge pull request #1747 from dashpole/dockerdigest
update docker/distribution
2017-09-01 13:36:25 -07:00
David Ashpole
35de579b37 update distribution 2017-09-01 13:28:43 -07:00
David Ashpole
4940190f7f Merge pull request #1746 from dashpole/release
Add changelog for 0.27.0 release
2017-09-01 11:44:45 -07:00
David Ashpole
7335d277d4 0.27.0 changelog 2017-09-01 11:35:39 -07:00
David Ashpole
11b8f17c15 Merge pull request #1745 from dashpole/docker_godep
Update docker/docker, and docker/distribution
2017-09-01 11:23:38 -07:00
David Ashpole
20bd275f77 update docker/docker, and docker/distribution 2017-09-01 11:17:14 -07:00
Vish Kannan
03d7288c83 Merge pull request #1544 from euank/kmsg-parser
oomparser: update to use kmsg based parser
2017-08-30 15:44:04 -07:00
Euan Kemp
95f9c8c86f oomparser: update to use kmsg based parser
This provides much more robust support for kernel logs via accessing the
`/dev/kmsg` interface to them directly.
2017-08-30 15:35:40 -07:00