mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 03:03:52 +00:00
Merge pull request #8093 from stevenhorsman/crictl-pod-config-update
doc: Update crictl pod-config
This commit is contained in:
@@ -27,6 +27,8 @@ $ image="quay.io/prometheus/busybox:latest"
|
|||||||
$ cat << EOF > "${pod_yaml}"
|
$ cat << EOF > "${pod_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
name: busybox-sandbox1
|
name: busybox-sandbox1
|
||||||
|
uid: $(uuidgen)
|
||||||
|
namespace: default
|
||||||
EOF
|
EOF
|
||||||
$ cat << EOF > "${container_yaml}"
|
$ cat << EOF > "${container_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
|
@@ -32,6 +32,7 @@ The `nydus-sandbox.yaml` looks like below:
|
|||||||
metadata:
|
metadata:
|
||||||
attempt: 1
|
attempt: 1
|
||||||
name: nydus-sandbox
|
name: nydus-sandbox
|
||||||
|
uid: nydus-uid
|
||||||
namespace: default
|
namespace: default
|
||||||
log_directory: /tmp
|
log_directory: /tmp
|
||||||
linux:
|
linux:
|
||||||
|
@@ -29,7 +29,7 @@ Then you can build and install the guest kernel image as shown [here](../../tool
|
|||||||
|
|
||||||
## Run a Kata Container utilizing `virtio-mem`
|
## Run a Kata Container utilizing `virtio-mem`
|
||||||
|
|
||||||
Use following command to enable memory overcommitment of a Linux kernel. Because QEMU `virtio-mem` device need to allocate a lot of memory.
|
Use following command to enable memory over-commitment of a Linux kernel. Because QEMU `virtio-mem` device need to allocate a lot of memory.
|
||||||
```
|
```
|
||||||
$ echo 1 | sudo tee /proc/sys/vm/overcommit_memory
|
$ echo 1 | sudo tee /proc/sys/vm/overcommit_memory
|
||||||
```
|
```
|
||||||
@@ -42,6 +42,8 @@ $ image="quay.io/prometheus/busybox:latest"
|
|||||||
$ cat << EOF > "${pod_yaml}"
|
$ cat << EOF > "${pod_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
name: busybox-sandbox1
|
name: busybox-sandbox1
|
||||||
|
uid: $(uuidgen)
|
||||||
|
namespace: default
|
||||||
EOF
|
EOF
|
||||||
$ cat << EOF > "${container_yaml}"
|
$ cat << EOF > "${container_yaml}"
|
||||||
metadata:
|
metadata:
|
||||||
|
Reference in New Issue
Block a user