mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-21 13:08:00 +00:00
Merge pull request #627 from YchauWang/2.0-dev
docs: Update the doc for minikube installing kata
This commit is contained in:
commit
677c87d248
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user