Closed a1exus closed 4 years ago
Darwin... MacOSX... doesn't support, ref: https://github.com/rancher/k3s/issues/88
But you can run k3s in docker container (and docker-compose):
docker-compose up --scale node=3
I did solve this through multipass ubuntu Vm, successfully installed k3s, can't wait for mac support
Ran into this same issue on WSL 2 which is understandable since its not full blown Linux. Figured I'd note that here just so others don't ask.
As @Anishmourya said above, you can launch k3s on a Windows system in an Ubuntu VM. You can use Multipass from Ubuntu to make creating VMs easier.
Yes at this time we do not support running K3s MacOS. You can run K3s in docker or you can leverage K3d https://github.com/rancher/k3d
In the future (possibly near future) we may support WSL 2
I just ran into this issue on an Alpine VM:
node1] (local) root@192.168.0.48 ~
$ curl -sfL https://get.k3s.io | sh -
[ERROR] Can not find systemd or openrc to use as a process supervisor for k3s
[node1] (local) root@192.168.0.48 ~
$ cat /etc/*release
3.10.3
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.10.3
PRETTY_NAME="Alpine Linux v3.10"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
This is a default VM of labs.play-with-docker.com
Have you followed the instructions in the docs for getting k3s to work on alpine @hacker-h ? I'm guessing its impossible to do inside of play-with-docker since a reboot is required after editing cgroup settings.
https://rancher.com/docs/k3s/latest/en/advanced/#additional-preparation-for-alpine-linux-setup
Yes at this time we do not support running K3s MacOS. You can run K3s in docker or you can leverage K3d https://github.com/rancher/k3d
In the future (possibly near future) we may support WSL 2
It's July of 2021, where is this future? 😄
I was only able to get around this issue by using a virtual machine with Vagrant and Virtual Box on Windows.
Vagrant file:
ENV["TERM"]="linux"
Vagrant.configure("2") do |config|
# set the image for the vagrant box
config.vm.box = "opensuse/Leap-15.2.x86_64"
## Set the image version
# config.vm.box_version = "15.2.31.212"
# st the static IP for the vagrant box
config.vm.network "private_network", ip: "192.168.50.4"
# consifure the parameters for VirtualBox provider
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 4
vb.customize ["modifyvm", :id, "--ioapic", "on"]
end
end
In the same directory as your Vagrant file, run:
vagrant up
vagrant status
vagrant ssh
curl -sfL https://get.k3s.io | sh -
Otherwise, here are instructions on how to run k3s on Docker, using k3d:
It's June of 2024, where is this future?
Hello World!
I've tried to perform installation, yet ran into following issue:
Please advise.