Does Kubernetes works in OpenRC?

Hi

   I was little curious and I was searching if I can run Kubernetes in Alpine linux. It seems that latter back in 2018 there are some discussions in the git repository about implementing OpenRC support for Kuberntes. I’m not pretty sure if that’s possible now. So I want to know if that’s possible now, and if is recommended for production systems (It seems a pretty good idea for me to have a kubernetes setup in Alpine).

Have a nice day

I’ll admit I don’t know much of anything about OpenRC, but it does appear that you can use kubeadm to install Kubernetes on Alpine Linux. I’ve never tried it, but I’ve seen a web post of someone who’s done it successfully.

1 Like

Hi @rob_kodekloud

    I also see some post of people successfully installed Kubernetes in Alpine Linux, but I’m not sure if there are outdated or not. I was wondering if this is possible. Alpine Linux is very simple to install because uses scripts in the installation process. So having all the benefits of Alpine (Security, lightweigth system) applied to kubernetes seems to me a very good idea to implement in a production system. But I’m not sure if the Alpine + Kubernetes stack had been sucessfully tested for production uses.

Best Regards.

I’d say the first step is to try an install on Alpine with kubeadm and see if it looks plausible. As for whether Alpine has a “good reputation” as a host platform – I’d recommend getting on Kubernetes Slack and talking to the wise, well bearded men and women who maintain kubeadm or are on the #kuberenetes-users channel. I have no idea how common it is, but if you like Alpine as a platform and are good with it, it’s probably a reasonable choice.

1 Like

Thanks @rob_kodekloud. I will do that in the future with posting in the k8s repo.

Have a nice day.