docs: update the docs for minikube installing kata

The command for intalling kata in minikube still keeping the old path of
the packaging project from the 1.x branch. This commit changed the path
of the packaging's files to 2.0-dev branch.

Fixes: #619

Signed-off-by: Ychau Wang <wangyongchao.bj@inspur.com>
This commit is contained in:
Ychau Wang 2020-08-27 17:53:49 +08:00
parent 00bd04f923
commit 11e8a49410

View File

@ -126,10 +126,10 @@ Containers components to help with this, and then use `kubectl` on the host (tha
configured for you) to deploy them: configured for you) to deploy them:
```sh ```sh
$ git clone https://github.com/kata-containers/packaging.git $ git clone https://github.com/kata-containers/kata-containers.git
$ cd packaging/kata-deploy $ cd kata-containers/tools/packaging/kata-deploy
$ kubectl apply -f kata-rbac.yaml $ kubectl apply -f kata-rbac/base/kata-rbac.yaml
$ kubectl apply -f kata-deploy.yaml $ kubectl apply -f kata-deploy/base/kata-deploy.yaml
``` ```
This installs the Kata Containers components into `/opt/kata` inside the Minikube node. It can take This installs the Kata Containers components into `/opt/kata` inside the Minikube node. It can take
@ -166,7 +166,7 @@ $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/node-api/master/
Now register the `kata qemu` runtime with that class. This should result in no errors: Now register the `kata qemu` runtime with that class. This should result in no errors:
```sh ```sh
$ cd packaging/kata-deploy/k8s-1.14 $ cd kata-containers/tools/packaging/kata-deploy/k8s-1.14
$ kubectl apply -f kata-qemu-runtimeClass.yaml $ kubectl apply -f kata-qemu-runtimeClass.yaml
``` ```
@ -187,7 +187,7 @@ for more details.
Perform the following action to launch a Kata Containers based Apache PHP pod: Perform the following action to launch a Kata Containers based Apache PHP pod:
```sh ```sh
$ cd packaging/kata-deploy/examples $ cd kata-containers/tools/packaging/kata-deploy/examples
$ kubectl apply -f test-deploy-kata-qemu.yaml $ kubectl apply -f test-deploy-kata-qemu.yaml
``` ```