This is a bash script to help bootstrap a single node K3s server, mainly for dev site setup
Copy and run below. Please note towards end of the execution, you will need to provide SSH Key so you can connect to the server using user@serverIP. Root access will be disabled.
curl -sSL https://raw.githubusercontent.com/chassis-app/single-node-k8-bootstrap/refs/heads/main/01-UbuntuInit.sh -o 01-UbuntuInit.sh
chmod +x 01-UbuntuInit.sh
bash 01-UbuntuInit.sh
curl -s https://raw.githubusercontent.com/chassis-app/single-node-k8-bootstrap/refs/heads/main/02-InstallK3s.sh | sudo bash