Re:Show HN: Localkube – zero to Kubernetes 1.2 in one command
by atemerev on Sunday March 20, 2016 @05:26PM
(#11324749)
In 1.2 docs, isn't there a docker run command that deploys local Kubernetes cluster?
[ Parent
| on HN ]
Re:Show HN: Localkube – zero to Kubernetes 1.2 in one command
by andrewstuart2 on Sunday March 20, 2016 @05:50PM
(#11324830)
Yeah, there's a container. I've not had great luck with it, though -- every time I'd get a kernel panic after a few minutes.
What I'm doing now, and what I recommend to others, is just running the hack/local-up-cluster.sh script, which gets you a local kubernetes cluster in a single command. It's intended for local development and will build & run a cluster.
Furthermore, you can run hack/build-go.sh and get the kubectl binary in _output/local/... pretty easily. Just symlink (or copy) it into your path, and it becomes pretty easy to grab the latest tag or even just HEAD, which is what I tend to play with.