diff --git a/docs/how-to/how-to-setup-swap-devices-in-guest-kernel.md b/docs/how-to/how-to-setup-swap-devices-in-guest-kernel.md index 1ec90d760d..70bbbf6b3a 100644 --- a/docs/how-to/how-to-setup-swap-devices-in-guest-kernel.md +++ b/docs/how-to/how-to-setup-swap-devices-in-guest-kernel.md @@ -27,6 +27,8 @@ $ image="quay.io/prometheus/busybox:latest" $ cat << EOF > "${pod_yaml}" metadata: name: busybox-sandbox1 + uid: $(uuidgen) + namespace: default EOF $ cat << EOF > "${container_yaml}" metadata: diff --git a/docs/how-to/how-to-use-virtio-fs-nydus-with-kata.md b/docs/how-to/how-to-use-virtio-fs-nydus-with-kata.md index 9b04d49cf2..0ea8bf73f7 100644 --- a/docs/how-to/how-to-use-virtio-fs-nydus-with-kata.md +++ b/docs/how-to/how-to-use-virtio-fs-nydus-with-kata.md @@ -32,6 +32,7 @@ The `nydus-sandbox.yaml` looks like below: metadata: attempt: 1 name: nydus-sandbox + uid: nydus-uid namespace: default log_directory: /tmp linux: diff --git a/docs/how-to/how-to-use-virtio-mem-with-kata.md b/docs/how-to/how-to-use-virtio-mem-with-kata.md index 0c838927a9..40465bbe53 100644 --- a/docs/how-to/how-to-use-virtio-mem-with-kata.md +++ b/docs/how-to/how-to-use-virtio-mem-with-kata.md @@ -42,6 +42,8 @@ $ image="quay.io/prometheus/busybox:latest" $ cat << EOF > "${pod_yaml}" metadata: name: busybox-sandbox1 + uid: $(uuidgen) + namespace: default EOF $ cat << EOF > "${container_yaml}" metadata: