Commit Graph

2717 Commits

Author SHA1 Message Date
Davanum Srinivas
74bd4f1516
Support for vfs driver
Gives us the ability to run tests on Docker macOS

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-06 19:50:04 -04:00
David Ashpole
069f7e7eb6
Merge pull request #2471 from katarzyna-z/kk-fix-cpus-without-nodes
Fix getting CPU topology
2020-04-06 16:24:10 -07:00
David Ashpole
59157600ab
Merge pull request #2472 from tedyu/crio-dial
Replace deprecated Dial call
2020-04-06 11:36:29 -07:00
Ted Yu
17df9a9313 Replace deprecated Dial call
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-06 09:38:48 -07:00
Katarzyna Kujawa
6536a6c35e Fix number of logical CPU cores when nodes are not available
Add reading CPU topology without nodes

Add test for reading CPU topology without nodes

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-04-06 17:42:24 +02:00
David Ashpole
d16bbe88c6
Merge pull request #2467 from tedyu/cad-dual-stack
Populate IP address for cri-o release with dual stack support
2020-04-06 08:34:03 -07:00
David Ashpole
16ebc4c053
Merge pull request #2461 from tedyu/crio-client-once
Construct crio client once
2020-04-03 20:24:35 -07:00
Ted Yu
ab40025d40 Populate IP address for cri-o release with dual stack support
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-03 17:27:34 -07:00
Ted Yu
4273303203 Construct crio client once
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-03 17:09:18 -07:00
David Ashpole
e21d71c584
Merge pull request #2460 from tedyu/crio-client-err
CRI-O client should check Unix Transport error
2020-04-03 13:25:16 -07:00
Katarzyna Kujawa
921d0824c4
Extending Prometheus metrics by hardware metrics (#2444)
* Extending Prometheus metrics by hardware metrics:
- machine_cpu_physical_cores
- machine_cpu_sockets
- machine_dimm_capacity_bytes
- machine_dimm_count
- machine_nvm_capacity

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-04-02 11:43:47 -07:00
Ted Yu
407d228639 CRI-O client should check Unix Transport error
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-02 09:02:41 -07:00
David Ashpole
e0c7caafcc
Merge pull request #2458 from iwankgb/nvm_segmentation_fault
Workaround for not being able to call nvm_init() after nvm_uninit()
2020-04-01 11:00:13 -07:00
Maciej "Iwan" Iwanowski
73126c00fa
Removing commented out code and certain other artifacts
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-01 19:45:48 +02:00
Maciej "Iwan" Iwanowski
dcb53e03d5
Workaround for not being able to call nvm_init() after nvm_uninit()
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-01 19:33:08 +02:00
David Ashpole
88f3ad8715
Merge pull request #2445 from dims/remove-unused-code
Cleanup unused code
2020-04-01 09:25:14 -07:00
David Ashpole
fd3fca4f5f
Merge pull request #2454 from saschagrunert/runtime-spec
Update runtime-spec to v1.0.2
2020-03-30 09:20:05 -07:00
Sascha Grunert
8ecf87ddb5
Update runtime-spec to v1.0.2
Update runtime-spec to the latest official release and run `make tidy`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-03-30 09:07:28 +02:00
David Ashpole
fcf32767e1
Merge pull request #2449 from dashpole/lower_summary_log
lower logging verbosity for summary reader creation failure
2020-03-25 10:50:56 -07:00
David Ashpole
1f05bd7929
Merge pull request #2450 from dims/update-to-released-tags-of-containerd-projects
update to released tags of containerd/ projects
2020-03-25 10:23:04 -07:00
Davanum Srinivas
ba815311f7
update to released tags of containerd/ projects
No change in SHA, same existing SHA now has a v1.0.0 tag

- 8375c3424e
- 92c8520ef9
- a93fcdb778

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-25 13:10:50 -04:00
David Ashpole
1794d1d707 lower logging verbosity for summary reader creation failure 2020-03-25 10:05:50 -07:00
David Ashpole
2bffd50148
Merge pull request #2446 from dims/move-to-newer-k8s.io-utils-for-inotify
Move to newer k8s.io/utils
2020-03-24 15:20:01 -07:00
Davanum Srinivas
120a062049
Move to newer k8s.io/utils
Pick up changes in:
a905ae5f52ca711453609d0decaa2e2fa318e829

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-24 18:08:43 -04:00
Davanum Srinivas
af89abfc29
Cleanup unused code
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-24 15:41:02 -04:00
David Ashpole
8016f8ba96
update cAdvisor args to match kubelet. 2020-03-23 11:43:50 -07:00
David Ashpole
8af10c683a
Merge pull request #2437 from liggitt/isolate
isolate binary dependencies from library dependencies
2020-03-23 10:15:35 -07:00
Jordan Liggitt
c22edbcc7d Move api, http, healthz, pages to cmd/internal 2020-03-23 16:48:40 +00:00
Jordan Liggitt
9b7fcb5801 Add github.com/google/cadvisor/cmd module 2020-03-23 16:48:40 +00:00
Jordan Liggitt
855ad76125 Move storage, mesos, global container integrations under cmd/internal 2020-03-23 16:48:40 +00:00
David Ashpole
23c546601b
Merge pull request #2441 from dims/avoid-logging-unnecessary-errors-from-systemd-handler
Avoid logging unnecessary errors from systemd handler
2020-03-23 09:33:15 -07:00
Davanum Srinivas
a0ee89398d
Avoid logging unnecessary errors from systemd handler
Just turn the message into a log that folks can see if they turn up the
logging level.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-03-22 17:24:39 -04:00
Jordan Liggitt
d4cce1c12a Add tidy task 2020-03-21 00:49:05 -04:00
Jordan Liggitt
add591d77c Move main package to cmd subdir 2020-03-21 00:49:05 -04:00
David Ashpole
649c1bb863
Merge pull request #2439 from liggitt/isolate-bindata
Build go-bindata in a tmpdir
2020-03-20 19:30:07 -07:00
David Ashpole
048152b155
Merge pull request #2438 from liggitt/isolate-vendor
Drop vendor dir in favor of module builds
2020-03-20 19:29:22 -07:00
Jordan Liggitt
001f81e3b3 Build go-bindata in a tmpdir 2020-03-20 18:48:33 -04:00
Jordan Liggitt
4b5f048039 Drop vendor dir in favor of module builds 2020-03-20 18:47:12 -04:00
Kiel Chan
6ef5a842ab
support to expose environments with prefix specified (#2430)
* support to expose envs with prefix specified
2020-03-20 10:05:00 -07:00
David Ashpole
355e946b65
Merge pull request #2390 from zhsj/bump-prom
Bump github.com/prometheus/client_golang and related
2020-03-20 09:40:24 -07:00
David Ashpole
fdeff475ca
Merge pull request #2434 from katarzyna-z/kk-fix-type-nvm-info
Fix typos related to NVMinfo struct and GetMachineMemoryByType function
2020-03-20 09:28:25 -07:00
Shengjing Zhu
3b75b98f8f Bump github.com/prometheus/client_golang and related
+ github.com/prometheus/client_golang v0.9.1 -> v1.0.0
+ github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 -> v0.2.0
+ github.com/prometheus/common v0.0.0-20170220103846-49fee292b27b -> v0.4.1

Sync with the version used in k8s.
Other changes in go.mod is caused by `go mod tidy`
2020-03-20 21:59:21 +08:00
sulixu
b71d99e0ea
Add hugetlb stats (#2420)
* add hugetlb stats, disabled by default
2020-03-19 22:53:59 -07:00
David Ashpole
57937c9933
Merge pull request #2427 from katarzyna-z/kk_machine_api_numa_nodes
Modify GetTopology to read information only from sysfs
2020-03-19 22:44:04 -07:00
Katarzyna Kujawa
22a367d96f Fix typos related to NVMinfo struct and GetMachineMemoryByType function
Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-03-19 09:29:09 +01:00
Katarzyna Kujawa
e62441a65a
Extending machine API by NVM memory mode capacity (#2431)
* Extending machine API by NVM memory and app direct mode capacity

Signed-off-by: Katarzyna Kujawa <katarzyna.kujawa@intel.com>
2020-03-18 08:57:25 -07:00
David Ashpole
59bc6fe2c4
Merge pull request #2432 from iwankgb/stats_interfaces
Moving Nvidia interfaces
2020-03-17 12:00:11 -07:00
Maciej "Iwan" Iwanowski
8de9dfb4b6
Imports should be grouped
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-17 19:42:29 +01:00
Maciej "Iwan" Iwanowski
89f15cb833
Not exposing Nvidia collector outside accelerators package
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-17 12:10:57 +01:00
Maciej "Iwan" Iwanowski
adf41ba206
Moving Nvidia interfaces to stats package so that they can be used outside of the accelerators package
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-17 11:19:19 +01:00