Antonio Murdaca
42eeba5783
container: fix concurrent map acccess
...
GetSpec() can be called concurrently in
manager/container.go.updateSpec()
results into a concurrent map access on the labels map because we're
directly updating the map inside GetSpec(). The labels map from the
container handler is not a copy of the map itself, just a reference,
that's why we're getting the concurrent map access.
Fix this by moving the label update with restartcount to the handler's
initialization method which is not called concurrently.
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2018-06-13 19:06:47 +02:00
David Ashpole
e10baf0057
Merge pull request #1961 from dashpole/cherrypick_1959
...
Revert "Switch from Inotify to Fsnotify"
2018-06-11 11:16:12 -07:00
David Ashpole
fdcae5552b
Revert "Switch from Inotify to Fsnotify"
...
This reverts commit c1a6d6090b
.
2018-06-11 11:15:30 -07:00
David Ashpole
dbbfeacf28
Merge pull request #1960 from dashpole/changelog_v0.30.1
...
changelog for v0.30.1
2018-06-11 11:02:36 -07:00
David Ashpole
a244c6a17b
Merge pull request #1959 from dashpole/revert_fsnotify
...
Revert "Switch from Inotify to Fsnotify"
2018-06-11 11:02:14 -07:00
David Ashpole
bdb8e3edea
changelog for v0.30.1
2018-06-11 10:58:59 -07:00
David Ashpole
8335af9d6b
Revert "Switch from Inotify to Fsnotify"
...
This reverts commit c1a6d6090b
.
2018-06-11 10:50:23 -07:00
David Ashpole
f6359ffcbd
Merge pull request #1952 from dashpole/changelog
...
v0.30.0 changelog
2018-06-05 11:06:47 -07:00
David Ashpole
7855a7f180
v0.30.0 changelog
2018-06-05 10:59:19 -07:00
David Ashpole
b343856a24
Merge pull request #1949 from ElfoLiNk/dockerfile
...
Update Dockerfile and dependencies
2018-05-29 14:13:34 -07:00
Matteo Gazzetta
c1f1e59cf9
Update Dockerfile and dependencies
2018-05-29 22:53:13 +02:00
David Ashpole
33a72c6b8b
Merge pull request #1940 from dims/run-find-command-with-nice-to-reduce-cpu-load
...
Run find command with nice to reduce cpu load
2018-05-08 14:30:38 -07:00
Davanum Srinivas
29203d62e9
Run find command with nice+ionice to reduce cpu / io
...
Reduce impact of running the "find" command when system is loaded. We
already use "nice" and "ionice" with the "du" command.
2018-05-08 16:32:39 -04:00
David Ashpole
96b62ed83b
Merge pull request #1939 from dims/run-du-with-ionice
...
Run du with ionice
2018-05-08 09:32:03 -07:00
Davanum Srinivas
47a5869161
Run du with ionice
...
Let us run du with idle io priority
2018-05-08 10:51:30 -04:00
David Ashpole
804cd3c133
Merge pull request #1934 from sjenning/fix-os-release-parsing
...
Fix os release parsing
2018-04-20 10:41:33 -07:00
Seth Jennings
a88f575eb0
use more robust docker os-release parser
2018-04-20 12:22:50 -05:00
Seth Jennings
8c28d09dbf
deps: add docker operatingsystems package
2018-04-20 12:22:44 -05:00
David Ashpole
7ce8450e51
Merge pull request #1877 from bhuvanchandra/master
...
cadvisor: build: fix broken build with Makefile
2018-04-18 10:53:50 -07:00
David Ashpole
853f966095
Merge pull request #1927 from mavidser/patch-1
...
Update docs - go 1.7 needed for building
2018-04-18 10:42:17 -07:00
David Ashpole
26fc1eb689
Merge pull request #1930 from mariusbld/mariusbld/fix-kafka-logs
...
Enable kafka logs when using kafka storage driver
2018-04-18 08:44:18 -07:00
Marius Buleandra
970f2e54ed
Enable kafka logs
2018-04-17 18:04:18 -04:00
Sid Verma
d037716b91
Update docs - go 1.7 needed for building
...
The project uses the built-in `context` package introduced in go 1.7 - update the docs to reflect that.
2018-04-14 10:10:44 +05:30
David Ashpole
8578a54b8b
Merge pull request #1916 from dashpole/fsnotify
...
Switch from Inotify to Fsnotify
2018-04-11 13:27:26 -07:00
David Ashpole
c1a6d6090b
Switch from Inotify to Fsnotify
2018-04-09 11:09:40 -07:00
David Ashpole
0191d8bebc
Merge pull request #1917 from dashpole/fix_discovery
...
Upon discovering a subdirectory, add a creation event for it
2018-04-09 09:50:24 -07:00
David Ashpole
4edfcdda8e
Merge pull request #1919 from Random-Liu/fix-containerd-wait
...
Fix containerd connection wait.
2018-03-29 17:55:09 -07:00
David Ashpole
31c5df3bd9
Merge pull request #1918 from Random-Liu/update-containerd
...
Update containerd to v1.0.2.
2018-03-29 17:44:24 -07:00
Lantao Liu
021065e3b9
Fix containerd connection wait.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-30 00:35:20 +00:00
Lantao Liu
cdb1f2ac71
Update containerd to v1.0.2.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-29 23:50:34 +00:00
David Ashpole
4e32e6ea97
upon discovering a subdirectory, add a creation event for it
2018-03-27 17:46:25 -07:00
David Ashpole
834edaddc4
Merge pull request #1913 from andyxning/add_check_for_cpu_cfs_bandwidth
...
add check for cpu cfs bandwidth in validate endpoint
2018-03-23 09:22:18 -07:00
Andy Xie
5e1b44b196
add check for cpu cfs bandwidth in validate endpoint
2018-03-23 17:47:21 +08:00
David Ashpole
189f5b941e
Merge pull request #1908 from IvanVlasic/statsd-memory-rss
...
Add memory rss to statsd storage
2018-03-20 09:30:04 -07:00
Ivan Vlašić
030e82a9f9
Add memory rss to statsd storage
2018-03-20 15:03:22 +01:00
David Ashpole
436d75ce8d
fix #1902 bug with retryDockerStatus ( #1903 )
2018-03-14 16:58:57 -07:00
nielsole
08f0c2397c
Adding /proc/<pid>/schedstat ( #1872 )
...
Add /proc/<pid>/schedstat metrics for scheduler metrics
2018-03-08 09:27:06 -08:00
David Ashpole
b817801307
Merge pull request #1894 from Random-Liu/avoid-containerd-race
...
Use backoff to tolerant race condition with containerd.
2018-02-23 14:23:09 -08:00
Lantao Liu
d5ee05fc25
Use backoff to tolerant race condition.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-23 22:04:35 +00:00
David Ashpole
8ec51bb848
Merge pull request #1887 from dashpole/refactor
...
Refactor handlers to move common code to libcontainer handler
2018-02-21 09:01:06 -08:00
David Ashpole
e1d602d7af
create libcontainer handler for common code
2018-02-21 08:53:42 -08:00
David Ashpole
c094ef0d2a
Merge pull request #1859 from andyxning/reduce_labels_for_container_info
...
reduce labels for container info
2018-02-21 08:33:17 -08:00
David Ashpole
aaaa65dba0
Merge pull request #1893 from dashpole/changelog_v0.29
...
changelog for v0.29.0
2018-02-20 14:57:56 -08:00
David Ashpole
b9761a74ff
changelog for v0.29.0
2018-02-20 14:32:30 -08:00
David Ashpole
3a4fae2b3f
Merge pull request #1888 from dashpole/test_doc
...
Add node-e2e based testing instructinos
2018-02-20 08:47:48 -08:00
David Ashpole
6ab10fe433
Merge pull request #1852 from bboreham/prom-total-cpu
...
Add Prometheus total CPU metric and allow per-cpu stats to be disabled
2018-02-20 08:47:26 -08:00
Bryan Boreham
ec6da3acae
Prometheus metrics: optionally export total CPU instead of per-CPU
...
Per-CPU stats are more expensive to transport and store, and that
level of detail is not required in many cases.
We export overall total cpu in the same metric as per-cpu, so that
dashboards which previously summed over cpu will work identically.
2018-02-20 13:58:44 +00:00
David Ashpole
6116f26530
Merge pull request #1882 from dashpole/overlay_upper
...
monitor only the upper directory for overlay
2018-02-08 11:18:43 -08:00
David Ashpole
eb15723cb0
Merge pull request #1886 from miaoyq/singleton-client
...
All handlers of containerd containers share a single client instance
2018-02-08 10:46:41 -08:00
David Ashpole
c13b7bb544
add node-e2e based testing instructinos
2018-02-08 10:45:55 -08:00