cli :Implement events command#299
cli :Implement events command#299bergwolf merged 2 commits intokata-containers:masterfrom jshachm:implement-events-command
Conversation
This new version of kata-agent brings support for stats of a certain container Short logs: 077e6f9 grpc : Add the StatsContainer api for `events cli` d29bf53 block: Get rid of device prediction for Storage as well 3b565ad block: Use PCI address to determine block device name Signed-off-by: Haomin <caihaomin@huawei.com>
|
@jodh-intel thx. Working on fix lint error. Issues will be raised later ~ |
|
@jodh-intel But I think I still need to add tests file like Will update these later~ |
|
Thanks @jshachm! |
Codecov Report
@@ Coverage Diff @@
## master #299 +/- ##
==========================================
- Coverage 64.35% 63.87% -0.48%
==========================================
Files 86 87 +1
Lines 8469 8620 +151
==========================================
+ Hits 5450 5506 +56
- Misses 2441 2530 +89
- Partials 578 584 +6
Continue to review full report at Codecov.
|
|
working on fixing codecov and add some other tests.Once get it done, I think it should be ready to review. |
|
PTAL tests have been added~ |
| KillContainer(sandboxID, containerID string, signal syscall.Signal, all bool) error | ||
| StartContainer(sandboxID, containerID string) (VCContainer, error) | ||
| StatusContainer(sandboxID, containerID string) (ContainerStatus, error) | ||
| StatsContainer(sandboxID, containerID string) (ContainerStats, error) |
There was a problem hiding this comment.
Can you please make this part of the VCSandbox interface and let VC.StatsContainer be a wrapper of it, like we did for the other sandbox APIs?
|
@bergwolf |
|
LGTM. Thanks @jshachm! |
|
@bergwolf thanks |
Events cli display container events such as cpu, memory, and IO usage statistics. By now OOM notifications and intel RDT are not fully supproted. Fixes: #186 Signed-off-by: Haomin <caihaomin@huawei.com>
|
@jodh-intel @bergwolf CI is happy now. Ready to merge~ thx |
channel: support communication channel hotplug
Events cli display container events such as cpu,memory, and IO usage statistics.
By now OOM notifications are not fully supproted.
Fixes : #186