https://rancher.com/ logo
Title
c

curved-grass-88767

08/05/2022, 9:52 PM
I have a demo next week and on my environment (2 Ubuntu VMs, 1 rund Rancher the other a single node cluster) I see that when the VM with the single node cluster reboots it fails to restart the K8s cluster. I see some of the containers come up in docker ps for a few seconds but then they die right away. Anyone got a pointer how to troubleshoot this?
p

polite-piano-74233

08/05/2022, 10:12 PM
ubuntu version?
if 22.04 do
sudo nano /etc/default/grub
edit the following line to match
GRUB_CMDLINE_LINUX="cgroup_memory=1 cgroup_enable=memory swapaccount=1 systemd.unified_cgroup_hierarchy=0"
then
sudo update-grub
sudo reboot
c

curved-grass-88767

08/05/2022, 10:44 PM
I got 20.04
Nevertheless the issue is resolved I had a conflicting Docker version installed using snap during installation of the VM, which clashed with the one I installed afterwards.
­čĹŹ 1