6 ms·
Play with Kubernetes Quickly Using Docker
- briandorsey 12y agoAlso, for fun: Which is faster? Setting up a @kubernetesio cluster vs. making a latte? Brendan Burns answers that question: https://youtu.be/7vZ9dRKRMyc https://youtu.be/7vZ9dRKRMyc
- zwischenzug 12y agoGoogle's response went way beyond my expectations here.
- otoburb 12y agoI didn't see anything in your blog post that refers to a response from Google. Could you elaborate on that? Thanks!
- zwischenzug 12y ago"I tried to follow Kubernetes’ Vagrant stand-up, but got frustrated with its slow pace and clunkiness, which I characterized uncharitably as ‘soviet’. Amazingly, a Twitter-whinge about this later and I got a message from the Kubernetes Lead Engineer saying they were ‘working on it’. " I'll try and make this clearer - thanks for the feedback!
- chuhnk 12y agoHad similar pain points 6 months ago. Went through vagrant, docker, ec2, gce, gke and found issues almost everywhere. That's just the way it goes in the early days. 6-12 months down the line this will all be really easy and seamless with hopefully a lot more people contributing to the kubernetes ecosystem.
- zwischenzug 12y agoGlad it wasn't just me... I did waste a lot of time 'researching' Kubernetes this way.
- brendandburns 12y agoI updated it over the weekend, it's down to 3 steps now: https://github.com/brendandburns/kubernetes/blob/hyperkube/docs/getting-started-guides/docker.md https://github.com/brendandburns/kubernetes/blob/hyperkube/d... And I think I can get it down to a one-liner. (also, can you update your blog to point to the hyperkube:v0.14.1 image instead of :dev, :dev is a random binary from my client, where as v0.14.1 is an official release... Thanks!)
- ossreality 12y agoOpenShift has an Openshift-in-a-box-container that includes Kubernetes.
- zwischenzug 12y agoDone! You caught me just before sleep.
- mdekkers 12y agoI have also tried kubernetes a few times, and got stuck everywhere. I was unable to find a "this is how you build a kubernetes system from scratch" document somewhere. All I managed to find where very specific howto's for specific system combinations, none of which fits my needs. I tried a few times with building systems on the documentation list, but ran into issues at each step. My biggest worry and issue with running kubernetes in production is the overall workflow of standing up an environment, which seems to be: 1. download some images/dockerfiles 2. [magic] 3. profit I cannot find a document anywhere that tells me what components are used, how they interact, what settings are required, etc. I'd love to be able to give kubernetes a try and see how it would work for our service, but am having a very hard time getting the right level of detail. It appears to be either "go the [magic] route", or "read all the code" with little in between. If I had some kind of pointer, I'd be happy to write something up about how to get it running for a prod setup...
- PopsiclePete 12y agoHadn't realized Kubernetes was written in Go. Cool.
- gizzlon 12y agoCool, looks like it's not that hard to try out Kubernetes :) Some of the Kubernetes terminology is explained more thoroughly here: https://www.digitalocean.com/community/tutorials/an-introduction-to-kubernetes https://www.digitalocean.com/community/tutorials/an-introduc... https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/walkthrough/README.md https://github.com/GoogleCloudPlatform/kubernetes/blob/maste...
- devashish86 12y agoI wanted to have a working cluster from scratch which meant not using saltstack and any of kubernetes helper scripts. So I wrote a bash script to do the same here : http://blog.shippable.com/multi-node-kubernetes-cluster http://blog.shippable.com/multi-node-kubernetes-cluster
- zwischenzug 12y agoThe first time I tried was in November. The Vagrant one is not hard, but the salt provisioning was taking forever, and it was using a lot of memory, which meant I had to shuffle around services on my server. Hence the 'soviet' comment, as the OpenShift one was a lot easier: https://zwischenzugs.wordpress.com/2015/04/01/play-with-an-openshift-paas-using-docker/ https://zwischenzugs.wordpress.com/2015/04/01/play-with-an-o...
- metral 12y agoIt's great to see more options out there for folks to start playing with Kubernetes. It can be a bit daunting initially, especially for newcomers. As an alternative, I started a project called "Corekube" (https://github.com/metral/corekube https://github.com/metral/corekube) that allows you to kick the tires on Kubernetes on top of CoreOS. Corekube is an OpenStack based Heat template that just requires an OpenStack provider to stand up a Kubernetes cluster in minutes - the cluster comes complete with a private Etcd discovery service, 1 K8s master, 3 K8s minions, and a logic coordinator/deployment operator aka "the Overlord" which interacts with Etcd, Fleet and K8s via their API's to set things up.
- zwischenzug 12y agoThat's good - the 'problem' with my one is that afaict there's no way to get more minions going. You should blog the steps getting that up.
- metral 12y agoCorekube's Heat template is structured to allow up to 12 minions to be used, you just have to change the parameter. I have a blog post on the Rackspace Dev Blog from when I initially released it, but it is a bit outdated - https://developer.rackspace.com/blog/running-coreos-and-kubernetes/ https://developer.rackspace.com/blog/running-coreos-and-kube... Most of the same information on the blog can be pulled from the README as far as I'm aware, but I'm happy to answer any further questions.