rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 403 forks source link

WSL 2 distribution. #511

Open kitepad opened 4 years ago

kitepad commented 4 years ago

WSL 2 is ready to use in win 10 now. It's better for developer develop and test k8s deployment on win 10.

dweomer commented 4 years ago

As I understand it WSL2 wants to have Windows own the PID 1 process. Projects such as https://github.com/arkane-systems/genie describe how to run systemd in a container. The k3os binary when run as PID 1 wants to hand-off to the embedded init system, openrc, and currently runs with assumptions that prevent it from running in a container. These issues are probably not insurmountable but WSL2 compatibility is currently low on the list of priorities.