mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
docs: remove old and misleading instructions for minikube
Some instructions are old, delete them to prevent misleading. Fixes: #5942 Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
parent
0cf443a612
commit
b4b5d8150e
@ -71,12 +71,6 @@ To use containerd, modify the `--container-runtime` argument:
|
|||||||
> **Notes:**
|
> **Notes:**
|
||||||
> - Adjust the `--memory 6144` line to suit your environment and requirements. Kata Containers default to
|
> - Adjust the `--memory 6144` line to suit your environment and requirements. Kata Containers default to
|
||||||
> requesting 2048MB per container. We recommended you supply more than that to the Minikube node.
|
> requesting 2048MB per container. We recommended you supply more than that to the Minikube node.
|
||||||
> - Prior to Minikube/Kubernetes v1.14, the beta `RuntimeClass` feature also needed enabling with
|
|
||||||
> the following.
|
|
||||||
>
|
|
||||||
> | what | why |
|
|
||||||
> | ---- | --- |
|
|
||||||
> | `--feature-gates=RuntimeClass=true` | Kata needs to use the `RuntimeClass` Kubernetes feature |
|
|
||||||
|
|
||||||
The full command is therefore:
|
The full command is therefore:
|
||||||
|
|
||||||
@ -138,17 +132,9 @@ $ kubectl -n kube-system exec ${podname} -- ps -ef | fgrep infinity
|
|||||||
|
|
||||||
## Enabling Kata Containers
|
## Enabling Kata Containers
|
||||||
|
|
||||||
> **Note:** Only Minikube/Kubernetes versions <= 1.13 require this step. Since version
|
|
||||||
> v1.14, the `RuntimeClass` is enabled by default. Performing this step on Kubernetes > v1.14 is
|
|
||||||
> however benign.
|
|
||||||
|
|
||||||
Now you have installed the Kata Containers components in the Minikube node. Next, you need to configure
|
Now you have installed the Kata Containers components in the Minikube node. Next, you need to configure
|
||||||
Kubernetes `RuntimeClass` to know when to use Kata Containers to run a pod.
|
Kubernetes `RuntimeClass` to know when to use Kata Containers to run a pod.
|
||||||
|
|
||||||
```sh
|
|
||||||
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/node-api/master/manifests/runtimeclass_crd.yaml > runtimeclass_crd.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
### Register the runtime
|
### Register the runtime
|
||||||
|
|
||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user