Tiago Augusto Pimenta
d12c7d56fa
Merge branch 'master' into master
2018-12-04 15:18:12 -03:00
David Ashpole
a058406b24
Merge pull request #2120 from ElfoLiNk/missing-curl
...
Missing curl for health check
2018-12-04 09:55:39 -08:00
David Ashpole
27baaca114
Merge pull request #2117 from tghosgor/master
...
added --uri_base_prefix option (#2018 )
2018-12-04 09:55:14 -08:00
Matteo Gazzetta
20826a5875
Missing curl for health check
2018-12-04 09:02:59 +01:00
Tolga HOSGOR
8018ee104b
added --url_base_prefix option ( #2018 )
...
Some reverse proxies do not support overriding 'Location' header
in 3xx responses. This commit adds a --url_base_prefix option
that adds a prefix to all URLs of cAdvisor so that
redirects go to the correct places.
2018-12-04 09:41:51 +03:00
Matteo Gazzetta
df781efe0b
Dockerfile Healthcheck ( #1950 )
...
Add HEALTHCHECK to Dockerfile
2018-12-03 13:56:07 -08:00
Tiago Augusto Pimenta
d617a436fc
Removing external glibc dependency
2018-11-30 20:46:00 -02:00
David Ashpole
cf21050b59
Merge pull request #2101 from dashpole/gpu_privilages
...
Add example kustomization which gives cAdvisor access to NVML
2018-11-21 10:06:29 -08:00
David Ashpole
a7b2864a7b
add example kustomization which gives cAdvisor access to NVML
2018-11-21 09:59:06 -08:00
David Ashpole
8949c822ea
Merge pull request #2099 from dashpole/changelog_v0.32.0
...
Changelog for v0.32.0
2018-11-12 13:55:08 -08:00
David Ashpole
5960dd2e2b
changelog for v0.32.0
2018-11-12 13:45:17 -08:00
David Ashpole
4c77cd7d7f
Merge pull request #2097 from dashpole/remove_unused_method
...
Remove unused interface method
2018-11-09 09:51:31 -08:00
David Ashpole
e4d403193f
remove unused interface method
2018-11-09 09:29:26 -08:00
David Ashpole
e310755a36
Merge pull request #2091 from dims/move-from-glog-to-klog
...
Move from glog to klog
2018-11-08 15:25:47 -08:00
Davanum Srinivas
4da6d809be
Move from glog to klog
...
Change-Id: Ic92f57c2d7f268d8d985797974883c1a537d6993
2018-11-08 18:06:28 -05:00
David Ashpole
13e3e833a3
Merge pull request #2094 from orisano/fix-unwrap-error
...
fix: unwrap error for os.IsNotExist
2018-11-07 12:28:27 -08:00
Nao YONASHIRO
3d284e19eb
fix: unwrap error for os.IsNotExist
2018-11-07 15:01:18 +09:00
David Ashpole
84e52259f6
Merge pull request #2093 from sashankreddya/cache_process_metrics
...
Cache process metrics
2018-11-06 13:38:55 -08:00
Sashank Appireddy
da29418c31
cache process metrics
2018-11-06 13:29:14 -08:00
David Ashpole
48605ecb89
Merge pull request #2085 from orisano/master
...
improve ListDirectories performance
2018-11-06 09:48:51 -08:00
David Ashpole
ac9f64682a
Merge pull request #2090 from sigma/pr/fix-licensing
...
update github.com/sigma/go-inotify
2018-11-02 15:53:43 -07:00
Yann Hodique
d06e601f3e
update github.com/sigma/go-inotify
...
This includes license/patents files for proper integration into kubernetes.
See context in sigma/go-inotify#1
2018-11-02 15:20:02 -07:00
Nao YONASHIRO
2300be56d7
feat: use karrick/godirwalk
2018-11-02 08:22:42 +09:00
David Ashpole
8faf190927
Merge pull request #2069 from sashankreddya/process_fd_metrics
...
Emit number of processes and file descriptors of a container
2018-11-01 10:23:05 -07:00
Sashank Appireddy
02ecf721f5
Emit number of processes and file descriptors of a container
2018-10-29 16:55:34 -07:00
Sashank Appireddy
026bc840e1
Merge remote-tracking branch 'upstream/master'
2018-10-29 16:54:40 -07:00
David Ashpole
32b5c68765
Merge pull request #2081 from dashpole/go_1.11
...
Update formatting for go 1.11
2018-10-29 11:25:09 -07:00
David Ashpole
d44ade2927
make formatting compatible with 1.11, and revert #2056
2018-10-23 11:28:14 -07:00
Sashank Appireddy
d0df79e237
Merge remote-tracking branch 'upstream/master'
2018-10-22 11:57:22 -07:00
Yann Hodique
d8cdae8022
replace golang.org/x/exp/inotify with standalone library
...
context: kubernetes/kubernetes#68478
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.
Given that this code is by definition frozen and that the long term path should
be to migrate to fsnotify, replacing the current code by an identical standalone
copy doesn't have maintenance cost, and will unlock other activities for
kubernetes for example.
2018-10-22 11:53:17 -07:00
David Ashpole
c5510abcd7
Merge pull request #2060 from sigma/pr/inotify
...
replace golang.org/x/exp/inotify with standalone library
2018-10-19 15:35:21 -07:00
David Ashpole
43a86a3cb9
Merge pull request #2063 from Omnition/selector
...
Add required selector option to daemonset
2018-10-04 15:22:45 -07:00
Steve Flanders
614478fd5f
Add required selector option to daemonset
...
Fixes #2062
2018-10-04 14:44:38 -07:00
David Ashpole
49e7c7ead4
Merge pull request #2058 from warmchang/patch-1
...
fix spelling errors
2018-10-03 14:03:36 -07:00
Yann Hodique
289e560efd
replace golang.org/x/exp/inotify with standalone library
...
context: kubernetes/kubernetes#68478
The inotify code was removed from golang.org/x/exp several years ago. Therefore
importing it from that path prevents downstream consumers from using any module
that makes use of more recent features of golang.org/x/exp.
Given that this code is by definition frozen and that the long term path should
be to migrate to fsnotify, replacing the current code by an identical standalone
copy doesn't have maintenance cost, and will unlock other activities for
kubernetes for example.
2018-09-28 08:48:12 -07:00
William Zhang
7961198a0c
fix spelling errors
...
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2018-09-28 15:49:25 +08:00
David Ashpole
e7c0798314
Merge pull request #2055 from dims/avoid-too-many-errors-when-mesos-is-absent
...
Avoid too many mesos errors in logs when mesos is not present
2018-09-26 15:36:21 -07:00
David Ashpole
f633448066
Merge pull request #2054 from sashankreddya/rename_memory_failure_label
...
Rename extraLabel "type" to "failure_type" for memory_failures_total
2018-09-26 14:53:55 -07:00
David Ashpole
9ab298228a
Merge pull request #2056 from dashpole/fix_build
...
Use go1.10 for canary builds
2018-09-26 14:50:10 -07:00
David Ashpole
34427f02be
use go1.10 to build the canary image
2018-09-26 14:41:06 -07:00
Davanum Srinivas
344f728393
Avoid too many mesos errors in logs when mesos is not present
...
We see a lot of logs in k/k CI as follows:
"Factory "mesos" was unable to handle container "/system.slice/home-kubernetes-containerized_mounter.mount"
It would be better if we do some sanity check for mesos running before
we try to use it.
Change-Id: I5f6ebcd44fdd4f8d724b85857edf1600473ef1ab
2018-09-26 16:41:32 -04:00
Sashank Appireddy
e98f28b7c0
Rename extraLabel "type" to "failure_type" for memory_failures_total
2018-09-26 18:25:54 +00:00
David Ashpole
be9cd931d7
Merge pull request #2044 from sashankreddya/sashank_mesos_containers_fix
...
Ensure that empty mesos containers reference as a failure to fetch containers
2018-09-18 16:13:36 -07:00
Sashank Appireddy
ec4f24ebd4
Ensure that empty mesos containers reference as a failure to fetch containers
2018-09-14 15:31:50 +05:30
Yann Hodique
b36e6fb63a
fix minor errors revealed by go 1.11 ( #2039 )
...
minor fixes for go 1.11
2018-09-10 13:49:37 -07:00
David Ashpole
fc17731afd
Merge pull request #2038 from dashpole/v0.31.0_changelog
...
v0.31.0 changelog
2018-09-07 16:04:42 -07:00
David Ashpole
fd409228c1
v0.31.0 changelog
2018-09-07 14:35:19 -07:00
Mikhail Shaverdo
fcc77c654b
Get rid of lock during list containers ( #2024 )
...
* Get rid of lock during list containers
2018-08-29 13:06:28 -07:00
David Ashpole
2fa6c624a2
Merge pull request #2034 from usabilla/mapped_file
...
Adds mapped_file metric
2018-08-29 10:25:29 -07:00
Gijs Kunze
8a789bb1cd
Adds missing documentation for container_memory_mapped_files
2018-08-29 10:05:28 +02:00