How to run Kubernates on top of ssh enabled docker nodes?

3/9/2020

So I have 5 docker containers running (preconfigured) with ssh. “nodes” are in the same Network subnet and can ping each other. What would be the algorithm to setup kubernates or kind on top of such setup?

-- DuckQueen
docker
kubernetes
networking
setup-deployment

2 Answers

3/9/2020

There are many ways to install Kubernetes. Too many to cover here.
The Kubernetes Docs list some. You might also check out Kubernetes the Hard Way
RKE is also a pretty easy way to do it if you already have Docker on the nodes.

-- switchboard.op
Source: StackOverflow

3/9/2020

Kubernetes has a project called kind (Kubernetes IN Docker) for testing or building kubernetes in Docker containers. There's a quick start guide

Making a container react like a regular node/vm/host to kubernetes is a complex task, docker in docker is only the start of it. kind supplies the container half of the equation for you and does multi node setups

-- Matt
Source: StackOverflow