-
Notifications
You must be signed in to change notification settings - Fork 374
Implement containerd shim v2 API for Kata Containers #572
Conversation
PSS Measurement: Memory inside container: |
Build succeeded (third-party-check pipeline).
|
PSS Measurement: Memory inside container: |
There are maybe more than one containers in a sandbox, thus it's needed to cleanup all of those containers' mount and id mapping files when do cleanup a sandbox. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
Build succeeded (third-party-check pipeline).
|
PSS Measurement: Memory inside container: |
There are maybe more than one containers in a sandbox, thus it's needed to cleanup all of those containers' mount and id mapping files when do cleanup a sandbox. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
PSS Measurement: Memory inside container: |
Build succeeded (third-party-check pipeline).
|
Removed some unused variables and retuned some if/else code style. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
PSS Measurement: Memory inside container: |
Build succeeded (third-party-check pipeline).
|
Hi @lifupan - thanks for raising! This is clearly a very large PR. I'm not sure I'll be able to review it today but will review on Monday if not. |
@lifupan Thanks for submitting the implementation of Kata for containerd-shim-v2!
Could you please work with @chavafg and @GabyCT in order to introduce more testing to our CI, because I want to make sure we get no regression regarding your implementation once it gets merged. |
@sboeuf Sure, no problem. |
Removed some unused variables and retuned some if/else code style, at the same time, do not export those functions and variables which will not used out this module. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
PSS Measurement: Memory inside container: |
Removed some unused variables and retuned some if/else code style, at the same time, do not export those functions and variables which will not used out this module. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
PSS Measurement: Memory inside container: |
Removed some unused variables and retuned some if/else code style, at the same time, do not export those functions and variables which will not used out this module. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
PSS Measurement: Memory inside container: |
Removed some unused variables and retuned some if/else code style, at the same time, do not export those functions and variables which will not used out this module. Fixes: kata-containers#572 Signed-off-by: fupan <[email protected]>
Build failed (third-party-check pipeline) integration testing with
|
Add the Wait api to wait on a started container or exec process. Signed-off-by: fupan <[email protected]>
Add the State api support to get a container or exec process's states. Signed-off-by: fupan <[email protected]>
Add the Delete api support to delete a stopped container or pod. Signed-off-by: fupan <[email protected]>
Add the Cleanup api support to cleanup the pod and containers running in it when the pod's corresponding shim died. Signed-off-by: fupan <[email protected]>
Add the Pids api support to get the processes pids running in the pod. Signed-off-by: fupan <[email protected]>
Add the CloseIO api support to close a process's input stream. Signed-off-by: fupan <[email protected]>
Add the Connect api to get the shim's info. Signed-off-by: fupan <[email protected]>
Add the Shutdown api support to shutdown the shim. Signed-off-by: fupan <[email protected]>
Add the Update api support to update a running process's resouce. Signed-off-by: fupan <[email protected]>
Add the ResizePty api support to resize the console. Signed-off-by: ZeroMagic <[email protected]>
Add the Pause api support to pause a container running in the pod. Signed-off-by: ZeroMagic <[email protected]>
Add the Resume api support to resume a paused container. Signed-off-by: ZeroMagic <[email protected]>
Add the Kill api support to send signal to a given container process. Signed-off-by: ZeroMagic <[email protected]> Signed-off-by: fupan.li <[email protected]>
Add the Stats api support to get the container's resouces statistic. Signed-off-by: ZeroMagic <[email protected]>
Add unit test cases. Signed-off-by: fupan <[email protected]>
Add the Makefile target of building shimv2. Fixes: kata-containers#485 Signed-off-by: fupan <[email protected]>
/test |
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.
Here we go!!! Let merge this PR :)
Finally merged, Time to have a beer @lifupan |
…branch-bump # Kata Containers 1.8.0-alpha0
This is the init code of containerd shim v2 for kata containers, and I had done the general
test with the containerd's client command ctr and cri's crictl, both of them worked well.
Fixes #485