Hacker News new | ask | show | jobs
by techntoke 2528 days ago
If only Minikube could support installing rootless Kubernetes directly in Podman containers on Linux. I love the concept of Podman, but without an easy installer for Kubernetes it seems mostly pointless for most use cases.
2 comments

I'm pretty sure (though it's been a while since I worked on it) that the usernetes project gives you all of the helpful scripts you need to get rootless Kubernetes running. I don't think you really need MiniKube to support it unless you have some specific requirement to use it.
I still haven't found an easy and reliable way to do this. Do you have some simple instructions, cause it looks way more complicated than it should be.
Does Kubernetes orchestrate Docker images into the Docker dameon as pods? aka does Kubernetes sit on top of Docker?
Sort of but it uses the Docker daemon in the Minikube VM currently, but Minikube currently supports a --vm-driver=none option to deploy Minikube Kubernetes without using a VM (which is currently not recommended due to security issues of sharing the Docker daemon). However, deploying Kubernetes in a container (or containers) would greatly speed up the deployment and make it a lot easier to manage than a VM.

Since Podman supports rootless containers it should mitigate this security risk. Really there needs to be an easy way to deploy Kubernetes to Podman on Linux. It would make things a lot easier overall and make Podman the ideal option for local Kubernetes on Linux.

I'm down to work on this. Do you want to team up and give it a shot?
Very kind of you to ask, but unfortunately I don't have time to work on this right now. Here are some resources to help get started though and maybe a community that can help:

https://github.com/kubernetes/minikube/blob/master/docs/vmdr...

https://rootlesscontaine.rs/

https://github.com/rootless-containers

https://github.com/containers/libpod/blob/master/rootless.md