Hacker News new | ask | show | jobs
by atemerev 3748 days ago
In 1.2 docs, isn't there a docker run command that deploys local Kubernetes cluster?
1 comments

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.