installing k3 - getting the following error : System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
Hit this issue trying to get k3 working on a Windows Subsystem Linux.
wsl.conf
Ensure you have the following configuration in your /etc/wsl.conf
Add the following:
[boot]
systemd=true
From a powershell command prompt, you may need to do
wsl --update
wsl --shutdown
Then restart your wsl and run the k3 install script :-
curl -sfL https://get.k3s.io | sh -
And that should be it. Notice the following output from kubectl.
Comments