David Ashpole
e35a0d574a
Merge pull request #2456 from lubinszARM/pr_cacheinfo
...
Issue fix: get wrong machine info on Arm64 guest
2020-04-09 09:03:52 -07:00
bblu
7f1ea45122
Issue fix: get wrong machine info in Arm64 guest
...
The latest kubernetes deployment on Arm64 VM-s always fails.
Because k8s always get num_cores=0 from cAdvisor on Arm64 VM-s.
The reason is that, there is no cache info on Arm64 VM-s.
And the good news is that, we can get cache info on Arm64 hosts.
When this patch was merged, I will deliver a patch to update the version
of cAdvisor in kubernetes as soon as possible.
Signed-off-by: bblu <bin.lu@arm.com>
2020-04-09 14:01:45 +08:00
David Ashpole
ebfe3ce776
Merge pull request #2475 from giuseppe/fix-assets
...
cmd: fix path for assets
2020-04-08 10:19:35 -07:00
David Ashpole
12190a2d2a
Merge pull request #2476 from iwankgb/using_value_before_checking_for_error
...
Returning error before using value
2020-04-08 09:58:46 -07:00
Maciej "Iwan" Iwanowski
3342050493
Returning error before using value
...
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-04-08 17:04:36 +02:00
Giuseppe Scrivano
a319876023
cmd: fix path for assets
...
commit c22edbcc7d
moved the files under
cmd/internal.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-04-08 09:26:22 +02:00
David Ashpole
7f840ac879
Merge pull request #2331 from saschagrunert/crio-drivers
...
Update CRI-O storage driver support
2020-04-07 09:26:35 -07:00
David Ashpole
f41d71fa3f
Merge pull request #2474 from tedyu/cpu-package-id
...
Check the error return from GetCPUPhysicalPackageID()
2020-04-07 09:24:19 -07:00
Ted Yu
f6e5433e67
Check the error return from GetCPUPhysicalPackageID()
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-04-06 16:50:53 -07: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