clearcontainers / runtime

OCI (Open Containers Initiative) compatible runtime using Virtual Machines
Apache License 2.0
589 stars 70 forks source link

vendor: Revendor virtcontainers to include Kata Containers support #947

Closed sameo closed 6 years ago

sameo commented 6 years ago

This virtcontainers revendoring brings initial support for the Kata Containers shim, proxy and agent components. With that new code included cc-runtime can be used to create, start, run and list containers with the Kata components.

Shortlog

5da67c9 kata_proxy: Regenerate the proxy URL when needed 5a12655 kata_agent: Parse the OCI command properly 643aeb5 agent: Increas unit testing coverage 5e78fac container: Pass the command to startShim e747236 api: Store the pod when it's completely created 42f622b pod: Register pod against proxy c03bd2f pod: Simplify container creation routines 17518a9 container: Rename createShimProcess b404961 container: Let the agent implementations start the shims c78954f pod: Wait for the VM and start the pod in startVM f67f447 pod: Rename doFetchPod 0d794ca shim: Carry the info about terminal 03a08e1 vendor: Update kata agent vendoring 6bd535a kata_agent: Constraints the OCI spec 6b8935f vendor: Add cri-containerd annotations to vendor dir fec607f cri: Add support for cri-contaienrd pod annotations 940a13e logging: Set source field for oci and hyperstart packages 579639b kata_proxy: Fetch guest agent logs when in debug mode 5fc2656 kata_agent: Replace OCI mounts source paths 7840481 mount: Pass guest shared dir to create the guest mounts 81c9ec3 mount: Add type and options fields e716658 qemu: Shut the nesting env check debug d488ca0 kata_proxy_test: Fix kata proxy unit tests 91633aa kata_proxy: Check the agent interface before dereferencing it 9aeb502 container: Create container before starting it 3fec78b kata_agent: Do not share the sandbox PID ns 8af573f kata_proxy: Kill the proxy once we unregister the VM 2ebad33 kata_agent: Unmount container rootfs when container is stopped 852f601 kata_agent: Add exec IDs for exec and create container 45c9cfd kata_agent: Fix the guest rootfs OCI path cc469f5 kata_agent: Add logrus based logger 5a34447 kata_agent: Use the correct serial channel name 9ca6126 kata_proxy: Implement all interface ops b8ac6b6 kata_agent: Build and store the default gRPC socket

Signed-off-by: Samuel Ortiz sameo@linux.intel.com

clearcontainersbot commented 6 years ago

kubernetes qa-passed 👍

sboeuf commented 6 years ago

LGTM

Approved with PullApprove

clearcontainersbot commented 6 years ago

kubernetes qa-passed 👍

clearcontainersbot commented 6 years ago

kubernetes qa-passed 👍

sameo commented 6 years ago

Coveralls is stuck again, but seems to be happy about that one...Merging.