Show HN: Localkube – zero to Kubernetes 1.2 in one command
github.com
github.com
Because of this I had to hunt for how to install kubectl. I found a snippet on one of Kelsey's guides
https://github.com/kelseyhightower/intro-to-kubernetes-works...
``` curl -O https://storage.googleapis.com/bin.kuar.io/darwin/kubectl chmod +x kubectl sudo cp kubectl /usr/local/bin/kubectl ```
It could be helpful to inline in the Localkube Readme.
I'm having some trouble with the example mattermost app, `spread build .` is stuck on "Waiting for load balancer deployment...".
I did a bit of debugging the docker logs / containers. One time it was stuck waiting for the database. The second time it got past that. The mattermost platform server is running on the container.
I'm looking at the `localkube` container logs for more hints. Even with this I can't believe I'm playing with and debugging with my first kube cluster in minutes.
Great tools!
The easiest way to install kubectl is actually to install gcloud first (https://cloud.google.com/sdk/#Quick_Start) and then install kubectl with `$ gcloud components update kubectl`
Thanks for bringing this up!
Mattermost, Postgres and Kubernetes set up in minutes. Great work.
It's the easiest way we've seen to set up a Kubernetes cluster and get started immediately.
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.
Mind elaborating on what you mean?
[0] https://github.com/kubernetes/kubernetes/tree/master/cluster...
[1] https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagr...
And vyshane's rename of this for 1.2 are compatible: https://github.com/vyshane/kid
I'm gonna work with him to get us merged.
"Every problem in computer science can be solved by adding one more layer of indirection — except for too many layers of indirection".
Additionally, kubernetes will soon be able to use both docker and rkt containers.
The low level platform is Kubernetes. This is a managed service on Google Cloud, or you can run the open source project on other substrates.
What you are seeing here from Redspread is a super easy way to run kube locally.
Redspread represents a growing suite of tools to make managing stuff on Kubernetes easy anywhere.
The best analogy I've seen for the pattern is "porcelain" and "plumbing", which I learned from Git.
We certainly need pipes and valves everywhere. But we really want a toilet and sink, simple specialized interfaces to the holes in the ground.
Kube is low level plumbing for managing raw compute and network resources.
Kube itself has some higher level tools. But it's great that Redspread is making some too. There are plenty of unique use cases and workflows we all want
It makes spread a really attractive way to start the Kubernetes journey.
As Mackenzie says, we do have very similar goals of making deployments easy. I think we're also seeing the problems in a very similar way.
Most devs and teams want to focus solely on writing, deploying and maintaining their business apps and services. There are a lot of technical details to sort out for any container orchestration system, so we're building great tools that make these low level challenges vanish.
Redspread wants to be the Kubernetes experts so you don't have to be. Same with Convox and AWS.