init software_k0s

This commit is contained in:
2025-10-23 10:40:20 -04:00
parent d94cd01008
commit 5b474c7190

27
active/systemd_k0s/k0s.md Normal file
View File

@@ -0,0 +1,27 @@
# K0s
## Install
```bash
# Install k0s cli
curl -sSLf https://get.k0s.sh | sudo sh
# Setup the config
k0s config create > k0s.yaml
# Install controller/node
k0s install controller -c k0s.yaml --enable-worker
systemctl enable --now k0scontroller
# Make an admin user
mkdir ~/.kube
k0s kubeconfig create --groups "system:masters" admin > ~/.kube/config
```
## Uninstall
```bash
systemctl stop k0scontroller
k0s reset
reboot
```