<p>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?</p>

DuckQueen
<p>Kubernetes has a project called <a href="https://github.com/kubernetes-sigs/kind" rel="nofollow noreferrer"><code>kind</code></a> (Kubernetes IN Docker) for testing or building kubernetes in Docker containers. There's a <a href="https://kind.sigs.k8s.io/docs/user/quick-start/" rel="nofollow noreferrer">quick start guide</a></p>

<p>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 <a href="https://kind.sigs.k8s.io/docs/user/quick-start#multinode-clusters" rel="nofollow noreferrer">multi node</a> setups</p>
