Installation of K3s on debian Box :
Refer this link : https://docs.k3s.io/quick-start
Install using script : curl -sfL https://get.k3s.io | sh -
Star and confirm whether installation is successful :
sudo systemctl start k3s
sudo systemctl status k3s.service
Enable the k3s service :
sudo systemctl enable k3s
Error description and troubleshooting:
failed to find cpu cgroup (v2) :
Refer Links :
2. Enabling cgroup V2 :
Edit the grub configuration file :
sudo nano /etc/default/grup
Add the following line in GRUB_CMDLINE_LINUX :
systemd.unified_cgroup_hierarchy=1
Update grub and reboot the system :
sudo update-grub
reboot