From 80afba15eeacba09538e9312aa8bf8a8c8b5f283 Mon Sep 17 00:00:00 2001 From: "wangyongchao.bj" Date: Fri, 30 Jul 2021 09:32:29 +0800 Subject: [PATCH] docs: update kata deploy README doc to add cloud-hypervisor test command Kata deploy README document only contains Firecracker and Qemu. This PR adds cloud-hypervisor test command to the README.md file. Fixes: #2357 Signed-off-by: wangyongchao.bj --- tools/packaging/kata-deploy/README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/packaging/kata-deploy/README.md b/tools/packaging/kata-deploy/README.md index cc09ea31b7..9735957756 100644 --- a/tools/packaging/kata-deploy/README.md +++ b/tools/packaging/kata-deploy/README.md @@ -73,11 +73,11 @@ spec: runtimeClassName: kata-qemu ``` -To run an example with `kata-qemu`: +To run an example with `kata-clh`: ```sh $ cd $GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata-deploy/examples -$ kubectl apply -f test-deploy-kata-qemu.yaml +$ kubectl apply -f test-deploy-kata-clh.yaml ``` To run an example with `kata-fc`: @@ -87,12 +87,20 @@ $ cd $GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata $ kubectl apply -f test-deploy-kata-fc.yaml ``` +To run an example with `kata-qemu`: + +```sh +$ cd $GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata-deploy/examples +$ kubectl apply -f test-deploy-kata-qemu.yaml +``` + The following removes the test pods: ```sh $ cd $GOPATH/src/github.com/kata-containers/kata-containers/tools/packaging/kata-deploy/examples -$ kubectl delete -f test-deploy-kata-qemu.yaml +$ kubectl delete -f test-deploy-kata-clh.yaml $ kubectl delete -f test-deploy-kata-fc.yaml +$ kubectl delete -f test-deploy-kata-qemu.yaml ``` ### Remove Kata from the Kubernetes cluster