5 ms·
Recently I was at a docker meetup and one speaker really embraced Docker for everything. So his only prequsite was an installed docker daemon. The setup script
by weitzj 10y ago
Recently I was at a docker meetup and one speaker really embraced Docker for everything. So his only prequsite was an installed docker daemon.
The setup scripts to turn a daemonized docker server into a cluster were all published as a docker image themselves.
So installation was mainly a docker run away whereas he used the shell evaluation of a subshell to start the actual docker run, e.g. $(docker run ...imagename) would print the actual docker command which will in turn contain volume mount options to the docker socket to help setting up the whole machine.
It was quite fascinating to watch this bootstrap method without relying on any package manager but solely a docker engine deployment.
So what I am saying this that this would be an interesting deployment approach for Kubernetes as well.
- gtirloni 10y agoSomething like this? https://coreos.com/blog/self-hosted-kubernetes.html https://coreos.com/blog/self-hosted-kubernetes.html
- weitzj 10y agoThank you
- moondev 10y agoYou can run all the k8s components inside containers with hyperkube
- colemickens 10y agoKubernetes-Anywhere indeed deploys Kubernetes and the only Kubernetes asset is the `hyperkube` container (and even that is just pulled automatically when the node comes up). Makes for fast/easy node provisioning.