Install fuse-overlayfs and document requirement

This commit is contained in:
shenlan 2025-06-26 11:13:26 +08:00
parent 15d0db0465
commit da36ace4e5
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,9 @@ sealos run \
--cmd "kubeadm init --skip-phases=addon/kube-proxy"
```
If deploying with a non-root user the command also requires `--user` and
`--pk` options pointing to the user's SSH key.
`--pk` options pointing to the user's SSH key. The host running Sealos must have
`newuidmap` and `newgidmap` installed (typically provided by the `uidmap`
package) along with the `fuse-overlayfs` binary to enable user namespaces.
After the cluster is running the role installs the NVIDIA device plugin and runs a test pod to ensure `nvidia-smi` works inside the cluster.

View File

@ -4,4 +4,4 @@ export DEBIAN_FRONTEND=noninteractive
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor > /usr/share/keyrings/hashicorp-archive-keyring.gpg
sudo echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" > /etc/apt/sources.list.d/hashicorp.list
sudo apt-get update
sudo apt-get install -y vault auditd
sudo apt-get install -y vault auditd uidmap fuse-overlayfs