mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
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:
parent
00bd04f923
commit
11e8a49410
@ -126,10 +126,10 @@ Containers components to help with this, and then use `kubectl` on the host (tha
|
||||
configured for you) to deploy them:
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/kata-containers/packaging.git
|
||||
$ cd packaging/kata-deploy
|
||||
$ kubectl apply -f kata-rbac.yaml
|
||||
$ kubectl apply -f kata-deploy.yaml
|
||||
$ git clone https://github.com/kata-containers/kata-containers.git
|
||||
$ cd kata-containers/tools/packaging/kata-deploy
|
||||
$ kubectl apply -f kata-rbac/base/kata-rbac.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
|
||||
@ -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:
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
@ -187,7 +187,7 @@ for more details.
|
||||
Perform the following action to launch a Kata Containers based Apache PHP pod:
|
||||
|
||||
```sh
|
||||
$ cd packaging/kata-deploy/examples
|
||||
$ cd kata-containers/tools/packaging/kata-deploy/examples
|
||||
$ kubectl apply -f test-deploy-kata-qemu.yaml
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user