From a919a310953c241126bbd66eac2c59ebd960259f Mon Sep 17 00:00:00 2001 From: Liu Xiaodong Date: Thu, 2 Apr 2020 21:52:13 -0400 Subject: [PATCH] docs: add kata-with-spdk into containers Add section about how to run Kata containers with SPDK vhost target into docs/containers. vhost-user-blk related patchset was already merged into Kata containers, and was released from version 1.11.0-alpha1. Change-Id: Iacc216d67e1531432512ead8fefa70954578bd9b Signed-off-by: Liu Xiaodong Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1663 Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Shuhei Matsumoto Reviewed-by: Tomasz Zawadzki Reviewed-by: Paul Luse --- doc/containers.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/containers.md b/doc/containers.md index 3b472674b..322350c1f 100644 --- a/doc/containers.md +++ b/doc/containers.md @@ -6,8 +6,23 @@ here. # In this document {#containers_toc} +* @ref kata_containers_with_spdk_vhost * @ref spdk_in_docker +# Using SPDK vhost target to provide volume service to Kata Containers and Docker {#kata_containers_with_spdk_vhost} + +[Kata Containers](https://katacontainers.io) can build a secure container +runtime with lightweight virtual machines that feel and perform like +containers, but provide stronger workload isolation using hardware +virtualization technology as a second layer of defense. + +From Kata Containers [1.11.0-alpha1](https://github.com/kata-containers/runtime/releases/tag/1.11.0-alpha1), +vhost-user-blk support is enabled in `kata-containers/runtime`. That is to say +SPDK vhost target can be used to provide volume service to Kata Containers directly. +In addition, a container manager like Docker, can be configured easily to launch +a Kata container with an SPDK vhost-user block device. For operating details, visit +Kata containers use-case [Setup to run SPDK vhost-user devices with Kata Containers and Docker](https://github.com/kata-containers/documentation/blob/master/use-cases/using-SPDK-vhostuser-and-kata.md#host-setup-for-vhost-user-devices) + # Containerizing an SPDK Application for Docker {#spdk_in_docker} There are no SPDK specific changes needed to run an SPDK based application in