Merge pull request #2358 from YchauWang/wyc-deploy-test

docs: update kata deploy README doc to add cloud-hypervisor test command
This commit is contained in:
Samuel Ortiz 2021-08-03 10:55:13 +02:00 committed by GitHub
commit 0a2e2c6038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,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`:
@ -77,12 +77,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