I have two questions regarding running Kubernetes on bare-metal say "Fedora"
1) Does Running Kubernetes always need Docker on bare-matel?
2) Can we run it using cri-o which provides a CRI compliant runtime for kubernetes on bare-matel?
3) What are the other OCI-compliant alternatives to Docker-Demon that Kubernetes can work with on bare-matel.
Historically, kubernetes only had support for docker as the
container runtime
.A second option was added (not sure which version) to use
rkt
as the runtime instead of docker.As of version 1.9,
OCI
(open container initiative
) runtimes support has been added in beta, allowing for a whole list of new container runtimes to be supported such as:So the answers are:
1) no, if you choose kubernetes > 1.9 you can choose from a variety of container runtimes
2) yes, kubernetes 1.9+ has cri-o support
3) see the list above
A more detailed explanation here: https://joejulian.name/post/kubernetes-container-engine-comparison/