diff --git a/docs/gpu-k8s-role.md b/docs/gpu-k8s-role.md index af90ac0..c93ba0c 100644 --- a/docs/gpu-k8s-role.md +++ b/docs/gpu-k8s-role.md @@ -32,7 +32,7 @@ sealos run \ ``` If deploying with a non-root user the command also requires `--user` and `--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) +Add the role to your playbook along with the `ssh-trust` role which configures passwordless access from the ops host to the cluster nodes. The `gpu-k8s` role automatically pulls in the `common` role so you do not need to list it separately: along with the `fuse-overlayfs` binary to enable user namespaces. diff --git a/playbooks/demo_gpu_k8s.yml b/playbooks/demo_gpu_k8s.yml index 0868cb2..0cdcf10 100644 --- a/playbooks/demo_gpu_k8s.yml +++ b/playbooks/demo_gpu_k8s.yml @@ -12,4 +12,3 @@ roles: - roles/vhosts/ssh-trust/ - roles/vhosts/gpu-k8s/ - - roles/vhosts/common/ diff --git a/playbooks/roles/vhosts/gpu-k8s/meta/main.yml b/playbooks/roles/vhosts/gpu-k8s/meta/main.yml new file mode 100644 index 0000000..9711b33 --- /dev/null +++ b/playbooks/roles/vhosts/gpu-k8s/meta/main.yml @@ -0,0 +1,2 @@ +dependencies: + - role: common