-
Notifications
You must be signed in to change notification settings - Fork 374
cli :Implement events command #299
cli :Implement events command #299
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 <[email protected]>
@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~ |
@@ -34,6 +34,7 @@ type VC interface { | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bergwolf Got it~ On the way to fix it
@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 <[email protected]>
@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